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

A blank page appears after restarting the modules which use "<liferay-util:include" in the jsp,jspf files

    Details

    • Fix Priority:
      3

      Description

      Description
      When setting "direct.servlet.context.reload=false" and restart "Liferay Server Admin Web" from Gogo shell, Server Administration page will be white out.
      "Liferay Server Admin Web" is one of the modules which have the same issues.
      the issue can be reproduced against the modules who uses "<liferay-util:include" in the jsp,jspf files.

      Steps to reproduce

      1. Setup DXP and install DE-37
      2. Set "direct.servlet.context.reload=false" to portal-ext.properties
      3. Start Liferay
      4. Login as test@liferay.com
      5. Goto Control Panel > Configration > Server Administration
        (Note that Server Administration page is displayed correctly.)
      6. Access to Gogo shell with "telnet localhost 11311" from console
      7. Check "Liferay Server Admin Web" module ID with "lb | grep "Liferay Server Admin Web""
      8. Stop "Liferay Server Admin Web" with "stop MODULE ID"
      9. Confirm that "Liferay Server Admin Web" has stopped with "lb | grep "Liferay Server Admin Web""
      10. Start "Liferay Server Admin Web" with "start MODULE ID"
      11. Confirm that "Liferay Server Admin Web" has started with "lb | grep "Liferay Server Admin Web""
      12. Reload the browser

       

      Expected result
      Server Administration page is displayed correctly.
      No error is thrown.

      Actual result
      Server Administration page will be blank
      The following error is thrown.

      2018-01-29 05:30:59.053 ERROR [http-nio-8080-exec-7][IncludeTag:128] Current URL /group/control_panel/manage?p_p_id=com_liferay_server_admin_web_portlet_ServerAdminPortlet&p_p_lifecycle=0&p_p_state=maximized generates exception: null
      java.lang.NullPointerException
      	at com.liferay.taglib.servlet.PageContextWrapper.handlePageException(PageContextWrapper.java:173)
      	at org.apache.jsp.server_jsp._jspService(server_jsp:653)
      	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      	at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:64)
      	at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)
      	at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
      	at com.liferay.taglib.util.IncludeTag.includePage(IncludeTag.java:372)
      	at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:349)
      	at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:202)
      	at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:86)
      	at org.apache.jsp.view_jsp._jspService(view_jsp:432)*Actual result*
      Server Administration page will be blank
      The following error is thrown.
      
      

       

       

      Reproduced in
      DE-37
      master GIT ID: eabcdfb714fb62a98a4b348ab525af902363163a
      70x GIT ID: f257fa7334f3d42247a5e5e151f7c2c4f8da1df4

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                david.zhang David Zhang (Inactive)
                Reporter:
                david.zhang David Zhang (Inactive)
                Participants of an Issue:
                Recent user:
                Daniel Couso
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

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

                  Packages

                  Version Package