Error in geoserver 2.16.0: "org.geotools.data.DataSourceException: An exception occurred while parsing WKB data"

Description

A layer group that renders correctly in geoserver 2.15.1 generates error in geoserver 2.16.0

_ "org.geotools.data.DataSourceException: An exception occurred while parsing WKB data"_

 

20 Sep 12:54:28 ERROR [renderer.lite] - org.geotools.data.DataSourceException: An exception occurred while parsing WKB data
java.lang.RuntimeException: org.geotools.data.DataSourceException: An exception occurred while parsing WKB data
at org.geotools.jdbc.JDBCFeatureReader.readNextFeature(JDBCFeatureReader.java:367)
at org.geotools.jdbc.JDBCFeatureReader.hasNext(JDBCFeatureReader.java:310)
at org.geotools.data.store.ContentFeatureCollection$WrappingFeatureIterator.hasNext(ContentFeatureCollection.java:138)
at org.geotools.renderer.lite.StreamingRenderer.drawPlain(StreamingRenderer.java:2616)
at org.geotools.renderer.lite.StreamingRenderer.processStylers(StreamingRenderer.java:2189)
at org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:890)
at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:594)

 

 

Caused by: org.locationtech.jts.io.ParseException: Unknown WKB type 238
at org.geotools.data.postgis.WKBReader.readGeometry(WKBReader.java:251)
at org.geotools.data.postgis.WKBReader.readGeometry(WKBReader.java:209)
at org.geotools.data.postgis.WKBReader.read(WKBReader.java:175)
at org.geotools.data.postgis.WKBAttributeIO.wkb2Geometry(WKBAttributeIO.java:85)

 

Looks like the problem is after this:

 

 

Looking to the table definition I found this:

 

 

Could be the cause of the problem the MultiPolygonZ geometry type?

Environment

Linux Centos 7.6 / Windows 8
Java 11 OpenJDK
Tomcat 9.0.26
Geoserver 2.16.0
Postgresql 11.2
POSTGIS 2.5.2
Database connections using JNDI

Assignee

Unassigned

Reporter

Juan Carlos Méndez

Triage

Components

Affects versions

Priority

Medium
Configure