[Geoserver-devel] [JIRA] (GEOS-10797) OGCAPI makes WFS 1.0.0 unusable

Stijn Goedertier created an issue

GeoServer / BugGEOS-10797

OGCAPI makes WFS 1.0.0 unusable

Issue Type:

BugBug

Affects Versions:

2.21.2

Assignee:

Unassigned

Created:

16/Dec/22 2:40 PM

Priority:

MediumMedium

Reporter:

Stijn Goedertier

It seems that the OGC API extension interferes with the WFS 1.0.0 API.

When making a request to this endpoint ows?service=wfs&version=1.0.0&request=GetCapabilities

the follwowing exception is thrown

at org.geoserver.ogcapi.images.STACItemFeaturesResponse.getCapabilitiesElementName(STACItemFeaturesResponse.java:285)

java.io.IOException
at org.geoserver.wfs.response.GetCapabilitiesResponse.write(GetCapabilitiesResponse.java:58)
at org.geoserver.config.CapabilitiesCacheHeadersCallback$RevalidateTagResponse.write(CapabilitiesCacheHeadersCallback.java:138)
at org.geoserver.ows.Dispatcher.response(Dispatcher.java:1018)
at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:272)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:177)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:52)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1043)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943)
...
Caused by: javax.xml.transform.TransformerException: Translator error
at org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:123)
at org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:101)
at org.geoserver.wfs.response.GetCapabilitiesResponse.write(GetCapabilitiesResponse.java:56)
... 108 more
Caused by: java.lang.UnsupportedOperationException
at org.geoserver.ogcapi.images.STACItemFeaturesResponse.getCapabilitiesElementName(STACItemFeaturesResponse.java:285)
at org.geoserver.wfs.WFSGetFeatureOutputFormat.getCapabilitiesElementNames(WFSGetFeatureOutputFormat.java:144)
at org.geoserver.wfs.CapabilitiesTransformer$WFS1_0$CapabilitiesTranslator1_0.handleGetFeature(CapabilitiesTransformer.java:598)
at org.geoserver.wfs.CapabilitiesTransformer$WFS1_0$CapabilitiesTranslator1_0.handleCapability(CapabilitiesTransformer.java:507)
at org.geoserver.wfs.CapabilitiesTransformer$WFS1_0$CapabilitiesTranslator1_0.encode(CapabilitiesTransformer.java:414)
at org.geotools.xml.transform.TransformerBase$XMLReaderSupport.parse(TransformerBase.java:1044)
at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485)
at org.geotools.xml.transform.TransformerBase$Task.run(TransformerBase.java:285)
at org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:119)
... 110 more

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#100212-sha1:e2fc486)

Atlassian logo