This is a regression, the old code used to skip features with empty geometries, in a large refactor around 2.9.x this check disappeared, and it’s now causing:
java.lang.NullPointerException
at
org.geotools.data.shapefile.ShapefileDumper.getGeometryType(ShapefileDumper.java:380)
at
org.geotools.data.shapefile.ShapefileDumper.getStoreWriter(ShapefileDumper.java:399)
at
org.geotools.data.shapefile.ShapefileDumper.dump(ShapefileDumper.java:224)
at
org.geoserver.wfs.response.ShapeZipOutputFormat.write(ShapeZipOutputFormat.java:225)
at
org.geoserver.wfs.response.ShapeZipOutputFormat.write(ShapeZipOutputFormat.java:181)
at
org.geoserver.wfs.WFSGetFeatureOutputFormat.write(WFSGetFeatureOutputFormat.java:196)
at org.geoserver.ows.Dispatcher.response(Dispatcher.java:1008)
at
org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:272)
at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:147)
|