org.apache.shiro.session.InvalidSessionException: java.lang.IllegalStateException: getAttribute: Session already invalidated

Apache's JIRA Issue Tracker | Lenny Primak | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    [SHIRO-512] Race condition in Shiro's web container session timeout handling - ASF JIRA

    apache.org | 1 year ago
    org.apache.shiro.session.InvalidSessionException: java.lang.IllegalStateException: getAttribute: Session already invalidated

    1 unregistered visitors

    Root Cause Analysis

    1. org.apache.shiro.session.InvalidSessionException

      java.lang.IllegalStateException: getAttribute: Session already invalidated

      at org.apache.shiro.web.session.HttpServletSession.getAttribute()
    2. Shiro
      DelegatingSubject.isPermitted
      1. org.apache.shiro.web.session.HttpServletSession.getAttribute(HttpServletSession.java:148)[HttpServletSession.class:1.2.3]
      2. org.apache.shiro.session.ProxiedSession.getAttribute(ProxiedSession.java:121)[ProxiedSession.class:1.2.3]
      3. org.apache.shiro.session.ProxiedSession.getAttribute(ProxiedSession.java:121)[ProxiedSession.class:1.2.3]
      4. org.apache.shiro.subject.support.DelegatingSubject.getRunAsPrincipalsStack(DelegatingSubject.java:469)[DelegatingSubject.class:1.2.3]
      5. org.apache.shiro.subject.support.DelegatingSubject.getPrincipals(DelegatingSubject.java:153)[DelegatingSubject.class:1.2.3]
      6. org.apache.shiro.subject.support.DelegatingSubject.hasPrincipals(DelegatingSubject.java:126)[DelegatingSubject.class:1.2.3]
      7. org.apache.shiro.subject.support.DelegatingSubject.isPermitted(DelegatingSubject.java:158)[DelegatingSubject.class:1.2.3]
      7 frames