java.lang.IllegalStateException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GeoServer / Mailing Lists
    via by Unknown author,
  • GeoServer / Mailing Lists
    via by Unknown author,
  • GitHub comment 22#283192410
    via GitHub by nmco
    ,
  • Rafał Nowak
    via by Unknown author,
    • java.lang.IllegalStateException: No thread-bound request found: Are you referring to request attributes outside of an actual web request, or processing a request outside of the originally receiving thread? If you are actually operating within a web request and still receive this message, your code is probably running outside of DispatcherServlet/DispatcherPortlet: In this case, use RequestContextListener or RequestContextFilter to expose the current request. at org.springframework.web.context.request.RequestContextHolder.currentRequestAttributes(RequestContextHolder.java:131) at org.geoserver.geofence.GeofenceAccessManager.retrieveCallerIpAddress(GeofenceAccessManager.java:214) at org.geoserver.geofence.GeofenceAccessManager.getAccessLimits(GeofenceAccessManager.java:328) at org.geoserver.security.ResourceAccessManagerWrapper.getAccessLimits(ResourceAccessManagerWrapper.java:210) at org.geoserver.security.CatalogFilterAccessManager.getAccessLimits(CatalogFilterAccessManager.java:64) at org.geoserver.security.SecureCatalogImpl.buildWrapperPolicy(SecureCatalogImpl.java:815) at org.geoserver.security.SecureCatalogImpl.buildWrapperPolicy(SecureCatalogImpl.java:775) at org.geoserver.security.SecureCatalogImpl.checkAccess(SecureCatalogImpl.java:501) at org.geoserver.security.SecureCatalogImpl.getResourceByName(SecureCatalogImpl.java:372) at org.geoserver.catalog.impl.AbstractFilteredCatalog.getResourceByName(AbstractFilteredCatalog.java:295) at org.geoserver.catalog.impl.AbstractCatalogDecorator.getResourceByName(AbstractCatalogDecorator.java:238) at org.geoserver.importer.Importer.doIndirectImport(Importer.java:971) at org.geoserver.importer.Importer.run(Importer.java:817) at org.geoserver.importer.Importer.run(Importer.java:767) at org.geoserver.importer.Importer$5.call(Importer.java:850) at org.geoserver.importer.Importer$5.call(Importer.java:844) at org.geoserver.importer.job.Job.call(Job.java:16) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    17 more bugmates