java.lang.IllegalStateException: removeAttribute: Session already invalidated

Sakai JIRA | Claudia Jürgen | 10 months ago
  1. 0

    Setting [dspace]/config/dspace.cfg webui.user.assumelogin = true assume the identity of another user and the log out this leads to an internal error. It's not very important as only members of the admin group may run into it. 2016-02-17 15:02:53,559 WARN org.dspace.app.webui.servlet.InternalErrorServlet @ :session_id=CBFC67C4F125FF7B03A9D95CCC8D456E:internal_error:-- URL Was: https://eldorado2.tu-dortmund.de/dspace54tu/logout -- Method: GET -- Parameters were: java.lang.IllegalStateException: removeAttribute: Session already invalidated at org.apache.catalina.session.StandardSession.removeAttribute(StandardSession.java:1373) at org.apache.catalina.session.StandardSession.removeAttribute(StandardSession.java:1348) at org.apache.catalina.session.StandardSessionFacade.removeAttribute(StandardSessionFacade.java:171) at org.dspace.app.webui.util.Authenticate.loggedOut(Authenticate.java:354) at org.dspace.app.webui.servlet.LogoutServlet.doDSGet(LogoutServlet.java:41) at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:119) at org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:67) at javax.servlet.http.HttpServlet.service(HttpServlet.java:624) at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:614) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:957) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423) at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1157) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:627) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:798)

    Sakai JIRA | 10 months ago | Claudia Jürgen
    java.lang.IllegalStateException: removeAttribute: Session already invalidated
  2. 0

    Setting [dspace]/config/dspace.cfg webui.user.assumelogin = true assume the identity of another user and the log out this leads to an internal error. It's not very important as only members of the admin group may run into it. 2016-02-17 15:02:53,559 WARN org.dspace.app.webui.servlet.InternalErrorServlet @ :session_id=CBFC67C4F125FF7B03A9D95CCC8D456E:internal_error:-- URL Was: https://eldorado2.tu-dortmund.de/dspace54tu/logout -- Method: GET -- Parameters were: java.lang.IllegalStateException: removeAttribute: Session already invalidated at org.apache.catalina.session.StandardSession.removeAttribute(StandardSession.java:1373) at org.apache.catalina.session.StandardSession.removeAttribute(StandardSession.java:1348) at org.apache.catalina.session.StandardSessionFacade.removeAttribute(StandardSessionFacade.java:171) at org.dspace.app.webui.util.Authenticate.loggedOut(Authenticate.java:354) at org.dspace.app.webui.servlet.LogoutServlet.doDSGet(LogoutServlet.java:41) at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:119) at org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:67) at javax.servlet.http.HttpServlet.service(HttpServlet.java:624) at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:614) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:957) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423) at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1157) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:627) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:798)

    Sakai JIRA | 10 months ago | Claudia Jürgen
    java.lang.IllegalStateException: removeAttribute: Session already invalidated
  3. 0

    Runtime synchronization failed in MobileFirst 7.0 Server

    Stack Overflow | 1 year ago | Sam Su
    java.lang.IllegalStateException: removeAttribute: Session already invalidated
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    db:: 4.77::"Session already invalidated" exception p7

    hivmr.com | 8 months ago
    java.lang.IllegalStateException: removeAttribute: Session already invalidated
  6. 0

    When reloading context IllegalStateException is not catched

    Apache Bugzilla | 1 decade ago | ia_rud
    java.lang.IllegalStateException: removeAttribute: Session already invalidated

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      removeAttribute: Session already invalidated

      at org.apache.catalina.session.StandardSession.removeAttribute()
    2. Glassfish Core
      StandardSessionFacade.removeAttribute
      1. org.apache.catalina.session.StandardSession.removeAttribute(StandardSession.java:1373)
      2. org.apache.catalina.session.StandardSession.removeAttribute(StandardSession.java:1348)
      3. org.apache.catalina.session.StandardSessionFacade.removeAttribute(StandardSessionFacade.java:171)
      3 frames
    3. org.dspace.app
      DSpaceServlet.doGet
      1. org.dspace.app.webui.util.Authenticate.loggedOut(Authenticate.java:354)
      2. org.dspace.app.webui.servlet.LogoutServlet.doDSGet(LogoutServlet.java:41)
      3. org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:119)
      4. org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:67)
      4 frames
    4. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
      2 frames
    5. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    6. Tomcat WS
      WsFilter.doFilter
      1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      1 frame
    7. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    8. DSpace Services Framework :: API and Implementation
      DSpaceWebappServletFilter.doFilter
      1. org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
      1 frame
    9. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:614)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
      8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:957)
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
      10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
      10 frames
    10. org.apache.coyote
      AjpProcessor.process
      1. org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190)
      1 frame
    11. Grizzly HTTP
      JIoEndpoint$SocketProcessor.run
      1. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)
      2. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
      2 frames
    12. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1157)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:627)
      2 frames
    13. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      1 frame
    14. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:798)
      1 frame