org.apache.shiro.session.UnknownSessionException: There is no session with id [01e5744d-dd8d-4a3b-8508-5412dc38c618]

shiro-user | andibaso | 4 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    UnknownSessionException and Spring AOP

    shiro-user | 4 years ago | andibaso
    org.apache.shiro.session.UnknownSessionException: There is no session with id [01e5744d-dd8d-4a3b-8508-5412dc38c618]
  2. 0

    Shiro.There is no session with id

    Stack Overflow | 3 years ago | nuser39
    org.apache.shiro.session.UnknownSessionException: There is no session with id [f5b7c3bf-2c53-40e9-a707-37f4265970aa]

    Root Cause Analysis

    1. org.apache.shiro.session.UnknownSessionException

      There is no session with id [01e5744d-dd8d-4a3b-8508-5412dc38c618]

      at org.apache.shiro.session.mgt.eis.AbstractSessionDAO.readSession()
    2. Shiro
      ProxiedSession.getAttribute
      1. org.apache.shiro.session.mgt.eis.AbstractSessionDAO.readSession(AbstractSessionDAO.java:170)
      2. org.apache.shiro.session.mgt.DefaultSessionManager.retrieveSessionFromDataSource(DefaultSessionManager.java:236)
      3. org.apache.shiro.session.mgt.DefaultSessionManager.retrieveSession(DefaultSessionManager.java:222)
      4. org.apache.shiro.session.mgt.AbstractValidatingSessionManager.doGetSession(AbstractValidatingSessionManager.java:118)
      5. org.apache.shiro.session.mgt.AbstractNativeSessionManager.lookupSession(AbstractNativeSessionManager.java:105)
      6. org.apache.shiro.session.mgt.AbstractNativeSessionManager.lookupRequiredSession(AbstractNativeSessionManager.java:109)
      7. org.apache.shiro.session.mgt.AbstractNativeSessionManager.getAttribute(AbstractNativeSessionManager.java:206)
      8. org.apache.shiro.session.mgt.DelegatingSession.getAttribute(DelegatingSession.java:141)
      9. org.apache.shiro.session.ProxiedSession.getAttribute(ProxiedSession.java:121)
      9 frames
    3. com.anabatic.egl
      BusinessRuleEvaluator.afterReturning
      1. com.anabatic.egl.util.UserUtil.getCurrentUser(UserUtil.java:49)
      2. com.anabatic.egl.security.BusinessRuleEvaluator.afterReturning(BusinessRuleEvaluator.java:62)
      2 frames
    4. Spring AOP
      Cglib2AopProxy$DynamicAdvisedInterceptor.intercept
      1. org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:51)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      3. org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
      4. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      5. org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
      6. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      7. org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622)
      7 frames