used by: java.lang.NullPointerException
at org.geotools.data.shapefile.indexed.IndexedShapefileDataStore$Writer.write(IndexedShapefileDataStore.java:1752)
at org.geotools.data.shapefile.indexed.IndexedShapefileDataStore$Writer.close(IndexedShapefileDataStore.java:1559)
at org.geotools.data.InProcessLockingManager$1.close(InProcessLockingManager.java:343)
at ncsa.gis.datasets.factories.ShapefileDatasetFactory.addFeatures(ShapefileDatasetFactory.java:327)
at ncsa.gis.datasets.factories.ShapefileDatasetFactory.storeDataset(ShapefileDatasetFactory.java:255)
at ncsa.gis.datasets.factories.ShapefileDatasetFactory.ingestDataset(ShapefileDatasetFactory.java:156)
at ncsa.gis.datasets.factories.ShapefileDatasetFactory.ingestDataset(ShapefileDatasetFactory.java:110)
at ncsa.gis.repositories.LocalRepository.ingest(LocalRepository.java:345)
at ncsa.gis.postgis.PostGISRepository.cacheDataset(PostGISRepository.java:577)
at ncsa.gis.postgis.PostGISRepository.retrieveDataset(PostGISRepository.java:343)
From this line:
// if this is the first Geometry, find the shapeType and handler
if ( shapeType == null ) {
int dims = JTSUtilities.guessCoorinateDims( g.getCoordinates() ); (g is null)