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

SerialFactory breaks Portlet bridge

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.1.4
    • 1.1.5
    • None
    • None

    Description

      There is code in StartupServletContextListener that initializes the SerialFactory. Since portlets don't use the StartupServletContextListener, this never gets initialized and results in a NullPointerException.

      See:
      http://www.jboss.com/index.html?module=bb&op=viewtopic&t=93223
      http://wiki.apache.org/myfaces/PortletSerialFactoryWorkaround

      The handleSerialFactory() method should be in the FacesConfigurator instead of StartupServletContextListener. You can get the init params via ExternalContext.getInitParameter() instead of ServletContext.getInitParameter().

      Attachments

        Activity

          People

            ssilvert Stan D. Silvert
            ssilvert Stan D. Silvert
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: