Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by bilak
, 1 year ago
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
via GitHub by miguelfgar
, 2 years ago
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
via Stack Overflow by miguelfgar
, 2 years ago
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
via Stack Overflow by geneqew
, 2 years ago
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
via Stack Overflow by Brijan Elwadhi
, 2 years ago
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
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)[spring-web-4.3.2.RELEASE.jar:4.3.2.RELEASE] at org.springframework.web.context.request.AbstractRequestAttributesScope.get(AbstractRequestAttributesScope.java:41)[spring-web-4.3.2.RELEASE.jar:4.3.2.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:340)[spring-beans-4.3.2.RELEASE.jar:4.3.2.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)[spring-beans-4.3.2.RELEASE.jar:4.3.2.RELEASE] at org.springframework.aop.target.SimpleBeanTargetSource.getTarget(SimpleBeanTargetSource.java:35)[spring-aop-4.3.2.RELEASE.jar:4.3.2.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:192)[spring-aop-4.3.2.RELEASE.jar:4.3.2.RELEASE] at com.sun.proxy.$Proxy106.getAccessToken(Unknown Source)[na:na] at org.springframework.cloud.security.oauth2.client.feign.OAuth2FeignRequestInterceptor.getToken(OAuth2FeignRequestInterceptor.java:124)[spring-cloud-security-1.1.2.RELEASE.jar:1.1.2.RELEASE] at org.springframework.cloud.security.oauth2.client.feign.OAuth2FeignRequestInterceptor.extract(OAuth2FeignRequestInterceptor.java:112)[spring-cloud-security-1.1.2.RELEASE.jar:1.1.2.RELEASE] at org.springframework.cloud.security.oauth2.client.feign.OAuth2FeignRequestInterceptor.apply(OAuth2FeignRequestInterceptor.java:100)[spring-cloud-security-1.1.2.RELEASE.jar:1.1.2.RELEASE] at feign.SynchronousMethodHandler.targetRequest(SynchronousMethodHandler.java:154)[feign-core-8.16.2.jar:8.16.2] at feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:88)[feign-core-8.16.2.jar:8.16.2] at feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:76)[feign-core-8.16.2.jar:8.16.2] at feign.ReflectiveFeign$FeignInvocationHandler.invoke(ReflectiveFeign.java:103)[feign-core-8.16.2.jar:8.16.2] at com.sun.proxy.$Proxy107.getDefinedEntries(Unknown Source)[na:na] at com.github.bilak.poc.hystrix_oauth2_feign.api.rest.SampleController$SampleServiceClientCaller.call(SampleController.java:69)[classes/:na] at com.github.bilak.poc.hystrix_oauth2_feign.api.rest.SampleController$SampleServiceClientCaller.call(SampleController.java:58)[classes/:na] at org.springframework.security.concurrent.DelegatingSecurityContextCallable.call(DelegatingSecurityContextCallable.java:86)[spring-security-core-4.1.1.RELEASE.jar:4.1.1.RELEASE] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_77] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_77]