[Geoserver-devel] [jira] Created: (GEOS-1020) Geoserver blows up looking for default geometry, even if data has no geometry.

Geoserver blows up looking for default geometry, even if data has no geometry.
------------------------------------------------------------------------------

                 Key: GEOS-1020
                 URL: http://jira.codehaus.org/browse/GEOS-1020
             Project: GeoServer
          Issue Type: Bug
          Components: WFS
    Affects Versions: 1.5.0-RC4
         Environment: Created a datastroe using "geometryless" JDBCDataStore.
            Reporter: Rob Atkinson
         Assigned To: Andrea Aime
             Fix For: 1.5.0

GetFeature, with no spatial operators, blows up for no good reason if the feature type has no default geomtery.

Caused by: java.io.IOException: Feature type: topp:measuringdevice does not have a default geometry
  at org.vfny.geoserver.global.FeatureTypeInfo.getNativeCRS(FeatureTypeInfo.java:656)
  at org.geoserver.wfs.GetFeature.run(GetFeature.java:244)

finding CRS and calculating bounding boxes should be skipped for feature types without geometry.

(geometryless works on gt trunk - and can be configured easily using the GUI now. Defaults work with a local postgres install.)

--
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