java.lang.ClassCastException: com.sun.faces.application.ApplicationAssociate

Icesoft | toashishk | 10 years 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

    Re:Icefaces + jboss-4.2.0.GA(JBOSS web)

    Icesoft | 10 years ago | toashishk
    java.lang.ClassCastException: com.sun.faces.application.ApplicationAssociate
  2. 0

    jsf & jboss

    Oracle Community | 8 years ago | 843844
    java.lang.ClassCastException: com.sun.faces.application.ApplicationAssociate

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.sun.faces.application.ApplicationAssociate

      at com.sun.faces.application.ApplicationAssociate.getInstance()
    2. JSF
      WebappLifecycleListener.attributeRemoved
      1. com.sun.faces.application.ApplicationAssociate.getInstance(ApplicationAssociate.java:180)
      2. com.sun.faces.application.WebappLifecycleListener.getAssociate(WebappLifecycleListener.java:289)
      3. com.sun.faces.application.WebappLifecycleListener.handleAttributeEvent(WebappLifecycleListener.java:225)
      4. com.sun.faces.application.WebappLifecycleListener.attributeRemoved(WebappLifecycleListener.java:126)
      4 frames
    3. Glassfish Core
      RequestFacade.removeAttribute
      1. org.apache.catalina.connector.Request.removeAttribute(Request.java:1357)
      2. org.apache.catalina.connector.RequestFacade.removeAttribute(RequestFacade.java:514)
      2 frames
    4. com.icesoft.faces
      D2DViewHandler.renderView
      1. com.icesoft.faces.context.RequestMapWrapper.removeAttribute(RequestMapWrapper.java:170)
      2. com.icesoft.faces.context.AbstractAttributeMap.remove(AbstractAttributeMap.java:157)
      3. com.icesoft.faces.context.AbstractAttributeMap$KeyIterator.remove(AbstractAttributeMap.java:238)
      4. com.icesoft.faces.context.BridgeExternalContext.resetRequestMap(BridgeExternalContext.java:397)
      5. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:561)
      6. com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:149)
      6 frames
    5. JSF
      LifecycleImpl.render
      1. com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
      2. com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:268)
      3. com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
      3 frames
    6. com.icesoft.faces
      PersistentFacesServlet.service
      1. com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet.service(PersistentFacesServlet.java:402)
      1 frame
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      1 frame
    8. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    9. JBoss Application Server Tomcat
      ReplyHeaderFilter.doFilter
      1. org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      1 frame
    10. Glassfish Core
      StandardContextValve.invoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      4 frames
    11. JBoss Application Server Tomcat
      JaccContextValve.invoke
      1. org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
      2. org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      2 frames
    12. Glassfish Core
      ErrorReportValve.invoke
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      2. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
      2 frames
    13. JBoss Application Server Tomcat
      CachedConnectionValve.invoke
      1. org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
      1 frame
    14. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      2. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
      2 frames
    15. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      3 frames
    16. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame