Uploaded image for project: 'MAEviz'
  1. MAEviz
  2. MAE-806

Can't cache bridge data from PostGIS because it doesn't have a geometry

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • 3.0
    • 2.4.2
    • Data
    • None

      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)

              jonglee Jong Lee
              shawn Shawn Hampton
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: