Pawel Soczewski (
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=70121%3A8a6625d4-1601-466d-8ff8-d1c2eb38e7bb
) *created* an issue
GeoServer (
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiZTU1OGI3OTI1NzRjNDM2ODllYzA5OTNiOTU1YTM3MzUiLCJwIjoiaiJ9
) / Bug (
https://osgeo-org.atlassian.net/browse/GEOS-10619?atlOrigin=eyJpIjoiZTU1OGI3OTI1NzRjNDM2ODllYzA5OTNiOTU1YTM3MzUiLCJwIjoiaiJ9
) GEOS-10619 (
https://osgeo-org.atlassian.net/browse/GEOS-10619?atlOrigin=eyJpIjoiZTU1OGI3OTI1NzRjNDM2ODllYzA5OTNiOTU1YTM3MzUiLCJwIjoiaiJ9
) OGC API Feartures dosn't support GML and HTML templates (
https://osgeo-org.atlassian.net/browse/GEOS-10619?atlOrigin=eyJpIjoiZTU1OGI3OTI1NzRjNDM2ODllYzA5OTNiOTU1YTM3MzUiLCJwIjoiaiJ9
)
Issue Type: Bug Affects Versions: 2.20.5, 2.21.1 Assignee: Unassigned
Attachments: trackLog.txt Created: 12/Aug/22 8:05 AM Priority: High Reporter:
Pawel Soczewski (
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=70121%3A8a6625d4-1601-466d-8ff8-d1c2eb38e7bb
)
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
(
https://osgeo-org.atlassian.net/browse/GEOS-10619#add-comment?atlOrigin=eyJpIjoiZTU1OGI3OTI1NzRjNDM2ODllYzA5OTNiOTU1YTM3MzUiLCJwIjoiaiJ9
) Add Comment (
https://osgeo-org.atlassian.net/browse/GEOS-10619#add-comment?atlOrigin=eyJpIjoiZTU1OGI3OTI1NzRjNDM2ODllYzA5OTNiOTU1YTM3MzUiLCJwIjoiaiJ9
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100204-
sha1:2343019 )
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel