1 Reply Latest reply on Mar 6, 2007 9:09 PM by Hari Cahyadi

    Seam debug error

    Hari Cahyadi Newbie

      Hi All,
      when I try to use seam debug I get the following error :

      2007-03-06 11:39:22,812 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/b2bng].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
      java.lang.IllegalStateException: No active event context
       at org.jboss.seam.core.Manager.instance(Manager.java:260)
       at org.jboss.seam.contexts.Lifecycle.flushAndDestroyContexts(Lifecycle.java:393)
       at org.jboss.seam.contexts.Lifecycle.endRequest(Lifecycle.java:312)
       at org.jboss.seam.servlet.SeamServletFilter.doFilter(SeamServletFilter.java:55)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
       at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
       at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
       at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
       at java.lang.Thread.run(Thread.java:595)
      


      I already follow the step to enable seam debug but I still get the above error, what is my mistake then?

      Thanx and Regards,
      -haric-

        • 1. Re: Seam debug error
          Hari Cahyadi Newbie

          Last night I upgrade to seam 1.2 Patch 1 and I get different error like this :

          08:57:28,671 INFO [Lifecycle] starting up: org.jboss.seam.security.identity
          08:57:28,750 ERROR [PhaseListenerManager] Exception in PhaseListener RENDER_RESP
          ONSE(6) beforePhase.
          java.lang.IllegalStateException: No active application scope
           at org.jboss.seam.core.Init.instance(Init.java:78)
           at org.jboss.seam.debug.jsf.SeamDebugPhaseListener.beforePhase(SeamDebug
          PhaseListener.java:38)
           at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListener
          sBefore(PhaseListenerManager.java:73)
           at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:
          126)
           at javax.faces.webapp.FacesServlet.service(FacesServlet.java:140)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
          icationFilterChain.java:252)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
          ilterChain.java:173)
           at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.jav
          a:63)
           at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
           at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.jav
          a:49)
           at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
           at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.jav
          a:49)
           at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.jav
          a:53)
           at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
           at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.jav
          a:49)
           at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
          icationFilterChain.java:202)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
          ilterChain.java:173)
           at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
          lter.java:96)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
          icationFilterChain.java:202)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
          ilterChain.java:173)
           at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
          alve.java:213)
           at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
          alve.java:178)
           at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
          yAssociationValve.java:175)
           at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
          e.java:74)
           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
          ava:126)
           at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
          ava:105)
           at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConne
          ctionValve.java:156)
           at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
          ve.java:107)
           at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
          a:148)
           at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
          :869)
           at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
          rocessConnection(Http11BaseProtocol.java:664)
           at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
          int.java:527)
           at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor
          kerThread.java:112)
           at java.lang.Thread.run(Thread.java:595)
          


          I already enabled the debug in the web.xml, I also set debug parameter to true in the components.xml, I also added seam-debug.jar inside the lib directory inside the .war, is there something I missed? any suggestion?

          Thanx and Regards,
          -haric-