java.lang.NullPointerException

ICEsoft JIRA Issue Tracker | Carmen Cristurean | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    showcase-portlet -> ace:list A NullPointerException occurs when accessing or sometimes reloading a page with all ace:list portlets added. This error cannot be consistently reproduced, however it usually occurred when accessing the page with the list portlets after restarting the server, usually in IE11 but also in FF34. It was also seen when accessing the page from a remote PC in IE11. Also, in IE11 a JS error occurs on page reload: SCRIPT5022: Missing resources for "ListControl" component. See "http://www.icesoft.org/wiki/display/ICE/mandatoryResourceConfiguration" for more details. File: ice05, Line: 4, Column: 469 Server error: 23:05:34,880 ERROR [RuntimePageImpl-1][render_portlet_jsp:132] null java.lang.NullPointerException at com.liferay.portal.kernel.util.StringBundler.length(StringBundler.java:179) at com.liferay.faces.bridge.container.liferay.PortletContainerLiferayCompatImpl.beforePhase( PortletContainerLiferayCompatImpl.java:102) at com.liferay.faces.bridge.event.PortletContainerProxyPhaseListener.beforePhase(PortletCont ainerProxyPhaseListener.java:50) at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:228) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:99) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:219) at com.liferay.faces.bridge.BridgePhaseRenderImpl.execute(BridgePhaseRenderImpl.java:229) at com.liferay.faces.bridge.BridgePhaseRenderImpl.execute(BridgePhaseRenderImpl.java:84) at com.liferay.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:117) at javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:255) at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:328) at javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:204) at javax.portlet.GenericPortlet.render(GenericPortlet.java:233) at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:103) at com.liferay.portlet.ScriptDataPortletFilter.doFilter(ScriptDataPortletFilter.java:55) at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:100) at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:64) at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:112) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:305)

    ICEsoft JIRA Issue Tracker | 2 years ago | Carmen Cristurean
    java.lang.NullPointerException
  2. 0

    showcase-portlet -> ace:list A NullPointerException occurs when accessing or sometimes reloading a page with all ace:list portlets added. This error cannot be consistently reproduced, however it usually occurred when accessing the page with the list portlets after restarting the server, usually in IE11 but also in FF34. It was also seen when accessing the page from a remote PC in IE11. Also, in IE11 a JS error occurs on page reload: SCRIPT5022: Missing resources for "ListControl" component. See "http://www.icesoft.org/wiki/display/ICE/mandatoryResourceConfiguration" for more details. File: ice05, Line: 4, Column: 469 Server error: 23:05:34,880 ERROR [RuntimePageImpl-1][render_portlet_jsp:132] null java.lang.NullPointerException at com.liferay.portal.kernel.util.StringBundler.length(StringBundler.java:179) at com.liferay.faces.bridge.container.liferay.PortletContainerLiferayCompatImpl.beforePhase( PortletContainerLiferayCompatImpl.java:102) at com.liferay.faces.bridge.event.PortletContainerProxyPhaseListener.beforePhase(PortletCont ainerProxyPhaseListener.java:50) at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:228) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:99) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:219) at com.liferay.faces.bridge.BridgePhaseRenderImpl.execute(BridgePhaseRenderImpl.java:229) at com.liferay.faces.bridge.BridgePhaseRenderImpl.execute(BridgePhaseRenderImpl.java:84) at com.liferay.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:117) at javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:255) at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:328) at javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:204) at javax.portlet.GenericPortlet.render(GenericPortlet.java:233) at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:103) at com.liferay.portlet.ScriptDataPortletFilter.doFilter(ScriptDataPortletFilter.java:55) at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:100) at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:64) at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:112) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:305)

    ICEsoft JIRA Issue Tracker | 2 years ago | Carmen Cristurean
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Help me with "NullPointerException"

    Oracle Community | 2 decades ago | 843835
    java.lang.NullPointerException
  5. 0

    NullPointerException in InternalNioOutputBuffer

    Apache Bugzilla | 1 year ago | anmalyshev
    java.lang.NullPointerException

    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.NullPointerException

      No message provided

      at com.liferay.portal.kernel.util.StringBundler.length()
    2. Liferay Portal Service
      StringBundler.length
      1. com.liferay.portal.kernel.util.StringBundler.length(StringBundler.java:179)
      1 frame
    3. Liferay Faces Bridge
      PortletContainerProxyPhaseListener.beforePhase
      1. com.liferay.faces.bridge.container.liferay.PortletContainerLiferayCompatImpl.beforePhase(PortletContainerLiferayCompatImpl.java:102)
      2. com.liferay.faces.bridge.event.PortletContainerProxyPhaseListener.beforePhase(PortletContainerProxyPhaseListener.java:50)
      2 frames
    4. JSF
      LifecycleImpl.render
      1. com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:228)
      2. com.sun.faces.lifecycle.Phase.doPhase(Phase.java:99)
      3. com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:219)
      3 frames
    5. Liferay Faces Bridge
      BridgeImpl.doFacesRequest
      1. com.liferay.faces.bridge.BridgePhaseRenderImpl.execute(BridgePhaseRenderImpl.java:229)
      2. com.liferay.faces.bridge.BridgePhaseRenderImpl.execute(BridgePhaseRenderImpl.java:84)
      3. com.liferay.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:117)
      3 frames
    6. MyFaces Portlet Bridge API
      GenericFacesPortlet.doView
      1. javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:255)
      1 frame
    7. Java Portlet Specification V2.0
      GenericPortlet.doDispatch
      1. javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:328)
      1 frame
    8. MyFaces Portlet Bridge API
      GenericFacesPortlet.doDispatch
      1. javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:204)
      1 frame
    9. Java Portlet Specification V2.0
      GenericPortlet.render
      1. javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
      1 frame
    10. Liferay Portal Service
      PortletServlet.service
      1. com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:103)
      2. com.liferay.portlet.ScriptDataPortletFilter.doFilter(ScriptDataPortletFilter.java:55)
      3. com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:100)
      4. com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:64)
      5. com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:112)
      5 frames
    11. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      1 frame
    12. Glassfish Core
      ApplicationFilterChain.internalDoFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      1 frame