java.lang.NullPointerException

Liferay Issues | Davide Rossi | 5 years ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Attempting to change a theme in Manage Pages and Manage Pages through the Control Panel returns "Manage Pages is temporarily unavailable" or through the Control Panel "site Settings is temporarily unavailable". Also after Clicking Manage -> Page, opening any Overlay through the Manage Drop Down will open Manage Page until the Browser is refreshed. Manage Pages works in Revision: 91384. Steps to reproduce # Manage -> Page # Click Look and Feel # Click "look and feel of the Public Pages" # Flag the Green Radio Field # Click Save # "Manage Pages is temporarily unavailable" is displayed and an exception is thrown in the console # Refresh the Browser # Click Manage -> Page # Click Close dialog # Manage -> Site Settings # Manage Page overlay is opened instead of Site Settings {code} 20:31:59,318 ERROR [render_portlet_jsp:154] java.lang.IllegalArgumentException: File D:\projects\trunk\bundles\tomcat-7.0.21\temp\upload_00000021. does not exist at com.liferay.portal.kernel.io.ByteArrayFileInputStream.<init>(ByteArrayFileInputStream.java:35) at com.liferay.portal.kernel.io.ByteArrayFileInputStream.<init>(ByteArrayFileInputStream.java:28) at com.liferay.portlet.layoutsadmin.action.EditLayoutSetAction.updateLogo(EditLayoutSetAction.java:200) at com.liferay.portlet.layoutsadmin.action.EditLayoutSetAction.updateLayoutSet(EditLayoutSetAction.java:169) at com.liferay.portlet.layoutsadmin.action.EditLayoutSetAction.processAction(EditLayoutSetAction.java:80) at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:175) at com.liferay.portlet.StrutsPortlet.processAction(StrutsPortlet.java:190) at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:70) at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:48) at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:653) at com.liferay.portlet.InvokerPortletImpl.invokeAction(InvokerPortletImpl.java:689) at com.liferay.portlet.InvokerPortletImpl.processAction(InvokerPortletImpl.java:361) at com.liferay.portal.action.LayoutAction.processPortletRequest(LayoutAction.java:845) at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:633) at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:244) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:173) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) {code} Through the Control Panel # Go To -> Control Panel # Click Site Pages # Look and Feel # Flag the Green Radio Field # Click Save # "Site Pages is temporarily unavailable." is returned and the same exception is thrown in the console

    Liferay Issues | 5 years ago | Davide Rossi
    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.portlet.layoutsadmin.action.EditLayoutSetAction.updateLogo()
    2. Liferay Portal Impl
      PortletRequestProcessor.process
      1. com.liferay.portlet.layoutsadmin.action.EditLayoutSetAction.updateLogo(EditLayoutSetAction.java:209)
      2. com.liferay.portlet.layoutsadmin.action.EditLayoutSetAction.updateLayoutSet(EditLayoutSetAction.java:170)
      3. com.liferay.portlet.layoutsadmin.action.EditLayoutSetAction.processAction(EditLayoutSetAction.java:80)
      4. com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:175)
      4 frames
    3. Liferay Portal Service
      InvokerPortletImpl.processAction
      1. com.liferay.portlet.StrutsPortlet.processAction(StrutsPortlet.java:190)
      2. com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:70)
      3. com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:48)
      4. com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:651)
      5. com.liferay.portlet.InvokerPortletImpl.invokeAction(InvokerPortletImpl.java:686)
      6. com.liferay.portlet.InvokerPortletImpl.processAction(InvokerPortletImpl.java:361)
      6 frames
    4. Liferay Portal Impl
      LayoutAction.execute
      1. com.liferay.portal.action.LayoutAction.processPortletRequest(LayoutAction.java:845)
      2. com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:633)
      3. com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:244)
      3 frames
    5. struts
      RequestProcessor.process
      1. org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
      2. org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
      2 frames
    6. Liferay Portal Impl
      PortalRequestProcessor.process
      1. com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:174)
      1 frame
    7. struts
      ActionServlet.doPost
      1. org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
      2. org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
      2 frames
    8. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
      1 frame
    9. Liferay Portal Impl
      MainServlet.callParentService
      1. com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:533)
      1 frame