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

NPE occurs when add a page based on master page with Dropdown fragment

    Details

      Description

      Step to reproduce:

      1. Add a master page with a Dropdown fragment
      2. Publish Master
      3. Add a page based on custom master

      Expected Results:
      There shouldn't NPE thrown in server console.

      Actual Results:
      The following NPE is thrown in server console.

      2020-12-21 07:20:44.935 ERROR [http-nio-8080-exec-8][IncludeTag:128] Current URL /web/test-site-name/a174476c-e102-d54c-9fbd-c7d6be134f55?p_l_mode=preview generates exception: java.lang.NullPointerException
      java.lang.NullPointerException
              at org.apache.jsp.render_005flayout_005fstructure.render_005flayout_005fstructure_jsp._jspService(render_005flayout_005fstructure_jsp.java:937)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)
              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)
              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
              at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:368)
              at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:380)
              at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153)
      

      Reproduced on:
      Tomcat 9.0.37 + MySQL 5.7. Portal master GIT ID: dab7ad790ee947a2abc6cc6b656a1caa46943ac5.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              yang.cao Yang Cao
              Reporter:
              yang.cao Yang Cao
              Participants of an Issue:
              Recent user:
              Chao Wang
              Engineering Assignee:
              Eudaldo Alonso
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 4 weeks, 6 days ago

                  Packages

                  Version Package
                  7.3.7 CE GA8
                  7.3.10 DXP FP2
                  7.3.X
                  7.4.0 CE GA1 DXP 7,4
                  7.4.13 DXP GA1
                  Master