Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-21098

Stacktrace setting custom theme when own site logo is disabled

    Details

      Description

      1. Control Panel> Portal Settings> Uncheck [Allow site administrators to use their own logo?]
      OR set in portal-ext.properties: company.security.site.logo=false
      2. Go to Manage Site Pages
      3. Change the theme of the public/private pages

      The Site pages will be temporarily unavailable and the following message appears in console:

      14:00:06,009 ERROR [render_portlet_jsp:154] java.lang.NullPointerException
      	at com.liferay.portlet.layoutsadmin.action.EditLayoutSetAction.updateLogo(EditLayoutSetAction.java:184)
      	at com.liferay.portlet.layoutsadmin.action.EditLayoutSetAction.updateLayoutSet(EditLayoutSetAction.java:147)
      	at com.liferay.portlet.layoutsadmin.action.EditLayoutSetAction.processAction(EditLayoutSetAction.java:74)
      	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:844)
      	at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:632)
      	at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:243)
      	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:172)
      	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
      	at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
      	at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:540)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tammy.fong Tammy Fong (Inactive)
              Reporter:
              alex.weirig@technolink.lu Alex Weirig
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                8 years, 5 weeks, 2 days ago

                  Packages

                  Version Package
                  --Sprint 11/12
                  6.2.0 CE M2