Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-2622

NullPointerException in ResponseWriterBridgeCompat_2_0_Impl when rendering a WAR portlet with Liferay 7 + WildFly 10

    Details

      Description

      Steps to Reproduce:

      • Deploy the jsf-applicant-portlet on Liferay 7 + WildFly 10
      • Add the "JSF Applicant" portlet to a portal page
      • View the portal page

      If the bug still exists, then the following stacktrace will appear in the $LIFERAY_HOME/logs/liferay.log file (not the WildFly console):

      Caused by: java.lang.ExceptionInInitializerError
      	at java.lang.Class.forName0(Native Method)
      	at java.lang.Class.forName(Class.java:340)
      	at com.sun.faces.util.Util.loadClass(Util.java:364)
      	at com.sun.faces.config.processor.AbstractConfigProcessor.loadClass(AbstractConfigProcessor.java:420)
      	at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:301)
      	at com.sun.faces.config.processor.ApplicationConfigProcessor.setViewHandler(ApplicationConfigProcessor.java:621)
      	at com.sun.faces.config.processor.ApplicationConfigProcessor.processViewHandlers(ApplicationConfigProcessor.java:961)
      	at com.sun.faces.config.processor.ApplicationConfigProcessor.process(ApplicationConfigProcessor.java:356)
      	at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:152)
      	at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:137)
      	at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:152)
      	at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:239)
      	at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:439)
      	at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:227)
      	... 10 more
      Caused by: java.lang.NullPointerException
      	at com.liferay.faces.bridge.application.internal.ViewHandlerCompatImpl.<clinit>(ViewHandlerCompatImpl.java:45)
      	... 24 more
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                bridge-impl-3.0.0
                bridge-impl-4.0.0
                bridge-impl-5.0.0