java.lang.IllegalStateException: Please end the HttpSession via org.jboss.seam.web.Session.instance().invalidate()

Stack Overflow | tuskar | 5 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

    session.invalidate() changing Id post login but exception thrown

    Stack Overflow | 5 months ago | tuskar
    java.lang.IllegalStateException: Please end the HttpSession via org.jboss.seam.web.Session.instance().invalidate()
  2. 0

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

    hivmr.com | 10 months ago
    java.lang.IllegalStateException: Please end the HttpSession via org.jboss.seam.web.Session.instance().invalidate()

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Please end the HttpSession via org.jboss.seam.web.Session.instance().invalidate()

      at org.jboss.seam.contexts.Lifecycle.endSession()
    2. org.jboss.seam
      SeamListener.sessionDestroyed
      1. org.jboss.seam.contexts.Lifecycle.endSession(Lifecycle.java:267)[jboss-seam.jar:2.3.1.CR1]
      2. org.jboss.seam.contexts.ServletLifecycle.endSession(ServletLifecycle.java:187)[jboss-seam.jar:2.3.1.CR1]
      3. org.jboss.seam.servlet.SeamListener.sessionDestroyed(SeamListener.java:59)[jboss-seam.jar:2.3.1.CR1]
      3 frames
    3. Glassfish Core
      StandardSessionFacade.invalidate
      1. org.apache.catalina.session.StandardSession.expire(StandardSession.java:681)[jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
      2. org.apache.catalina.session.StandardSession.expire(StandardSession.java:644)[jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
      3. org.apache.catalina.session.StandardSession.invalidate(StandardSession.java:1092)[jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
      4. org.apache.catalina.session.StandardSessionFacade.invalidate(StandardSessionFacade.java:150)[jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
      4 frames
    4. com.redback.nsm
      LoginAction.sessionChange
      1. com.redback.nsm.security.login.action.LoginAction.sessionChange(LoginAction.java:145)[classes:]
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[rt.jar:1.7.0_25]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[rt.jar:1.7.0_25]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[rt.jar:1.7.0_25]
      4. java.lang.reflect.Method.invoke(Method.java:606)[rt.jar:1.7.0_25]
      4 frames
    6. org.jboss.seam
      JavaBeanInterceptor.invoke
      1. org.jboss.seam.util.Reflections.invoke(Reflections.java:22)[jboss-seam.jar:2.3.1.CR1]
      2. org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32)[jboss-seam.jar:2.3.1.CR1]
      3. org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)[jboss-seam.jar:2.3.1.CR1]
      4. org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)[jboss-seam.jar:2.3.1.CR1]
      5. org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)[jboss-seam.jar:2.3.1.CR1]
      6. org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:79)[jboss-seam.jar:2.3.1.CR1]
      7. org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)[jboss-seam.jar:2.3.1.CR1]
      8. org.jboss.seam.bpm.BusinessProcessInterceptor.aroundInvoke(BusinessProcessInterceptor.java:51)[jboss-seam.jar:2.3.1.CR1]
      9. org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)[jboss-seam.jar:2.3.1.CR1]
      10. org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)[jboss-seam.jar:2.3.1.CR1]
      11. org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)[jboss-seam.jar:2.3.1.CR1]
      12. org.jboss.seam.core.SynchronizationInterceptor.aroundInvoke(SynchronizationInterceptor.java:35)[jboss-seam.jar:2.3.1.CR1]
      13. org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)[jboss-seam.jar:2.3.1.CR1]
      14. org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)[jboss-seam.jar:2.3.1.CR1]
      15. org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:196)[jboss-seam.jar:2.3.1.CR1]
      16. org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:114)[jboss-seam.jar:2.3.1.CR1]
      16 frames
    7. com.redback.nsm
      LoginAction_$$_javassist_seam_13.sessionChange
      1. com.redback.nsm.security.login.action.LoginAction_$$_javassist_seam_13.sessionChange(LoginAction_$$_javassist_seam_13.java)[classes:]
      1 frame
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[rt.jar:1.7.0_25]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[rt.jar:1.7.0_25]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[rt.jar:1.7.0_25]
      4. java.lang.reflect.Method.invoke(Method.java:606)[rt.jar:1.7.0_25]
      4 frames
    9. org.jboss.el
      ValueExpressionImpl.getValue
      1. org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:335)[jboss-el.jar:1.0_02.CR6]
      2. org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:280)[jboss-el.jar:1.0_02.CR6]
      3. org.jboss.el.parser.AstMethodSuffix.getValue(AstMethodSuffix.java:59)[jboss-el.jar:1.0_02.CR6]
      4. org.jboss.el.parser.AstValue.getValue(AstValue.java:67)[jboss-el.jar:1.0_02.CR6]
      5. org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)[jboss-el.jar:1.0_02.CR6]
      5 frames
    10. JSF
      TagValueExpression.getValue
      1. com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:109)[jsf-impl-2.1.24.jar:2.1.24]
      1 frame
    11. JavaEE 7
      UIInput.getValue
      1. javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:194)[jsf-api-2.1.24.jar:2.1]
      2. javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:182)[jsf-api-2.1.24.jar:2.1]
      3. javax.faces.component.UIOutput.getValue(UIOutput.java:170)[jsf-api-2.1.24.jar:2.1]
      4. javax.faces.component.UIInput.getValue(UIInput.java:284)[jsf-api-2.1.24.jar:2.1]
      4 frames
    12. JSF
      HtmlBasicRenderer.encodeEnd
      1. com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:205)[jsf-impl-2.1.24.jar:2.1.24]
      2. com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:355)[jsf-impl-2.1.24.jar:2.1.24]
      3. com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:164)[jsf-impl-2.1.24.jar:2.1.24]
      3 frames
    13. JavaEE 7
      UIComponent.encodeAll
      1. javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:877)[jsf-api-2.1.24.jar:2.1]
      2. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1826)[jsf-api-2.1.24.jar:2.1]
      3. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1822)[jsf-api-2.1.24.jar:2.1]
      4. javax.faces.render.Renderer.encodeChildren(Renderer.java:168)[jsf-api-2.1.24.jar:2.1]
      5. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:847)[jsf-api-2.1.24.jar:2.1]
      6. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1819)[jsf-api-2.1.24.jar:2.1]
      7. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1822)[jsf-api-2.1.24.jar:2.1]
      8. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1822)[jsf-api-2.1.24.jar:2.1]
      8 frames
    14. JSF
      MultiViewHandler.renderView
      1. com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:447)[jsf-impl-2.1.24.jar:2.1.24]
      2. com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:124)[jsf-impl-2.1.24.jar:2.1.24]
      2 frames
    15. org.jboss.seam
      SeamViewHandler.renderView
      1. org.jboss.seam.jsf.SeamViewHandler.renderView(SeamViewHandler.java:188)[jboss-seam.jar:2.3.1.CR1]
      1 frame
    16. JavaEE 7
      ViewHandlerWrapper.renderView
      1. javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:286)[jsf-api-2.1.24.jar:2.1]
      1 frame
    17. JSF
      LifecycleImpl.render
      1. com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120)[jsf-impl-2.1.24.jar:2.1.24]
      2. com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)[jsf-impl-2.1.24.jar:2.1.24]
      3. com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)[jsf-impl-2.1.24.jar:2.1.24]
      3 frames
    18. JavaEE 7
      FacesServlet.service
      1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)[jsf-api-2.1.24.jar:2.1]
      1 frame
    19. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)[jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)[jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
      2 frames
    20. org.jboss.seam
      SeamFilter$FilterChainImpl.doFilter
      1. org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)[jboss-seam.jar:2.3.1.CR1]
      2. org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)[jboss-seam.jar:2.3.1.CR1]
      3. org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)[jboss-seam.jar:2.3.1.CR1]
      4. org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)[jboss-seam.jar:2.3.1.CR1]
      5. org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)[jboss-seam.jar:2.3.1.CR1]
      6. org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)[jboss-seam.jar:2.3.1.CR1]
      7. org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)[jboss-seam.jar:2.3.1.CR1]
      8. org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)[jboss-seam.jar:2.3.1.CR1]
      9. org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)[jboss-seam.jar:2.3.1.CR1]
      10. org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)[jboss-seam.jar:2.3.1.CR1]
      11. org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)[jboss-seam.jar:2.3.1.CR1]
      12. org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53)[jboss-seam.jar:2.3.1.CR1]
      13. org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)[jboss-seam.jar:2.3.1.CR1]
      13 frames
    21. com.redback.nsm
      SessionInvalidatorFilter.doFilter
      1. com.redback.nsm.ui.SessionInvalidatorFilter.doFilter(SessionInvalidatorFilter.java:217)[classes:]
      1 frame
    22. org.jboss.seam
      SeamFilter.doFilter
      1. org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:78)[jboss-seam.jar:2.3.1.CR1]
      2. org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)[jboss-seam.jar:2.3.1.CR1]
      2 frames
    23. Glassfish Core
      AuthenticatorBase.invoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)[jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)[jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231)[jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)[jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:420)[jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
      5 frames
    24. JPA
      WebNonTxEmCloserValve.invoke
      1. org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)[jboss-as-jpa-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
      2. org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)[jboss-as-jpa-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
      2 frames
    25. JBoss Web
      SecurityContextAssociationValve.invoke
      1. org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)[jboss-as-web-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
      1 frame
    26. Glassfish Core
      ErrorReportValve.invoke
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)[jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
      2. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)[jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
      2 frames
    27. org.jboss.web
      RewriteValve.invoke
      1. org.jboss.web.rewrite.RewriteValve.invoke(RewriteValve.java:466)[jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
      1 frame
    28. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)[jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
      2. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344)[jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
      2 frames
    29. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)[jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)[jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926)[jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
      3 frames
    30. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:724)[rt.jar:1.7.0_25]
      1 frame