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

Intermittent NullPointerException during reindex after performing an upgrade

    Details

      Description

      Incidences:

      Date Test Name Location Full Console
      2/10/2020 PortalSmokeUpgrade#ViewPortalSmokeArchive70106 EE Pull Request 02102020 
      2/19/2020 PortalSmokeUpgrade#ViewPortalSmokeArchive730 EE Pull Request 02192020
      2/20/2020 PortalSmokeUpgrade#ViewPortalSmokeArchive70106 EE Pull Request 02202020 
      2/27/2020 PortalSmokeUpgrade#ViewPortalSmokeArchive7110 EE Pull Request  02272020
      3/10/2020 PortalSmokeUpgrade#ViewPortalSmokeArchive7110   EE Pull Request 03102020 

      Some PortalSmokeUpgrades tests run into the following exception when performing a full reindex via search admin. This doesn't seem to have any functional impact as the tests complete without issue and only fail when asserting the logs.

          [exec] 18:30:57,238 ERROR [http-nio-8080-exec-10][IncludeTag:128] Current URL /group/control_panel/manage?p_p_id=com_liferay_portal_search_admin_web_portlet_SearchAdminPortlet&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&_com_liferay_portal_search_admin_web_portlet_SearchAdminPortlet_mvcRenderCommandName=%2Fsearch_admin%2Fview&_com_liferay_portal_search_admin_web_portlet_SearchAdminPortlet_tabs1=index-actions generates exception: java.lang.NullPointerException
           [exec] java.lang.NullPointerException
           [exec] 	at com.liferay.portal.kernel.backgroundtask.display.BaseBackgroundTaskDisplay.getBackgroundTaskStatusAttributeLong(BaseBackgroundTaskDisplay.java:146)
           [exec] 	at com.liferay.portal.search.internal.background.task.display.ReindexBackgroundTaskDisplay.getPercentage(ReindexBackgroundTaskDisplay.java:37)
           [exec] 	at com.liferay.portal.kernel.backgroundtask.display.BaseBackgroundTaskDisplay.hasPercentage(BaseBackgroundTaskDisplay.java:90)
           [exec] 	at org.apache.jsp.index_005factions_jsp._jspService(index_005factions_jsp.java:299)
           [exec] 	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
           [exec] 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
           [exec] 	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)
           [exec] 	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)
           [exec] 	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377)
           [exec] 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
           [exec] 	at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:373)
           [exec] 	at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:385)
           [exec] 	at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153)
           [exec] 	at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:62)
           [exec] 	at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:120)
           [exec] 	at org.eclipse.equinox.http.servlet.internal.servlet.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:48)
           [exec] 	at com.liferay.portal.servlet.DirectServletPathRegisterDispatcher.include(DirectServletPathRegisterDispatcher.java:67)
           [exec] 	at com.liferay.portal.servlet.DirectRequestDispatcherFactoryImpl$IndirectRequestDispatcher.include(DirectRequestDispatcherFactoryImpl.java:190)
           [exec] 	at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:79)
           [exec] 	at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53) 

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              brooke.dalton Brooke Dalton
              Reporter:
              brooke.dalton Brooke Dalton
              Participants of an Issue:
              Recent user:
              Enterprise Release HU
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  7.1.X
                  7.2.X
                  7.3.1 CE GA2
                  7.3.2 CE GA3
                  7.3.10 DXP GA1
                  Master