1 Reply Latest reply on Mar 31, 2010 3:23 AM by Sean Han

    java.lang.IllegalStateException: No phase id bound to current thread

    Sean Han Newbie

      my project used the Arcgis.So ,the jsf was used in my project.
      i want to use the Seam in my project now.
      but there is a Exception.


      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.set(PageContext.java:97)
           at org.jboss.seam.Component.newInstance(Component.java:1967)
           at org.jboss.seam.Component.getInstance(Component.java:1865)
           at org.jboss.seam.Component.getInstance(Component.java:1844)
           at org.jboss.seam.Component.getInstance(Component.java:1821)
           at org.jboss.seam.Component.getInstance(Component.java:1816)
           at org.jboss.seam.faces.FacesPage.instance(FacesPage.java:92)
           at org.jboss.seam.core.ConversationPropagation.restorePageContextConversationId(ConversationPropagation.java:77)
           at org.jboss.seam.core.ConversationPropagation.restoreConversationId(ConversationPropagation.java:50)
           at org.jboss.seam.servlet.ContextualHttpServletRequest.restoreConversationId(ContextualHttpServletRequest.java:89)
           at org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHttpServletRequest.java:40)
           at org.jboss.seam.web.ContextFilter.doFilter(ContextFilter.java:37)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
           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:175)
           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:844)
           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)