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

NPE when opening the "Look and Feel" of a content page

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Duplicate
    • Affects Version/s: 7.2.10 DXP FP11, 7.2.X
    • Fix Version/s: None
    • Component/s: Pages > Content Pages
    • Labels:

      Description

      Regression caused by the backport of LPS-107465 to 7.2.x

      Steps to reproduce

      1. Create a content page
      2. Edit the page
      3. In the right bar, click on the "Look and Feel" button (the paint roller icon)
      4. Check the log file
        • Expected behavior: No NullPointerException is thrown in the log file
        • Wrong behavior: Following NullPointerException is thrown in the log file
          ERROR [http-nio-8080-exec-38][BaseJSPProductNavigationControlMenuEntry:95] Unable to include /entries/portlet_options.jsp
          javax.servlet.ServletException: java.lang.NullPointerException
                  at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:950)
                  at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:885)
                  at com.liferay.taglib.servlet.PageContextWrapper.handlePageException(PageContextWrapper.java:173)
                  at org.apache.jsp.entries.portlet_005foptions_jsp._jspService(portlet_005foptions_jsp.java:267)
                  at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
          [...]
                  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
                  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
                  at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
                  at java.lang.Thread.run(Thread.java:748)
          Caused by: java.lang.NullPointerException
                  at com.liferay.layout.admin.web.internal.portlet.configuration.icon.PermissionsPortletConfigurationIcon.isShow(PermissionsPortletConfigurationIcon.java:121)
                  at com.liferay.portal.kernel.portlet.configuration.icon.PortletConfigurationIconTracker._getPortletConfigurationIcons(PortletConfigurationIconTracker.java:185)
                  at com.liferay.portal.kernel.portlet.configuration.icon.PortletConfigurationIconTracker.getPortletConfigurationIcons(PortletConfigurationIconTracker.java:57)
                  at com.liferay.taglib.portletext.IconOptionsTag.getPortletConfigurationIcons(IconOptionsTag.java:52)
                  at com.liferay.taglib.portletext.IconOptionsTag.setAttributes(IconOptionsTag.java:143)
                  at com.liferay.taglib.util.IncludeTag.callSetAttributes(IncludeTag.java:181)
                  at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:74)
                  at org.apache.jsp.entries.portlet_005foptions_jsp._jspx_meth_liferay$1portlet_icon$1options_0(portlet_005foptions_jsp.java:286)
                  at org.apache.jsp.entries.portlet_005foptions_jsp._jspService(portlet_005foptions_jsp.java:259)
                  ... 287 more
          

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jorge.diaz Jorge Diaz
              Reporter:
              jorge.diaz Jorge Diaz
              Participants of an Issue:
              Recent user:
              Jorge Diaz
              Engineering Assignee:
              Jorge Diaz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                30 weeks, 5 days ago

                  Packages

                  Version Package