0 Replies Latest reply on Nov 11, 2008 5:26 PM by Rogerio Baldini

    Again: No phase id bound to current thread ....

    Rogerio Baldini Newbie

      Hi Guys,


      I am receiving this error in every page request.
      Some features of my application are working but this error is always appearing in console.


      Using:
      - Tomcat 6.0.4
      - JSF 1.2-09
      - Trinidad 1.2.9
      - jBoss Seam 2.1.0.GA


      Thanks,
      Rogerio.




      #jcompany_jsf# WARN  [SeamPhaseListener] uncaught exception, passing to exception handler 16:53:44,567 [http-8080-1]    
       java.lang.IllegalStateException: No phase id bound to current thread (make sure you do not have two SeamPhaseListener instances installed)
                      at org.jboss.seam.contexts.PageContext.getPhaseId(PageContext.java:162)
                      at org.jboss.seam.contexts.PageContext.isBeforeInvokeApplicationPhase(PageContext.java:174)
                      at org.jboss.seam.contexts.PageContext.getCurrentWritableMap(PageContext.java:90)
                      at org.jboss.seam.contexts.PageContext.remove(PageContext.java:104)
                      at org.jboss.seam.Component.newInstance(Component.java:2063)
                      at org.jboss.seam.Component.getInstance(Component.java:1948)
                      at org.jboss.seam.Component.getInstance(Component.java:1927)
                      at org.jboss.seam.Component.getInstance(Component.java:1921)
                      at org.jboss.seam.Component.getInstance(Component.java:1894)
                      at org.jboss.seam.Component.getInstance(Component.java:1889)
                      at org.jboss.seam.faces.FacesPage.instance(FacesPage.java:92)
                      at org.jboss.seam.core.ConversationPropagation.restorePageContextConversationId(ConversationPropagation.java:84)
                      at org.jboss.seam.core.ConversationPropagation.restoreConversationId(ConversationPropagation.java:57)
                      at org.jboss.seam.jsf.SeamPhaseListener.afterRestoreView(SeamPhaseListener.java:389)
                      at org.jboss.seam.jsf.SeamPhaseListener.afterServletPhase(SeamPhaseListener.java:228)
                      at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:194)
                      at com.sun.faces.lifecycle.Phase.handleAfterPhase(Phase.java:175)
                      at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:114)
                      at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:104)
                      at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
                      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:238)
                      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:195)
                      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:138)
                      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
                      at com.powerlogic.jcompany.controle.jsf.filter.PlcTrinidadFilter.doFilter(PlcTrinidadFilter.java:50)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                      at com.powerlogic.jcompany.controle.filter.PlcMasterFilter.doFilter(PlcMasterFilter.java:214)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
                      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
                      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
                      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
                      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
                      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
                      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
                      at java.lang.Thread.run(Thread.java:619)
      #jcompany_jsf# ERROR [SeamPhaseListener] swallowing exception 16:53:44,578 [http-8080-1]    
       java.lang.IllegalStateException: No phase id bound to current thread (make sure you do not have two SeamPhaseListener instances installed)
                      at org.jboss.seam.contexts.PageContext.getPhaseId(PageContext.java:162)
                      at org.jboss.seam.contexts.PageContext.isBeforeInvokeApplicationPhase(PageContext.java:174)
                      at org.jboss.seam.contexts.PageContext.getCurrentWritableMap(PageContext.java:90)
                      at org.jboss.seam.contexts.PageContext.remove(PageContext.java:104)
                      at org.jboss.seam.Component.newInstance(Component.java:2063)
                      at org.jboss.seam.Component.getInstance(Component.java:1948)
                      at org.jboss.seam.Component.getInstance(Component.java:1927)
                      at org.jboss.seam.Component.getInstance(Component.java:1921)
                      at org.jboss.seam.Component.getInstance(Component.java:1894)
                      at org.jboss.seam.Component.getInstance(Component.java:1889)
                      at org.jboss.seam.faces.FacesPage.instance(FacesPage.java:92)
                      at org.jboss.seam.core.ConversationPropagation.restorePageContextConversationId(ConversationPropagation.java:84)
                      at org.jboss.seam.core.ConversationPropagation.restoreConversationId(ConversationPropagation.java:57)
                      at org.jboss.seam.jsf.SeamPhaseListener.afterRestoreView(SeamPhaseListener.java:389)
                      at org.jboss.seam.jsf.SeamPhaseListener.afterServletPhase(SeamPhaseListener.java:228)
                      at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:194)
                      at com.sun.faces.lifecycle.Phase.handleAfterPhase(Phase.java:175)
                      at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:114)
                      at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:104)
                      at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
                      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:238)
                      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:195)
                      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:138)
                      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
                      at com.powerlogic.jcompany.controle.jsf.filter.PlcTrinidadFilter.doFilter(PlcTrinidadFilter.java:50)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                      at com.powerlogic.jcompany.controle.filter.PlcMasterFilter.doFilter(PlcMasterFilter.java:214)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
                      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
                      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
                      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
                      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
                      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
                      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
                      at java.lang.Thread.run(Thread.java:619)
      07/11/2008 16:53:45 org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl renderView
      WARNING: Trinidad's ViewHandler is registered more than once. To avoid initialization problems, make sure that only one Trinidad implementation jar is loaded
      07/11/2008 16:53:45 org.apache.myfaces.trinidad.context.RenderingContext attach
      WARNING: Tentando anexar RenderingContext a um thread que já tem um.
      07/11/2008 16:53:46 org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderKit encodeFinally
      WARNING: Nenhum RenderingContext disponível
      #jcompany_jsf# WARN  [SeamPhaseListener] uncaught exception, passing to exception handler 16:53:46,736 [http-8080-1]    
       java.lang.IllegalStateException: No active application scope
                      at org.jboss.seam.core.Init.instance(Init.java:110)
                      at org.jboss.seam.jsf.SeamPhaseListener.handleTransactionsAfterPhase(SeamPhaseListener.java:332)
                      at org.jboss.seam.jsf.SeamPhaseListener.afterServletPhase(SeamPhaseListener.java:243)
                      at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:194)
                      at com.sun.faces.lifecycle.Phase.handleAfterPhase(Phase.java:175)
                      at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:114)
                      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
                      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:238)
                      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:195)
                      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:138)
                      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
                      at com.powerlogic.jcompany.controle.jsf.filter.PlcTrinidadFilter.doFilter(PlcTrinidadFilter.java:50)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                      at com.powerlogic.jcompany.controle.filter.PlcMasterFilter.doFilter(PlcMasterFilter.java:214)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
                      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
                      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
                      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
                      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
                      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
                      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
                      at java.lang.Thread.run(Thread.java:619)
      #jcompany_jsf# ERROR [SeamPhaseListener] swallowing exception 16:53:46,747 [http-8080-1]    
       java.lang.IllegalStateException: No active application scope
                      at org.jboss.seam.core.Init.instance(Init.java:110)
                      at org.jboss.seam.jsf.SeamPhaseListener.handleTransactionsAfterPhase(SeamPhaseListener.java:332)
                      at org.jboss.seam.jsf.SeamPhaseListener.afterServletPhase(SeamPhaseListener.java:243)
                      at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:194)
                      at com.sun.faces.lifecycle.Phase.handleAfterPhase(Phase.java:175)
                      at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:114)
                      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
                      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:238)
                      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:195)
                      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:138)
                      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
                      at com.powerlogic.jcompany.controle.jsf.filter.PlcTrinidadFilter.doFilter(PlcTrinidadFilter.java:50)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                      at com.powerlogic.jcompany.controle.filter.PlcMasterFilter.doFilter(PlcMasterFilter.java:214)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
                      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
                      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
                      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
                      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
                      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
                      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
                      at java.lang.Thread.run(Thread.java:619)