Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.11 KB | None | 0 0
  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.
  2. at org.springframework.web.context.request.RequestContextHolder.currentRequestAttributes(RequestContextHolder.java:131) ~[spring-web-4.3.13.RELEASE.jar:4.3.13.RELEASE]
  3. at org.springframework.web.context.support.WebApplicationContextUtils.currentRequestAttributes(WebApplicationContextUtils.java:309) ~[spring-web-4.3.13.RELEASE.jar:4.3.13.RELEASE]
  4. at org.springframework.web.context.support.WebApplicationContextUtils.access$400(WebApplicationContextUtils.java:64) ~[spring-web-4.3.13.RELEASE.jar:4.3.13.RELEASE]
  5. at org.springframework.web.context.support.WebApplicationContextUtils$RequestObjectFactory.getObject(WebApplicationContextUtils.java:325) ~[spring-web-4.3.13.RELEASE.jar:4.3.13.RELEASE]
  6. at org.springframework.web.context.support.WebApplicationContextUtils$RequestObjectFactory.getObject(WebApplicationContextUtils.java:320) ~[spring-web-4.3.13.RELEASE.jar:4.3.13.RELEASE]
  7. at org.springframework.beans.factory.support.AutowireUtils$ObjectFactoryDelegatingInvocationHandler.invoke(AutowireUtils.java:307) ~[spring-beans-4.3.13.RELEASE.jar:4.3.13.RELEASE]
  8. at com.sun.proxy.$Proxy199.getAttribute(Unknown Source) ~[na:na]
  9. at com.flprint.easyflyer.pim.v4.common.service.impl.PimServiceImpl.getUserId(PimServiceImpl.java:30) ~[classes/:na]
  10. at com.flprint.easyflyer.pim.v4.mcpkeys.service.impl.McpKeysServiceImpl.saveAll(McpKeysServiceImpl.java:123) ~[classes/:na]
  11. at com.flprint.easyflyer.pim.v4.mcpkeys.service.impl.McpKeysServiceImpl.generateKeysOnProductSave(McpKeysServiceImpl.java:183) ~[classes/:na]
  12. at com.flprint.easyflyer.pim.v4.product.service.impl.ProductServiceImpl.generateMcpKeys(ProductServiceImpl.java:461) [classes/:na]
  13. at com.flprint.easyflyer.pim.v4.product.service.impl.ProductServiceImpl.lambda$saveAll$6(ProductServiceImpl.java:454) [classes/:na]
  14. at java.util.ArrayList.forEach(ArrayList.java:1257) ~[na:1.8.0_162]
  15. at com.flprint.easyflyer.pim.v4.product.service.impl.ProductServiceImpl.saveAll(ProductServiceImpl.java:454) [classes/:na]
  16. at com.flprint.easyflyer.pim.v4.product.service.impl.ProductServiceImpl.generateMcpKeys(ProductServiceImpl.java:378) [classes/:na]
  17. at com.flprint.easyflyer.pim.SchedulerConfiguration.generateMcpKeys(SchedulerConfiguration.java:41) ~[classes/:na]
  18. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_162]
  19. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_162]
  20. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_162]
  21. at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_162]
  22. at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:65) ~[spring-context-4.3.13.RELEASE.jar:4.3.13.RELEASE]
  23. at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) ~[spring-context-4.3.13.RELEASE.jar:4.3.13.RELEASE]
  24. at java.util.concurrent.Executors$RunnableAdapter.call$$$capture(Executors.java:511) ~[na:1.8.0_162]
  25. at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java) ~[na:1.8.0_162]
  26. at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) ~[na:1.8.0_162]
  27. at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) ~[na:1.8.0_162]
  28. at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) ~[na:1.8.0_162]
  29. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_162]
  30. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_162]
  31. at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_162]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement