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

Stack Overflow | tuskar | 6 months 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

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

    Stack Overflow | 6 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 | 11 months ago
    java.lang.IllegalStateException: Please end the HttpSession via org.jboss.seam.web.Session.instance().invalidate()
  3. 0

    How can I cope with "IllegalStateException: BeanFactory not initialized or already closed"?

    Stack Overflow | 6 years ago | user569825
    java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    issues in spring petclinic applicaiton

    Stack Overflow | 4 years ago | user2216702
    java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - c all 'refresh' before multicasting events via the context: Root WebApplicationCon text: startup date [Wed Mar 27 11:31:56 CDT 2013]; root of context hierarchy at org.springframework.context.support.AbstractApplic ationContext.getApp licationEventMulticaster(AbstractApplicationContex t.java:347) [spring-context-3. 2.2.RELEASE.jar:3.2.2.RELEASE] at org.springframework.context.support.AbstractApplic ationContext.publis hEvent(AbstractApplicationContext.java:334) [spring-context-3.2.2.RELEASE.jar:3. 2.2.RELEASE] at org.springframework.context.support.AbstractApplic ationContext.doClos e(AbstractApplicationContext.java:1049) [spring-context-3.2.2.RELEASE.jar:3.2.2. RELEASE] at org.springframework.context.support.AbstractApplic ationContext.close( AbstractApplicationContext.java:1010) [spring-context-3.2.2.RELEASE.jar:3.2.2.RE LEASE] at org.springframework.web.context.ContextLoader.clos eWebApplicationCont ext(ContextLoader.java:558) [spring-web-3.2.2.RELEASE.jar:3.2.2.RELEASE] at org.springframework.web.context.ContextLoaderListe ner.contextDestroye d(ContextLoaderListener.java:143) [spring-web-3.2.2.RELEASE.jar:3.2.2.RELEASE] at org.apache.catalina.core.StandardContext.listenerS top(StandardContext .java:4831) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.core.StandardContext.stopInter nal(StandardContext .java:5478) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.util.LifecycleBase.stop(Lifecy cleBase.java:232) [ tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.util.LifecycleBase.start(Lifec ycleBase.java:160) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.core.ContainerBase$StartChild. call(ContainerBase. java:1559) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.core.ContainerBase$StartChild. call(ContainerBase. java:1549) [tomcat-embed-core-7.0.30.jar:7.0.30] at java.util.concurrent.FutureTask$Sync.innerRun(Futu reTask.java:303) [n a:1.6.0_20] at java.util.concurrent.FutureTask.run(FutureTask.jav a:138) [na:1.6.0_20 ] at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExec utor.java:886) [na:1.6.0_20] at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor .java:908) [na:1.6.0_20]
  6. 0

    Porting project JBoss AS 6 to JBoss AS 7

    Stack Overflow | 5 years ago | Rounak
    java.lang.IllegalStateException: Application was not properly initialize d at startup, could not find Factory: javax.faces.application.ApplicationFactory at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.jav a:894) [jsf-api.jar:] at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:319) [jsf-api .jar:] at com.sun.faces.config.InitFacesContext.getApplication(InitFacesContext .java:112) [jsf-impl.jar:] at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureList ener.java:325) [jsf-impl.jar:] at org.apache.catalina.core.StandardContext.listenerStop(StandardContext .java:3465) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.core.StandardContext.stop(StandardContext.java:39 70) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.core.StandardContext.start(StandardContext.java:3 888) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentS ervice.java:70) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(Se rviceControllerImpl.java:1824) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceCont rollerImpl.java:1759) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor. java:1110) [:1.7.0] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor .java:603) [:1.7.0]

    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

      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