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

NPE is thrown during verify process in case of having a wc with a separator

    Details

      Description

      Regression caused by LPS-67481

      1. Install Liferay 6.2 with fixpack portal-116-6210 or newer
      2. Start Liferay and create a Structure with a separator
      3. Create a webcontent with previous created structure
      4. Stop Liferay
      5. Configure verify process to execute in next start, add to portal-ext.properties:
        verify.frequency=-1
      6. Start Liferay: Following exception will be thrown:
        10:46:38,636 INFO  [localhost-startStop-1][VerifyProcess:65] Verifying com.liferay.portal.verify.VerifyJournal
        10:46:38,690 ERROR [localhost-startStop-1][VerifyJournal:518] Unable to update content for article 20465
        java.lang.NullPointerException
        	at com.liferay.portal.verify.VerifyJournal.updateDynamicElements(VerifyJournal.java:133)
        	at com.liferay.portal.verify.VerifyJournal.verifyDynamicElements(VerifyJournal.java:561)
        	at com.liferay.portal.verify.VerifyJournal$3.performAction(VerifyJournal.java:515)
        	at com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery.performActionsInSingleInterval(BaseActionableDynamicQuery.java:324)
        	at com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery.performActions(BaseActionableDynamicQuery.java:46)
        	at com.liferay.portal.verify.VerifyJournal.verifyDynamicElements(VerifyJournal.java:527)
        	at com.liferay.portal.verify.VerifyJournal.doVerify(VerifyJournal.java:99)
        	at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:68)
        	at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:76)
        	at com.liferay.portal.verify.VerifyProcessSuite.doVerify(VerifyProcessSuite.java:46)
        	at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:68)
        	at com.liferay.portal.verify.VerifyProcessUtil._verifyProcess(VerifyProcessUtil.java:111)
        	at com.liferay.portal.verify.VerifyProcessUtil._verifyProcess(VerifyProcessUtil.java:76)
        	at com.liferay.portal.verify.VerifyProcessUtil.verifyProcess(VerifyProcessUtil.java:46)
        	at com.liferay.portal.events.StartupHelper.verifyProcess(StartupHelper.java:140)
        	at com.liferay.portal.events.StartupHelperUtil.verifyProcess(StartupHelperUtil.java:67)
        	at com.liferay.portal.tools.DBUpgrader.verify(DBUpgrader.java:240)
        	at com.liferay.portal.events.StartupAction.doRun(StartupAction.java:239)
        	at com.liferay.portal.events.StartupAction.run(StartupAction.java:77)
        	at com.liferay.portal.servlet.MainServlet.processStartupEvents(MainServlet.java:1290)
        	at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:264)
        	at javax.servlet.GenericServlet.init(GenericServlet.java:158)
        	at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
        	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
        	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
        	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5266)
        	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5554)
        	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
        	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
        	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
        	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:677)
        	at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1912)
        	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        	at java.lang.Thread.run(Thread.java:745)
        

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              steven.gao Steven Gao (Inactive)
              Reporter:
              jorge.diaz Jorge Diaz
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 38 weeks, 2 days ago

                  Packages

                  Version Package
                  6.2.X EE