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.

sourceforge.net | 3 months ago
  1. 0

    GeoServer / Mailing Lists

    sourceforge.net | 11 months ago
    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.
  2. 0

    GeoServer - User - Geoserver 2.7.3 Data Import Error

    nabble.com | 11 months ago
    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.
  3. 0

    GeoServer / Mailing Lists

    sourceforge.net | 3 months ago
    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.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    spring security session throws an error when instantiated

    Stack Overflow | 3 years ago | user1915913
    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.
  6. 0

    Grails schema-export produces "No thread-bound request found" error

    Stack Overflow | 4 years ago | stickfigure
    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.

    5 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. Spring
      RequestContextHolder.currentRequestAttributes
      1. org.springframework.web.context.request.RequestContextHolder.currentRequestAttributes(RequestContextHolder.java:131)
      1 frame
    3. org.geoserver.geofence
      GeofenceAccessManager.getAccessLimits
      1. org.geoserver.geofence.GeofenceAccessManager.retrieveCallerIpAddress(GeofenceAccessManager.java:214)
      2. org.geoserver.geofence.GeofenceAccessManager.getAccessLimits(GeofenceAccessManager.java:328)
      2 frames
    4. Main Module
      AbstractCatalogDecorator.getResourceByName
      1. org.geoserver.security.ResourceAccessManagerWrapper.getAccessLimits(ResourceAccessManagerWrapper.java:210)
      2. org.geoserver.security.CatalogFilterAccessManager.getAccessLimits(CatalogFilterAccessManager.java:64)
      3. org.geoserver.security.SecureCatalogImpl.buildWrapperPolicy(SecureCatalogImpl.java:815)
      4. org.geoserver.security.SecureCatalogImpl.buildWrapperPolicy(SecureCatalogImpl.java:775)
      5. org.geoserver.security.SecureCatalogImpl.checkAccess(SecureCatalogImpl.java:501)
      6. org.geoserver.security.SecureCatalogImpl.getResourceByName(SecureCatalogImpl.java:372)
      7. org.geoserver.catalog.impl.AbstractFilteredCatalog.getResourceByName(AbstractFilteredCatalog.java:295)
      8. org.geoserver.catalog.impl.AbstractCatalogDecorator.getResourceByName(AbstractCatalogDecorator.java:238)
      8 frames
    5. org.geoserver.importer
      Job.call
      1. org.geoserver.importer.Importer.doIndirectImport(Importer.java:971)
      2. org.geoserver.importer.Importer.run(Importer.java:817)
      3. org.geoserver.importer.Importer.run(Importer.java:767)
      4. org.geoserver.importer.Importer$5.call(Importer.java:850)
      5. org.geoserver.importer.Importer$5.call(Importer.java:844)
      6. org.geoserver.importer.job.Job.call(Job.java:16)
      6 frames
    6. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      4. java.lang.Thread.run(Thread.java:745)
      4 frames