GeoJSON encoder fails when a Borehole has a nested LogElement with a null geometry

Description

GeoJSON encoder is failing to encode the geometry because it is NULL:
https://github.com/geoserver/geoserver/blob/ac6348915d556a49c1fcf24494bab68b0b250f0f/src/wfs/src/main/java/org/geoserver/wfs/json/ComplexGeoJsonWriter.java#L174-L176

Complex GeoSciML 4.1 borehole service thows a nullPointerExeption for any boreholes that have a null or unmapped BoreholeInterval 1D shape property for GeoJSON outputs only.

https://sourceforge.net/p/geoserver/mailman/message/36896694/

Environment

None

Assignee

Unassigned

Reporter

Ursula Michael

Triage

None

Fix versions

Affects versions

Components

Priority

Medium
Configure