GeoTools
  1. GeoTools
  2. GEOT-2561

ShapefileDataStore throws exception when storing a null geometry

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.6
    • Fix Version/s: 2.5.7
    • Component/s: shapefile plugin
    • Labels:
      None

      Description

      The shapefile datastore fails with an NPE when trying to store a null geometry. the shapefile format specification actually allows null geometries to be stored, and this is properly handled read wise, but not write wise.

        Issue Links

          Activity

          Hide
          Andrea Aime added a comment -
          Fixed on 2.5.x and trunk
          Show
          Andrea Aime added a comment - Fixed on 2.5.x and trunk
          Hide
          Andrea Aime added a comment -
          The problem still arises if the null geometry is the first one
          Show
          Andrea Aime added a comment - The problem still arises if the null geometry is the first one
          Hide
          Andrea Aime added a comment -
          Hopefully fixed for good on both 2.5.x and trunk
          Show
          Andrea Aime added a comment - Hopefully fixed for good on both 2.5.x and trunk

            People

            • Assignee:
              Andrea Aime
              Reporter:
              Andrea Aime
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: