[Geoserver-devel] [JIRA] (GEOS-10619) OGC API Feartures dosn't support GML and HTML templates

Pawel Soczewski created an issue

GeoServer / BugGEOS-10619

OGC API Feartures dosn’t support GML and HTML templates

Issue Type:

BugBug

Affects Versions:

2.20.5, 2.21.1

Assignee:

Unassigned

Attachments:

trackLog.txt

Created:

12/Aug/22 8:05 AM

Priority:

HighHigh

Reporter:

Pawel Soczewski

Community modules the OGC API and features templating dedicated for Geoserver v2.21.x and v2.20.x don't support custom GML and HTML
user templates. After choosing HTML and GML encoding the server the
server responds with an error:

{"type":"NoApplicableCode","title":"java.lang.NoSuchMethodError:
org.codehaus.stax2.ri.SingletonIterator.create(Ljava/lang/Object;)Lorg/codehaus/stax2/ri/SingletonIterator;\norg.codehaus.stax2.ri.SingletonIterator.create(Ljava/lang/Object;)Lorg/codehaus/stax2/ri/SingletonIterator;"}

However custom templates for GeoJSON and JSON-LD work fine. When I don't use custom GML and HTML temaplates and Geoserver uses
predefined formating, the service works fine as well.

In atached the full stack trace, from the logs of v. 2.21.x

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#100204-sha1:2343019)

Atlassian logo