[Geoserver-devel] [JIRA] (GEOS-9399) Oracle SQL View with NULL SRID breaks Bounds calculations on BasicResourceConfig

Imran Rajjad created an issue

GeoServer / BugGEOS-9399

Oracle SQL View with NULL SRID breaks Bounds calculations on BasicResourceConfig

Issue Type:

BugBug

Affects Versions:

2.17-RC

Assignee:

Imran Rajjad

Components:

UI

Created:

12/Nov/19 10:06 AM

Fix Versions:

2.16.1

Priority:

MediumMedium

Reporter:

Imran Rajjad

When creating an SQL View without SRS, the BasicResourceConfig page still tries to guess the Native SRS, resulting in strange behavior and throwing error

Error getting actual Native SRS code for resource ADRESSER: java.lang.NullPointerException

Steps to Re-produce

-Run Geoserver with Oracle Datastore enabled

-Create Oracle table with SDO Geometry, Metadata entry and index following example Oracle SDO Geometry Example

-Create an SQL View using SQL (select * from COLA_MARKETS)
-Don’t set the SRID and submit the view

-Verify log error Error getting actual Native SRS code for resource ADRESSER: java.lang.NullPointerException`

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100114-sha1:9fc4561)

Atlassian logo