[Geoserver-devel] [JIRA] (GEOS-9649) NullPointerException for geoJSON output format with ComplexFeatures if some feature misses geometry value

Marco Volpini created an issue

GeoServer / New FeatureGEOS-9649

NullPointerException for geoJSON output format with ComplexFeatures if some feature misses geometry value

Issue Type:

New FeatureNew Feature

Assignee:

Unassigned

Created:

16/Jun/20 1:05 PM

Priority:

MediumMedium

Reporter:

Marco Volpini

When requesting geoJSON format for ComplexFeatures, if some feature doesn’t have a geometry attribute geoserver throws null pointer exception. Null check should be added here https://github.com/geoserver/geoserver/blob/b76bba7178d3505cd45e318e659c3b32faee4b5e/src/wfs/src/main/java/org/geoserver/wfs/json/ComplexGeoJsonWriter.java#L179

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100128-sha1:2f2218b)

Atlassian logo