Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-1383

FacesContextFactoryImpl issue using trinidad any myfaces core

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.1.5-SNAPSHOT
    • None
    • Portlet_Support
    • None
    • pluto 1.1-dev, tomcat 5.5.17 running on linux 2.6.17

    Description

      trinidad won´t run in a portlet environment. problem is, that FacesContextFactoryImpl does not extend
      ServletFacesContextImpl. therefore this is an internal myfaces core problem that could hopefully be fixed.
      stacktrace of the crashing portlet using myfaces and trinidad:

      javax.portlet.PortletException:
      org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$CacheRenderKit
      at
      org.apache.myfaces.portlet.MyFacesGenericPortlet.handleExceptionFromLifecycle(MyFacesGenericPortlet.java:253)
      at
      org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:407)
      ....
      Nested Exception is java.lang.ClassCastException:
      org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$CacheRenderKit
      at
      org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:387)
      at
      net.portlets.logon.LogonPortlet.doView(LogonPortlet.java:88)
      ....

      Attachments

        1. bridge.patch
          32 kB
          Scott O'Bryan

        Activity

          People

            matzew Matthias Wessendorf
            nkalkhof nicolas kalkhof
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: