java.lang.ClassCastException: org.apache.myfaces.context.servlet.ServletFacesContextImpl cannot be cast to com.icesoft.faces.context.BridgeFacesContext

Icesoft | jarkko | 1 decade ago
  1. 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
  2. 0

    ClassCastException or double vision with MyFaces

    Icesoft | 1 decade ago | toastkid
    java.lang.ClassCastException: org.apache.myfaces.context.servlet.ServletFacesContextImpl
  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 cannot be cast to com.icesoft.faces.context.BridgeFacesContext

      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(FormRenderer.java:155)
      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.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:232)
      2. com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
      3. com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:580)
      3 frames
    5. com.icesoft.faces
      D2DViewHandler.renderView
      1. com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:136)
      1 frame
    6. Impl
      LifecycleImpl.render
      1. org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
      1 frame
    7. fi.jab.jsf
      MyFacesGenericPortlet.nonFacesRequest
      1. fi.jab.jsf.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:75)
      1 frame
    8. Impl
      MyFacesGenericPortlet.nonFacesRequest
      1. org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:297)
      1 frame
    9. fi.jab.jsf
      MyFacesGenericPortlet.facesRender
      1. fi.jab.jsf.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:48)
      2. fi.jab.jsf.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:92)
      2 frames
    10. Impl
      MyFacesGenericPortlet.doView
      1. org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:265)
      1 frame
    11. Java Portlet Specification V2.0
      GenericPortlet.render
      1. javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:235)
      2. javax.portlet.GenericPortlet.render(GenericPortlet.java:163)
      2 frames
    12. Liferay Portal Service
      PortletServlet.service
      1. com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:89)
      1 frame
    13. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      1 frame
    14. Glassfish Core
      ApplicationDispatcher.include
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
      4. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
      5. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
      5 frames
    15. Liferay Portal Service
      CachePortlet.render
      1. com.liferay.portlet.CachePortlet._invoke(CachePortlet.java:295)
      2. com.liferay.portlet.CachePortlet.render(CachePortlet.java:155)
      2 frames
    16. org.apache.jsp
      render_005fportlet_jsp._jspService
      1. org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:708)
      1 frame
    17. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
      1 frame
    18. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      1 frame
    19. GWT dev
      JspServlet.service
      1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
      2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
      3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
      3 frames
    20. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      1 frame
    21. Glassfish Core
      ApplicationDispatcher.include
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
      4. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
      5. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
      5 frames
    22. Liferay Portal Service
      PortalUtil.renderPortlet
      1. com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:948)
      1 frame
    23. com.liferay.portlet
      TemplateProcessor.processColumn
      1. com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processPortlet(RuntimePortletUtil.java:123)
      2. com.liferay.portlet.layoutconfiguration.util.velocity.PortletColumnLogic.processContent(PortletColumnLogic.java:76)
      3. com.liferay.portlet.layoutconfiguration.util.velocity.TemplateProcessor.processColumn(TemplateProcessor.java:58)
      3 frames
    24. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    25. Apache Velocity
      Velocity.evaluate
      1. org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:267)
      2. org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197)
      3. org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)
      4. org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220)
      5. org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
      6. org.apache.velocity.app.Velocity.evaluate(Velocity.java:316)
      7. org.apache.velocity.app.Velocity.evaluate(Velocity.java:210)
      7 frames
    26. com.liferay.portlet
      RuntimePortletUtil.processTemplate
      1. com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processTemplate(RuntimePortletUtil.java:165)
      2. com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processTemplate(RuntimePortletUtil.java:146)
      2 frames
    27. org.apache.jsp
      portlet_jsp._jspService
      1. org.apache.jsp.html.portal.layout.view.portlet_jsp._jspService(portlet_jsp.java:414)
      1 frame
    28. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
      1 frame
    29. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      1 frame
    30. GWT dev
      JspServlet.service
      1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
      2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
      3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
      3 frames
    31. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      1 frame
    32. Glassfish Core
      ApplicationDispatcher.include
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
      4. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
      5. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
      5 frames
    33. Liferay Util Taglib
      IncludeTag.doEndTag
      1. com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:63)
      1 frame
    34. org.apache.jsp
      layout_jsp._jspService
      1. org.apache.jsp.html.portal.layout_jsp._jspService(layout_jsp.java:417)
      1 frame
    35. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
      1 frame
    36. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      1 frame
    37. GWT dev
      JspServlet.service
      1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
      2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
      3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
      3 frames
    38. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      1 frame
    39. Glassfish Core
      ApplicationDispatcher.include
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
      4. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
      5. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
      5 frames
    40. Liferay Util Taglib
      IncludeTag.doEndTag
      1. com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:63)
      1 frame
    41. org.apache.jsp
      portal_005fnormal_jsp._jspService
      1. org.apache.jsp.html.themes.classic.templates.portal_005fnormal_jsp._jspService(portal_005fnormal_jsp.java:1024)
      1 frame
    42. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
      1 frame
    43. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      1 frame
    44. GWT dev
      JspServlet.service
      1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
      2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
      3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
      3 frames
    45. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      1 frame
    46. Glassfish Core
      ApplicationDispatcher.include
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
      4. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
      5. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
      5 frames
    47. Liferay Util Taglib
      IncludeTag.doEndTag
      1. com.liferay.taglib.util.ThemeUtil.includeJSP(ThemeUtil.java:139)
      2. com.liferay.taglib.util.ThemeUtil.include(ThemeUtil.java:93)
      3. com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:58)
      3 frames
    48. org.apache.jsp
      portal_jsp._jspService
      1. org.apache.jsp.html.common.themes.portal_jsp._jspx_meth_liferay$1theme_include_1(portal_jsp.java:555)
      2. org.apache.jsp.html.common.themes.portal_jsp._jspx_meth_c_otherwise_0(portal_jsp.java:527)
      3. org.apache.jsp.html.common.themes.portal_jsp._jspService(portal_jsp.java:433)
      3 frames
    49. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
      1 frame
    50. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      1 frame
    51. GWT dev
      JspServlet.service
      1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
      2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
      3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
      3 frames
    52. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      1 frame
    53. Glassfish Core
      ApplicationDispatcher.forward
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
      4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
      5. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
      6. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
      6 frames
    54. Liferay Portal Impl
      PortalRequestProcessor.doForward
      1. com.liferay.portal.struts.StrutsUtil.forward(StrutsUtil.java:93)
      2. com.liferay.portal.struts.PortalRequestProcessor.doForward(PortalRequestProcessor.java:214)
      2 frames
    55. struts
      RequestProcessor.process
      1. org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:239)
      2. org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:302)
      3. org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
      3 frames
    56. Liferay Portal Impl
      PortalRequestProcessor.process
      1. com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:189)
      1 frame
    57. struts
      ActionServlet.doGet
      1. org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
      2. org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
      2 frames
    58. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
      1 frame
    59. Liferay Portal Impl
      MainServlet.service
      1. com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:437)
      2. com.liferay.portal.servlet.MainServlet.service(MainServlet.java:825)
      2 frames
    60. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      1 frame
    61. 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
    62. com.liferay.filters
      StripFilter.doFilter
      1. com.liferay.filters.strip.StripFilter.doFilter(StripFilter.java:94)
      1 frame
    63. 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
    64. com.liferay.filters
      SecureFilter.doFilter
      1. com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:143)
      1 frame
    65. 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
    66. com.liferay.filters
      CompressionFilter.doFilter
      1. com.liferay.filters.compression.CompressionFilter.doFilter(CompressionFilter.java:115)
      1 frame
    67. 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
    68. com.liferay.portal
      LayoutCacheFilter.doFilter
      1. com.liferay.portal.servlet.filters.layoutcache.LayoutCacheFilter.doFilter(LayoutCacheFilter.java:205)
      1 frame
    69. 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
    70. JBoss Application Server Tomcat
      ReplyHeaderFilter.doFilter
      1. org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      1 frame
    71. 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
    72. JBoss Application Server Tomcat
      SecurityAssociationValve.invoke
      1. org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
      1 frame
    73. Glassfish Core
      AuthenticatorBase.invoke
      1. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
      1 frame
    74. JBoss Application Server Tomcat
      JaccContextValve.invoke
      1. org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
      1 frame
    75. 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
    76. org.jboss.web
      CachedConnectionValve.invoke
      1. org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
      1 frame
    77. 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
    78. 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
    79. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame