Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2020-11-24_16:34:46.898 [pool-8-thread-1] ERROR c.s.c.service.frgu.FrguSyncService [000-000-000 53] - Synchronization error
- 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-3.1.3.RELEASE.jar:3.1.3.RELEASE]
- at org.springframework.web.context.support.WebApplicationContextUtils.currentRequestAttributes(WebApplicationContextUtils.java:271) ~[spring-web-3.1.3.RELEASE.jar:3.1.3.RELEASE]
- at org.springframework.web.context.support.WebApplicationContextUtils.access$0(WebApplicationContextUtils.java:270) ~[spring-web-3.1.3.RELEASE.jar:3.1.3.RELEASE]
- at org.springframework.web.context.support.WebApplicationContextUtils$RequestObjectFactory.getObject(WebApplicationContextUtils.java:286) ~[spring-web-3.1.3.RELEASE.jar:3.1.3.RELEASE]
- at org.springframework.web.context.support.WebApplicationContextUtils$RequestObjectFactory.getObject(WebApplicationContextUtils.java:1) ~[spring-web-3.1.3.RELEASE.jar:3.1.3.RELEASE]
- at org.springframework.beans.factory.support.AutowireUtils$ObjectFactoryDelegatingInvocationHandler.invoke(AutowireUtils.java:178) ~[spring-beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]
- at com.sun.proxy.$Proxy77.getSession(Unknown Source) ~[na:na]
- at com.sc.cpgu.service.auth.AuthInfoService.getWorkingMfcId(AuthInfoService.java:319) ~[AuthInfoService.class:na]
- at com.sc.cpgu.service.auth.AuthInfoService.getAuthenticatedUser(AuthInfoService.java:313) ~[AuthInfoService.class:na]
- at com.sc.cpgu.service.audit.AuditService.saveActDepartment(AuditService.java:122) ~[AuditService.class:na]
- at com.sc.cpgu.service.department.DepartmentService.saveDepartment(DepartmentService.java:606) ~[DepartmentService.class:na]
- at com.sc.cpgu.service.department.DepartmentService$$FastClassByCGLIB$$c02e6902.invoke(<generated>) ~[cglib-nodep-2.2.2.jar:na]
- at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[cglib-nodep-2.2.2.jar:na]
- at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
- at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) ~[spring-tx-3.1.2.RELEASE.jar:3.1.2.RELEASE]
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
- at org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:64) ~[spring-security-core-3.1.2.RELEASE.jar:3.1.2.RELEASE]
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
- at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
- at com.sc.cpgu.service.department.DepartmentService$$EnhancerByCGLIB$$7e4da9a2.saveDepartment(<generated>) ~[cglib-nodep-2.2.2.jar:na]
- at com.sc.cpgu.service.frgu.FrguSyncService.createDepartment(FrguSyncService.java:109) ~[FrguSyncService.class:na]
- at com.sc.cpgu.service.frgu.FrguSyncService.run(FrguSyncService.java:81) ~[FrguSyncService.class:na]
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_172]
- at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_172]
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_172]
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_172]
- at java.lang.Thread.run(Thread.java:748) [na:1.8.0_172]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement