java.lang.IllegalStateException: getAttribute: Session already invalidated

liferay.com | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Logout weld JSF Portlet - Forums | Liferay

    liferay.com | 1 year ago
    java.lang.IllegalStateException: getAttribute: Session already invalidated
  2. 0

    Logout weld JSF Portlet - Forums | Liferay

    liferay.com | 8 months ago
    java.lang.IllegalStateException: getAttribute: Session already invalidated
  3. 0

    java.lang.IllegalStateException: getAttribute: Session already invalidated

    Stack Overflow | 4 years ago | stallion
    java.lang.IllegalStateException: getAttribute: Session already invalidated
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.IllegalStateException: getAttribute: Session already invalidated

    dolinked.com | 1 year ago
    java.lang.IllegalStateException: getAttribute: Session already invalidated
  6. 0

    Help needed with Logout Button

    Oracle Community | 1 decade ago | 843842
    java.lang.IllegalStateException: getAttribute: 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

    getAttribute: Session already invalidated

    at org.apache.catalina.session.StandardSession.getAttribute()
  2. Glassfish Core
    StandardSessionFacade.getAttribute
    1. org.apache.catalina.session.StandardSession.getAttribute(StandardSession.java:1189)
    2. org.apache.catalina.session.StandardSessionFacade.getAttribute(StandardSessionFacade.java:120)
    2 frames
  3. Liferay Portal Impl
    SharedSessionWrapper.getAttribute
    1. com.liferay.portal.servlet.SharedSessionWrapper.getAttribute(SharedSessionWrapper.java:56)
    1 frame
  4. com.liferay.cdi
    HttpSessionWrapper.getAttribute
    1. com.liferay.cdi.portlet.bridge.HttpSessionWrapper.getAttribute(HttpSessionWrapper.java:33)
    1 frame
  5. Weld Implementation
    WeldCrossContextFilter.doFilter
    1. org.jboss.weld.context.http.HttpConversationContextImpl.getSessionAttribute(HttpConversationContextImpl.java:24)
    2. org.jboss.weld.context.http.HttpConversationContextImpl.getSessionAttribute(HttpConversationContextImpl.java:12)
    3. org.jboss.weld.context.AbstractConversationContext.dissociate(AbstractConversationContext.java:156)
    4. org.jboss.weld.servlet.WeldListener.requestDestroyed(WeldListener.java:117)
    5. org.jboss.weld.servlet.WeldCrossContextFilter.doFilter(WeldCrossContextFilter.java:66)
    5 frames
  6. Liferay Portal Service
    InvokerFilterChain.doFilter
    1. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
    2. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
    2 frames
  7. com.liferay.cdi
    CDICrossContextFilter.doFilter
    1. com.liferay.cdi.portlet.bridge.CDICrossContextFilter.doFilter(CDICrossContextFilter.java:49)
    1 frame
  8. Liferay Portal Service
    InvokerFilter.doFilter
    1. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
    2. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
    3. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:119)
    3 frames
  9. Glassfish Core
    ApplicationDispatcher.forward
    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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
    4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)
    5. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)
    6. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
    6 frames
  10. Liferay Portal Service
    PortletContainerUtil.serveResource
    1. com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:580)
    2. com.liferay.portlet.InvokerPortletImpl.invokeResource(InvokerPortletImpl.java:675)
    3. com.liferay.portlet.InvokerPortletImpl.serveResource(InvokerPortletImpl.java:441)
    4. com.liferay.portlet.PortletContainerImpl._doServeResource(PortletContainerImpl.java:792)
    5. com.liferay.portlet.PortletContainerImpl.serveResource(PortletContainerImpl.java:152)
    6. com.liferay.portlet.SecurityPortletContainerWrapper.serveResource(SecurityPortletContainerWrapper.java:166)
    7. com.liferay.portlet.RestrictPortletContainerWrapper.serveResource(RestrictPortletContainerWrapper.java:166)
    8. com.liferay.portal.kernel.portlet.PortletContainerUtil.serveResource(PortletContainerUtil.java:164)
    8 frames
  11. Liferay Portal Impl
    LayoutAction.execute
    1. com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:386)
    2. com.liferay.portal.action.LayoutAction.doExecute(LayoutAction.java:200)
    3. com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:95)
    3 frames
  12. struts
    RequestProcessor.process
    1. org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
    2. org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
    2 frames
  13. Liferay Portal Impl
    PortalRequestProcessor.process
    1. com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:179)
    1 frame
  14. struts
    ActionServlet.doPost
    1. org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
    2. org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
    2 frames
  15. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
    1 frame
  16. Liferay Portal Impl
    MainServlet.service
    1. com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:549)
    2. com.liferay.portal.servlet.MainServlet.service(MainServlet.java:526)
    2 frames
  17. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    1 frame
  18. 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
  19. Tomcat WS
    WsFilter.doFilter
    1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    1 frame
  20. 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
  21. Liferay Portal Service
    BaseFilter.processFilter
    1. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
    2. com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
    2 frames
  22. Liferay Portal Impl
    SecureFilter.processFilter
    1. com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:293)
    1 frame
  23. Liferay Portal Service
    BaseFilter.processFilter
    1. com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
    2. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
    3. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
    4. com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
    4 frames
  24. Liferay Portal Impl
    JSONContentTypeFilter.processFilter
    1. com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
    1 frame
  25. Liferay Portal Service
    InvokerFilter.doFilter
    1. com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
    2. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
    3. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
    4. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:119)
    4 frames
  26. Glassfish Core
    ApplicationDispatcher.forward
    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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
    4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)
    5. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)
    6. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
    6 frames
  27. Liferay Portal Impl
    FriendlyURLServlet.service
    1. com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:156)
    1 frame
  28. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    1 frame
  29. 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
  30. Tomcat WS
    WsFilter.doFilter
    1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    1 frame
  31. 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
  32. Liferay Portal Service
    BaseFilter.processFilter
    1. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
    2. com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
    2 frames
  33. Liferay Portal Impl
    GZipFilter.processFilter
    1. com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:123)
    1 frame
  34. Liferay Portal Service
    BaseFilter.processFilter
    1. com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
    2. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
    3. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
    4. com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
    4 frames
  35. Liferay Portal Impl
    SecureFilter.processFilter
    1. com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:293)
    1 frame
  36. Liferay Portal Service
    BaseFilter.processFilter
    1. com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
    2. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
    3. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
    4. com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
    4 frames
  37. Liferay Portal Impl
    I18nFilter.processFilter
    1. com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:243)
    1 frame
  38. Liferay Portal Service
    BaseFilter.processFilter
    1. com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
    2. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
    3. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
    4. com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
    4 frames
  39. Liferay Portal Impl
    JSONContentTypeFilter.processFilter
    1. com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
    1 frame
  40. Liferay Portal Service
    BaseFilter.processFilter
    1. com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
    2. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
    3. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
    4. com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
    4 frames
  41. Liferay Portal Impl
    AutoLoginFilter.processFilter
    1. com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:267)
    1 frame
  42. Liferay Portal Service
    BaseFilter.processFilter
    1. com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
    2. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
    3. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
    4. com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
    4 frames
  43. Liferay Portal Impl
    NtlmPostFilter.processFilter
    1. com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:83)
    1 frame
  44. Liferay Portal Service
    BaseFilter.processFilter
    1. com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
    2. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
    3. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
    4. com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
    4 frames
  45. Liferay Portal Impl
    SharepointFilter.processFilter
    1. com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:88)
    1 frame
  46. Liferay Portal Service
    BaseFilter.processFilter
    1. com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
    2. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
    3. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
    4. com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
    4 frames
  47. Liferay Portal Impl
    VirtualHostFilter.processFilter
    1. com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:226)
    1 frame
  48. Liferay Portal Service
    InvokerFilterChain.doFilter
    1. com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
    2. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
    3. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
    4. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:185)
    5. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
    5 frames
  49. UrlRewriteFilter
    UrlRewriteFilter.doFilter
    1. org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
    1 frame
  50. com.liferay.portal
    UrlRewriteFilter.processFilter
    1. com.liferay.portal.servlet.filters.urlrewrite.UrlRewriteFilter.processFilter(UrlRewriteFilter.java:57)
    1 frame
  51. Liferay Portal Service
    InvokerFilter.doFilter
    1. com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
    2. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
    3. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
    4. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:165)
    5. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
    6. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:165)
    7. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
    8. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:185)
    9. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
    10. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:119)
    10 frames
  52. 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:501)
    6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
    7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
    8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
    9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
    10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
    10 frames
  53. Grizzly HTTP
    JIoEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
    2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
    3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
    3 frames
  54. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    2 frames
  55. Tomcat Util
    TaskThread$WrappingRunnable.run
    1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    1 frame
  56. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame