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
|