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

Can't view pages in site administration after upgrading from 7.1.10.1 > 7.2

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 7.1.10.1 SP1, Master
    • Fix Version/s: None
    • Labels:
    • Fix Priority:
      4

      Description

      Steps to reproduce:

      1. Start liferay dxp 7.1.10.1
      2. Go to Build > Pages Fragments
      3. Add or import fragments (I added a title, rich text, and a navigation menu)
      4. Add a new content page with fragments
      5. Close portal and upgrade to master
      6. Go to created page and switch to edit mode

      Expected result:

      No errors when trying to view pages and pages show up

      Actual result:

      Error in console log and pages are not present

      2019-03-28 15:29:30.955 ERROR [http-nio-8080-exec-6][IncludeTag:128] Current URL /group/guest/~/control_panel/manage?p_p_id=com_liferay_layout_admin_web_portlet_GroupPagesPortlet&p_p_lifecycle=0&p_p_state=maximized&p_v_l_s_g_id=20126&p_p_auth=C3HCA8Th generates exception: java.lang.NullPointerException
      java.lang.NullPointerException
      	at java.util.Date.getMillisOf(Date.java:958)
      	at java.util.Date.after(Date.java:931)
      	at com.liferay.layout.admin.web.internal.display.context.LayoutsAdminDisplayContext.getLayoutsJSONArray(LayoutsAdminDisplayContext.java:583)
      	at com.liferay.layout.admin.web.internal.display.context.LayoutsAdminDisplayContext._getLayoutColumnsJSONArray(LayoutsAdminDisplayContext.java:1601)
      	at com.liferay.layout.admin.web.internal.display.context.LayoutsAdminDisplayContext.getLayoutColumnsJSONArray(LayoutsAdminDisplayContext.java:496)
      	at org.apache.jsp.view_005flayouts_jsp._jspService(view_005flayouts_jsp:596)
      	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:321)
      	at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:332)
      	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:120)
      	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.DirectRequestDispatcherFactoryImpl$IndirectRequestDispatcher.include(DirectRequestDispatcherFactoryImpl.java:202)
      

      Reproduced on:

      Tomcat 9.0.10 + Oracle 12.2
      Tomcat 9.0.10 + MySQL 5.7

      Portal Master GIT Commit: dda4dbe1b969de58d0e34deda37b44e5e0bb57ef

      Base Branch Commit: 46233616a0d59ac479a81cefb67687ceb501ba17

        Attachments

          Activity

            People

            Assignee:
            brooke.dalton Brooke Dalton
            Reporter:
            brooke.dalton Brooke Dalton
            Participants of an Issue:
            Recent user:
            Marta Elicegui
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 30 weeks, 1 day ago

                Packages

                Version Package