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

WebLogicInjectionProvider throws NullPointerException when servlet requests are destroyed

    Details

      Description

      When following the Upgrading Mojarra in Oracle WebLogic instructions, the following error can occur when successive requests are made to a JSF portlet:

      SEVERE: java.lang.NullPointerException
      com.sun.faces.spi.InjectionProviderException: java.lang.NullPointerException
      	at com.bea.faces.WeblogicInjectionProvider.invokePreDestroy(WeblogicInjectionProvider.java:49)
      	at com.sun.faces.mgbean.BeanBuilder.destroy(BeanBuilder.java:116)
      	at com.sun.faces.mgbean.BeanManager.destroy(BeanManager.java:282)
      	at com.sun.faces.application.WebappLifecycleListener.handleAttributeEvent(WebappLifecycleListener.java:286)
      	at com.sun.faces.application.WebappLifecycleListener.requestDestroyed(WebappLifecycleListener.java:111)
      	at com.sun.faces.config.ConfigureListener.requestDestroyed(ConfigureListener.java:348)
      	at weblogic.servlet.internal.EventsManager.notifyRequestLifetimeEvent(EventsManager.java:335)
      	at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:29)
      	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      	at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:527)
      	at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:447)
      	at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:602)
      	at com.liferay.portlet.InvokerPortletImpl.invokeRender(InvokerPortletImpl.java:675)
      	at com.liferay.portlet.InvokerPortletImpl.render(InvokerPortletImpl.java:382)
      	at jsp_servlet._html._portal.__render_portlet._jspService(__render_portlet.java:1269)
      	at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
       ...
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              neil.griffin Neil Griffin
              Reporter:
              neil.griffin Neil Griffin
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  liferay-faces-2.1.3-ga4
                  liferay-faces-3.0.3-legacy-ga4
                  liferay-faces-3.0.3-ga4
                  liferay-faces-3.1.3-ga4