Jody Garnett (
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae422bb7f-4808-47e3-837f-13db0e6681e3
) *created* an issue
GeoServer (
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiMmM5MTIzYmJkMzRmNGRiNTgxNDE2YTA0NDllMTAzNGIiLCJwIjoiaiJ9
) / Bug (
https://osgeo-org.atlassian.net/browse/GEOS-10523?atlOrigin=eyJpIjoiMmM5MTIzYmJkMzRmNGRiNTgxNDE2YTA0NDllMTAzNGIiLCJwIjoiaiJ9
) GEOS-10523 (
https://osgeo-org.atlassian.net/browse/GEOS-10523?atlOrigin=eyJpIjoiMmM5MTIzYmJkMzRmNGRiNTgxNDE2YTA0NDllMTAzNGIiLCJwIjoiaiJ9
) APIConfigurationSupport InvocableHandlerMethod called with null request (
https://osgeo-org.atlassian.net/browse/GEOS-10523?atlOrigin=eyJpIjoiMmM5MTIzYmJkMzRmNGRiNTgxNDE2YTA0NDllMTAzNGIiLCJwIjoiaiJ9
)
Issue Type: Bug Affects Versions: 2.21.0 Assignee: Unassigned Attachments:
null_request.txt Components: Community modules, REST Created: 01/Jun/22 10:12
PM Environment:
Temurin: 1.8.0_332 (OpenJDK 64-Bit Server VM)
Ubuntu 20.04.4 LTS
Priority: Medium Reporter: Jody Garnett (
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae422bb7f-4808-47e3-837f-13db0e6681e3
)
I am troubleshooting the following failure when accessing the geoserver/rest
controller.
01 047 19:47:54 ERROR [geoserver.rest] - null
java.lang.NullPointerException
at
org.geoserver.ogcapi.APIConfigurationSupport$APIInvocableHandlerMethod.doInvoke(APIConfigurationSupport.java:57)
at
org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)
The OGC API implementation APIInvocableHandlerMethod is trying to process a
null request obtained from from Request request = Dispatcher.REQUEST.get().
The stack trace shows the following:
* org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
* org.apache.catalina.filters.CorsFilter.handleNonCORS(CorsFilter.java:368)
* org.apache.catalina.filters.CorsFilter.doFilter(CorsFilter.java:174)
*
org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28)
* org.geoserver.ows.HTTPHeadersCollector.doFilter(HTTPHeadersCollector.java:48)
*
org.geoserver.flow.controller.IpBlacklistFilter.doFilter(IpBlacklistFilter.java:89)
* org.geoserver.flow.ControlFlowCallback.doFilter(ControlFlowCallback.java:264)
I expect {{ ThreadLocalsCleanupFilter }} has already already cleaned up the
Dispatcher.REQUEST.
As this exception does not have a message trouble shooting this issue is
hindered by https://osgeo-org.atlassian.net/browse/GEOS-10522.
(
https://osgeo-org.atlassian.net/browse/GEOS-10523#add-comment?atlOrigin=eyJpIjoiMmM5MTIzYmJkMzRmNGRiNTgxNDE2YTA0NDllMTAzNGIiLCJwIjoiaiJ9
) Add Comment (
https://osgeo-org.atlassian.net/browse/GEOS-10523#add-comment?atlOrigin=eyJpIjoiMmM5MTIzYmJkMzRmNGRiNTgxNDE2YTA0NDllMTAzNGIiLCJwIjoiaiJ9
)
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#100199-
sha1:4212c97 )
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel