GeoServer

NPE thrown when configuring a shapefile with no .prj information

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.6.0-RC2
  • Fix Version/s: 1.6.5, 1.7.0-beta1
  • Component/s: Configuration
  • Labels:
    None
  • Number of attachments :
    0

Description

When trying to configure a shapefile with no .prj file attache the following exception occurs:

2008-01-08 16:26:17.140::WARN: /geoserver/config/data/storeSubmit.do
java.lang.NullPointerException
at org.geotools.referencing.CRS.lookupIdentifier(CRS.java:808)
at org.geotools.referencing.CRS.lookupEpsgCode(CRS.java:833)
at org.vfny.geoserver.config.FeatureTypeConfig.lookupSRS(FeatureTypeConfig.java:253)
at org.vfny.geoserver.config.FeatureTypeConfig.<init>(FeatureTypeConfig.java:203)
at org.vfny.geoserver.action.data.DataDataStoresEditorAction.execute(DataDataStoresEditorAction.java:197)
at org.vfny.geoserver.action.ConfigAction.execute(ConfigAction.java:101)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)

Activity

Hide
Andrea Aime added a comment -

Just configured one yesterday, this one has been fixed some time ago I believe.

Show
Andrea Aime added a comment - Just configured one yesterday, this one has been fixed some time ago I believe.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: