org.jboss.seam.InstantiationException: Could not instantiate Seam component: org.jboss.seam.security.identity

ICEsoft JIRA Issue Tracker | Philip Breau | 10 years 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

    An IllegalArgumentException stating that there is no phase id bound to the current thread is generated when resolving the in-built Seam identify component email thread from user: The page is not rendering, i opened the iceface DOM update console but it is not spitting any logs out, i got this error from the jboss console instead: 15:30:12,367 INFO [Lifecycle] starting up: org.jboss.seam.security.identity 15:32:52,194 INFO [Lifecycle] starting up: org.jboss.seam.security.identity 15:32:52,194 ERROR [2]] Session event listener threw exception org.jboss.seam.InstantiationException: Could not instantiate Seam component: org.jboss.seam.security.identity at org.jboss.seam.Component.newInstance(Component.java:1708) at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:165) at org.jboss.seam.contexts.Lifecycle.beginSession(Lifecycle.java:225) at org.jboss.seam.servlet.SeamListener.sessionCreated(SeamListener.java:41) at org.apache.catalina.session.StandardSession.tellNew(StandardSession.java:384) at org.apache.catalina.session.StandardSession.setId(StandardSession.java:356) at org.apache.catalina.session.ManagerBase.createSession(ManagerBase.java:824) at org.apache.catalina.session.StandardManager.createSession(StandardManager.java:290) at org.apache.catalina.connector.Request.doGetSession(Request.java:2225) at org.apache.catalina.connector.Request.getSession(Request.java:2024) at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:831) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:27) at com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:41) at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:18) at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:51) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57) 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(Http11BasePro tocol.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:619) Caused by: 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:153) at org.jboss.seam.contexts.PageContext.isRenderResponsePhase(PageContext.java:165) at org.jboss.seam.contexts.PageContext.getCurrentReadableMap(PageContext.java:76) at org.jboss.seam.contexts.PageContext.get(PageContext.java:66) at org.jboss.seam.contexts.Contexts.lookupInStatefulContexts(Contexts.java:160) at org.jboss.seam.Component.getInstance(Component.java:1577) at org.jboss.seam.Component.getInstance(Component.java:1572) at org.jboss.seam.jsf.SeamELResolver.getValue(SeamELResolver.java:49) at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:135) at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65) at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192) at org.jboss.seam.util.UnifiedELValueBinding.getValue(UnifiedELValueBinding.java:34) at org.jboss.seam.core.Expressions$1.getValue(Expressions.java:57) at org.jboss.seam.Component$ELInitialValue.getValue(Component.java:2045) at org.jboss.seam.Component.initialize(Component.java:1136) at org.jboss.seam.Component.instantiateJavaBean(Component.java:1096) at org.jboss.seam.Component.instantiate(Component.java:1056) at org.jboss.seam.Component.newInstance(Component.java:1704) ... 37 more 15:32:58,241 INFO [Authenticator] authenticating tets 03/07/2007 03:29 PM Subject Re: ICEfaces Support Kent, Is the page actually rendering anything? If so, can you try to open the ICEfaces DOM update console (control-shift-t) and capture the logs there? Thanks, Philip > > Hi Philip, > > I replaced my ice-faces jar with the 1.6.0.DR version and when I click > on my login screen, it just hangs and not do anything, here is the > stack trace: > > Thanks.

    ICEsoft JIRA Issue Tracker | 10 years ago | Philip Breau
    org.jboss.seam.InstantiationException: Could not instantiate Seam component: org.jboss.seam.security.identity
  2. 0

    An IllegalArgumentException stating that there is no phase id bound to the current thread is generated when resolving the in-built Seam identify component email thread from user: The page is not rendering, i opened the iceface DOM update console but it is not spitting any logs out, i got this error from the jboss console instead: 15:30:12,367 INFO [Lifecycle] starting up: org.jboss.seam.security.identity 15:32:52,194 INFO [Lifecycle] starting up: org.jboss.seam.security.identity 15:32:52,194 ERROR [2]] Session event listener threw exception org.jboss.seam.InstantiationException: Could not instantiate Seam component: org.jboss.seam.security.identity at org.jboss.seam.Component.newInstance(Component.java:1708) at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:165) at org.jboss.seam.contexts.Lifecycle.beginSession(Lifecycle.java:225) at org.jboss.seam.servlet.SeamListener.sessionCreated(SeamListener.java:41) at org.apache.catalina.session.StandardSession.tellNew(StandardSession.java:384) at org.apache.catalina.session.StandardSession.setId(StandardSession.java:356) at org.apache.catalina.session.ManagerBase.createSession(ManagerBase.java:824) at org.apache.catalina.session.StandardManager.createSession(StandardManager.java:290) at org.apache.catalina.connector.Request.doGetSession(Request.java:2225) at org.apache.catalina.connector.Request.getSession(Request.java:2024) at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:831) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:27) at com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:41) at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:18) at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:51) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57) 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(Http11BasePro tocol.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:619) Caused by: 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:153) at org.jboss.seam.contexts.PageContext.isRenderResponsePhase(PageContext.java:165) at org.jboss.seam.contexts.PageContext.getCurrentReadableMap(PageContext.java:76) at org.jboss.seam.contexts.PageContext.get(PageContext.java:66) at org.jboss.seam.contexts.Contexts.lookupInStatefulContexts(Contexts.java:160) at org.jboss.seam.Component.getInstance(Component.java:1577) at org.jboss.seam.Component.getInstance(Component.java:1572) at org.jboss.seam.jsf.SeamELResolver.getValue(SeamELResolver.java:49) at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:135) at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65) at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192) at org.jboss.seam.util.UnifiedELValueBinding.getValue(UnifiedELValueBinding.java:34) at org.jboss.seam.core.Expressions$1.getValue(Expressions.java:57) at org.jboss.seam.Component$ELInitialValue.getValue(Component.java:2045) at org.jboss.seam.Component.initialize(Component.java:1136) at org.jboss.seam.Component.instantiateJavaBean(Component.java:1096) at org.jboss.seam.Component.instantiate(Component.java:1056) at org.jboss.seam.Component.newInstance(Component.java:1704) ... 37 more 15:32:58,241 INFO [Authenticator] authenticating tets 03/07/2007 03:29 PM Subject Re: ICEfaces Support Kent, Is the page actually rendering anything? If so, can you try to open the ICEfaces DOM update console (control-shift-t) and capture the logs there? Thanks, Philip > > Hi Philip, > > I replaced my ice-faces jar with the 1.6.0.DR version and when I click > on my login screen, it just hangs and not do anything, here is the > stack trace: > > Thanks.

    ICEsoft JIRA Issue Tracker | 10 years ago | Philip Breau
    org.jboss.seam.InstantiationException: Could not instantiate Seam component: org.jboss.seam.security.identity

    Root Cause Analysis

    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()
    2. org.jboss.seam
      SeamELResolver.getValue
      1. org.jboss.seam.contexts.PageContext.getPhaseId(PageContext.java:153)
      2. org.jboss.seam.contexts.PageContext.isRenderResponsePhase(PageContext.java:165)
      3. org.jboss.seam.contexts.PageContext.getCurrentReadableMap(PageContext.java:76)
      4. org.jboss.seam.contexts.PageContext.get(PageContext.java:66)
      5. org.jboss.seam.contexts.Contexts.lookupInStatefulContexts(Contexts.java:160)
      6. org.jboss.seam.Component.getInstance(Component.java:1577)
      7. org.jboss.seam.Component.getInstance(Component.java:1572)
      8. org.jboss.seam.jsf.SeamELResolver.getValue(SeamELResolver.java:49)
      8 frames
    3. EL
      ValueExpressionImpl.getValue
      1. javax.el.CompositeELResolver.getValue(CompositeELResolver.java:135)
      2. com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65)
      3. com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
      3 frames
    4. org.jboss.seam
      SeamListener.sessionCreated
      1. org.jboss.seam.util.UnifiedELValueBinding.getValue(UnifiedELValueBinding.java:34)
      2. org.jboss.seam.core.Expressions$1.getValue(Expressions.java:57)
      3. org.jboss.seam.Component$ELInitialValue.getValue(Component.java:2045)
      4. org.jboss.seam.Component.initialize(Component.java:1136)
      5. org.jboss.seam.Component.instantiateJavaBean(Component.java:1096)
      6. org.jboss.seam.Component.instantiate(Component.java:1056)
      7. org.jboss.seam.Component.newInstance(Component.java:1704)
      8. org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:165)
      9. org.jboss.seam.contexts.Lifecycle.beginSession(Lifecycle.java:225)
      10. org.jboss.seam.servlet.SeamListener.sessionCreated(SeamListener.java:41)
      10 frames
    5. Glassfish Core
      RequestFacade.getSession
      1. org.apache.catalina.session.StandardSession.tellNew(StandardSession.java:384)
      2. org.apache.catalina.session.StandardSession.setId(StandardSession.java:356)
      3. org.apache.catalina.session.ManagerBase.createSession(ManagerBase.java:824)
      4. org.apache.catalina.session.StandardManager.createSession(StandardManager.java:290)
      5. org.apache.catalina.connector.Request.doGetSession(Request.java:2225)
      6. org.apache.catalina.connector.Request.getSession(Request.java:2024)
      7. org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:831)
      7 frames
    6. com.icesoft.faces
      MainServlet.service
      1. com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:27)
      2. com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:41)
      3. com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:18)
      4. com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:51)
      4 frames
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      1 frame
    8. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      2 frames
    9. org.jboss.seam
      ExceptionFilter.doFilter
      1. org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
      1 frame
    10. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      2 frames
    11. JBoss Application Server Tomcat
      ReplyHeaderFilter.doFilter
      1. org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      1 frame
    12. Glassfish Core
      StandardContextValve.invoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      4 frames
    13. JBoss Application Server Tomcat
      JaccContextValve.invoke
      1. org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
      2. org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
      2 frames
    14. Glassfish Core
      ErrorReportValve.invoke
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      2. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      2 frames
    15. org.jboss.web
      CachedConnectionValve.invoke
      1. org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
      1 frame
    16. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      2. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      2 frames
    17. Grizzly HTTP
      MasterSlaveWorkerThread.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
      2. org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
      3. org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      4. org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
      4 frames
    18. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame