java.lang.ClassCastException: org.apache.myfaces.context.servlet.ServletFacesContextImpl

Icesoft | toastkid | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    ClassCastException or double vision with MyFaces

    Icesoft | 1 decade ago | toastkid
    java.lang.ClassCastException: org.apache.myfaces.context.servlet.ServletFacesContextImpl
  2. 0

    Re:ICEfaces on JSR-168 portlet with Seam + facelets

    Icesoft | 1 decade ago | jarkko
    java.lang.ClassCastException: org.apache.myfaces.context.servlet.ServletFacesContextImpl cannot be cast to com.icesoft.faces.context.BridgeFacesContext
  3. 0

    MyFaces vs. JSF Sun Impl

    Icesoft | 1 decade ago | krista
    java.lang.ClassCastException: com.sun.faces.context.FacesContextImpl
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    iceface question about- file extension (.iface, .jsp), session storage etc

    Icesoft | 1 decade ago | imperfect
    java.lang.ClassCastException: com.sun.faces.context.FacesContextImpl
  6. 0

    ICEfaces with Websphere 5.1.x

    Icesoft | 1 decade ago | sbeera
    java.lang.ClassCastException: com.sun.faces.context.FacesContextImpl

    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.ClassCastException

      org.apache.myfaces.context.servlet.ServletFacesContextImpl

      at com.icesoft.faces.renderkit.dom_html_basic.FormRenderer.encodeBegin()
    2. com.icesoft.faces
      FormRenderer.encodeBegin
      1. com.icesoft.faces.renderkit.dom_html_basic.FormRenderer.encodeBegin(Unknown Source)
      1 frame
    3. JavaEE 7
      UIComponentBase.encodeBegin
      1. javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:512)
      1 frame
    4. Facelets
      FaceletViewHandler.renderView
      1. com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:555)
      2. com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:562)
      3. com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:457)
      3 frames
    5. Impl
      LifecycleImpl.render
      1. org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
      1 frame
    6. JavaEE 7
      FacesServlet.service
      1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
      1 frame
    7. 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
    8. Tomahawk
      ExtensionsFilter.doFilter
      1. org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
      1 frame
    9. 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
    10. JBoss Application Server Tomcat
      ReplyHeaderFilter.doFilter
      1. org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      1 frame
    11. 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
    12. JBoss Application Server Tomcat
      JaccContextValve.invoke
      1. org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54)
      2. org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174)
      3. org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
      3 frames
    13. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      2. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      3. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      4. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      4 frames
    14. Grizzly HTTP
      MasterSlaveWorkerThread.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
      2. org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
      3. org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      4. org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
      4 frames
    15. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame