NPE when configuring a feature type that's not registered in geometry_columns
-----------------------------------------------------------------------------
Key: GEOT-1469
URL: http://jira.codehaus.org/browse/GEOT-1469
Project: GeoTools
Issue Type: Bug
Components: data postgis
Affects Versions: 2.4-RC0
Reporter: Andrea Aime
Assignee: Andrea Aime
Fix For: 2.4-RC1
The following exception occurrs:
at
org.geotools.data.postgis.PostgisDataStore.getGeometryAttributeIO(PostgisDataStore.java:1807)
at
org.geotools.data.postgis.PostgisDataStore.getGeometryAttribute(PostgisDataStore.java:1090)
at
org.geotools.data.postgis.PostgisDataStore.buildAttributeType(PostgisDataStore.java:986)
at
org.geotools.data.jdbc.JDBC1DataStore.buildSchema(JDBC1DataStore.java:1185)
at
org.geotools.data.postgis.PostgisDataStore.buildSchema(PostgisDataStore.java:663)
at
org.geotools.data.jdbc.FeatureTypeHandler.getFeatureTypeInfo(FeatureTypeHandler.java:197)
at
org.geotools.data.jdbc.FeatureTypeHandler.getSchema(FeatureTypeHandler.java:165)
at
org.geotools.data.jdbc.JDBC1DataStore.getSchema(JDBC1DataStore.java:320)
at
org.geotools.data.postgis.PostgisDataStore.getSchema(PostgisDataStore.java:1929)
at
org.vfny.geoserver.action.data.DataFeatureTypesNewAction.execute(DataFeatureTypesNewAction.java:83)
at org.vfny.geoserver.action.ConfigAction.execute(ConfigAction.java:101)
this is because the feature type creation code tryies to get a geometry
attirbute io passing null QueryData object (and now querydata is used in order
to grab hints)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel