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

java.lang.NullPointerException when configuring content pages

    Details

      Description

      Steps to reproduce:

      1. Go to Build > Pages
      2. Click Add button (Plus Sign)
      3. Create a content page
      4. For the page you created, click Kabab menu
      5. Click Configure

      Expected result:
      No console errors.

      Actual result:

      2018-05-30 23:08:10.373 ERROR [http-nio-8080-exec-5][IncludeTag:128] Current URL /group/site-name/~/control_panel/manage?p_p_id=com_liferay_layout_admin_web_portlet_GroupPagesPortlet&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&_com_liferay_layout_admin_web_portlet_GroupPagesPortlet_mvcRenderCommandName=%2Flayout%2Fedit_layout&_com_liferay_layout_admin_web_portlet_GroupPagesPortlet_redirect=%2Fgroup%2Fsite-name%2F~%2Fcontrol_panel%2Fmanage%3Fp_p_id%3Dcom_liferay_layout_admin_web_portlet_GroupPagesPortlet%26p_p_lifecycle%3D0%26p_p_state%3Dmaximized%26p_p_mode%3Dview%26_com_liferay_layout_admin_web_portlet_GroupPagesPortlet_mvcRenderCommandName%3D%252Flayout%252Fview%26_com_liferay_layout_admin_web_portlet_GroupPagesPortlet_tabs1%3Dpages%26_com_liferay_layout_admin_web_portlet_GroupPagesPortlet_navigation%3Dpublic-pages%26_com_liferay_layout_admin_web_portlet_GroupPagesPortlet_orderByCol%3Dcreate-date%26_com_liferay_layout_admin_web_portlet_GroupPagesPortlet_orderByType%3Dasc%26p_p_auth%3DrNEZdoLa&_com_liferay_layout_admin_web_portlet_GroupPagesPortlet_backURL=%2Fgroup%2Fsite-name%2F~%2Fcontrol_panel%2Fmanage%3Fp_p_id%3Dcom_liferay_layout_admin_web_portlet_GroupPagesPortlet%26p_p_lifecycle%3D0%26p_p_state%3Dmaximized%26p_p_mode%3Dview%26_com_liferay_layout_admin_web_portlet_GroupPagesPortlet_mvcRenderCommandName%3D%252Flayout%252Fview%26_com_liferay_layout_admin_web_portlet_GroupPagesPortlet_tabs1%3Dpages%26_com_liferay_layout_admin_web_portlet_GroupPagesPortlet_navigation%3Dpublic-pages%26_com_liferay_layout_admin_web_portlet_GroupPagesPortlet_orderByCol%3Dcreate-date%26_com_liferay_layout_admin_web_portlet_GroupPagesPortlet_orderByType%3Dasc%26p_p_auth%3DrNEZdoLa&_com_liferay_layout_admin_web_portlet_GroupPagesPortlet_portletResource=com_liferay_layout_admin_web_portlet_GroupPagesPortlet&_com_liferay_layout_admin_web_portlet_GroupPagesPortlet_groupId=36367&p_r_p_selPlid=36379&p_r_p_privateLayout=false&p_p_auth=rNEZdoLa generates exception: java.lang.NullPointerException
      java.lang.NullPointerException
              at org.eclipse.equinox.http.servlet.internal.servlet.ServletContextAdaptor.getRequestDispatcher(ServletContextAdaptor.java:202)
              at org.eclipse.equinox.http.servlet.internal.servlet.ServletContextAdaptor.invoke(ServletContextAdaptor.java:406)
              at org.eclipse.equinox.http.servlet.internal.servlet.ServletContextAdaptor$AdaptorInvocationHandler.invoke(ServletContextAdaptor.java:434)
              at com.liferay.portal.kernel.model.impl.BaseLayoutTypeControllerImpl.includeEditContent(BaseLayoutTypeControllerImpl.java:64)
              at org.apache.jsp.layout_005ftype_005fresources_jsp._jspService(layout_005ftype_005fresources_jsp.java:516)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
              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:741)
              at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:345)
              at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:356)
              at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153)
              at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:62)
              at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:118)
              at org.eclipse.equinox.http.servlet.internal.servlet.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:48)
              at com.liferay.portal.servlet.DirectServletPathRegisterDispatcher.include(DirectServletPathRegisterDispatcher.java:67)
              at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)
              at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
      

        Attachments

          Activity

            People

            • Assignee:
              koor.gai Koor Gai
              Reporter:
              koor.gai Koor Gai
              Participants of an Issue:
              Recent user:
              Jason Pince
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 10 weeks, 2 days ago

                Packages

                Version Package
                7.1.0 Beta 3
                7.1.X
                Master