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

Upgrade from '6.1.0 CE to 6.1.1 CE'/'6.1.0 CE to 6.1.20 EE' - Fails when there are bookmarks

    Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Epic/Theme:
    • Fix Priority:
      5

      Description

      Start 6.1.0 CE and follow steps below. Begin upgrade to 6.1.x EE or 6.2.x and you will see the error. Without bookmarks, upgrade works fine.

      FAIL: 6.1.0 CE -> 6.1.1 CE
      FAIL: 6.1.0 CE -> 6.1.20 EE
      FAIL: 6.1.0 CE -> 6.1.x EE
      FAIL: 6.1.0 CE -> 6.2.x
      PASS: 6.1.1 CE -> 6.1.20 EE

      1. Add a bookmark - Either method will work
        1. Control Panel -> Bookmarks -> Add Bookmark
        2. Add Bookmarks Portlet -> Add Bookmark
      2. Upgrade portal.
      3. Upgrade will fail 'Stopping the server due to unexpected startup errors'
      13:45:09,898 ERROR [pool-2-thread-1][MainServlet:215] com.liferay.portal.kernel.events.ActionException: com.liferay.portal.verify.VerifyException: com.liferay.portal.verify.VerifyException: java.lang.IllegalArgumentException: Permissioned model is null
      com.liferay.portal.kernel.events.ActionException: com.liferay.portal.verify.VerifyException: com.liferay.portal.verify.VerifyException: java.lang.IllegalArgumentException: Permissioned model is null
              at com.liferay.portal.events.StartupAction.run(StartupAction.java:58)
              at com.liferay.portal.servlet.MainServlet.processStartupEvents(MainServlet.java:1288)
              at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:212)
              at javax.servlet.GenericServlet.init(GenericServlet.java:160)
              at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1266)
              at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1185)
              at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1080)
              at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5015)
              at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5302)
              at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
              at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
              at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
              at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
              at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:649)
              at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1585)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
              at java.util.concurrent.FutureTask.run(FutureTask.java:138)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
              at java.lang.Thread.run(Thread.java:619)
      Caused by: com.liferay.portal.verify.VerifyException: com.liferay.portal.verify.VerifyException: java.lang.IllegalArgumentException: Permissioned model is null
              at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:87)
              at com.liferay.portal.verify.VerifyProcessUtil._verifyProcess(VerifyProcessUtil.java:113)
              at com.liferay.portal.verify.VerifyProcessUtil._verifyProcess(VerifyProcessUtil.java:78)
              at com.liferay.portal.verify.VerifyProcessUtil.verifyProcess(VerifyProcessUtil.java:47)
              at com.liferay.portal.events.StartupHelper.verifyProcess(StartupHelper.java:136)
              at com.liferay.portal.events.StartupHelperUtil.verifyProcess(StartupHelperUtil.java:52)
              at com.liferay.portal.tools.DBUpgrader.verify(DBUpgrader.java:210)
              at com.liferay.portal.events.StartupAction.doRun(StartupAction.java:182)
              at com.liferay.portal.ee.license.StartupAction.doRun(Unknown Source)
              at com.liferay.portal.events.StartupAction.run(StartupAction.java:52)
              ... 20 more
      Caused by: com.liferay.portal.verify.VerifyException: java.lang.IllegalArgumentException: Permissioned model is null
              at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:87)
              at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:92)
              at com.liferay.portal.verify.VerifyProcessSuite.doVerify(VerifyProcessSuite.java:47)
              at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:84)
              ... 29 more
      Caused by: java.lang.IllegalArgumentException: Permissioned model is null
              at com.liferay.portal.service.impl.ResourceLocalServiceImpl.addResources_6(ResourceLocalServiceImpl.java:989)
              at com.liferay.portal.service.impl.ResourceLocalServiceImpl.addResources(ResourceLocalServiceImpl.java:883)
              at com.liferay.portal.service.impl.ResourceLocalServiceImpl.addResources(ResourceLocalServiceImpl.java:158)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:122)
              at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
              at com.liferay.portal.security.pacl.PACLAdvice.invoke(PACLAdvice.java:51)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
              at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)
              at $Proxy77.addResources(Unknown Source)
              at com.liferay.portal.service.ResourceLocalServiceUtil.addResources(ResourceLocalServiceUtil.java:320)
              at com.liferay.portal.verify.VerifyResourcePermissions.verifyModel(VerifyResourcePermissions.java:111)
              at com.liferay.portal.verify.VerifyResourcePermissions.verifyModel(VerifyResourcePermissions.java:173)
              at com.liferay.portal.verify.VerifyResourcePermissions.doVerify(VerifyResourcePermissions.java:86)
              at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:84)
              ... 32 more
      Stopping the server due to unexpected startup errors
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pani.gui Pani Gui (Inactive)
                Reporter:
                michael.saechang Michael Saechang
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 6 weeks, 5 days ago