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
    • Similar Issues:
      Show 5 results 

      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
      

        Issue Links

          Activity

          Hide
          Michael Saechang added a comment -

          Broken as far back as Portal 6.1.x CE GIT ID: e74ceaf9e97235d0f2a48a93ce819671280ce573. (June 29, 2012)

          Show
          Michael Saechang added a comment - Broken as far back as Portal 6.1.x CE GIT ID: e74ceaf9e97235d0f2a48a93ce819671280ce573. (June 29, 2012)
          Hide
          Michael Saechang added a comment -

          Committed on:
          Portal 6.2.x GIT ID: 130dd048b19aa7c49d254c47424c108e7a978dd4.

          Show
          Michael Saechang added a comment - Committed on: Portal 6.2.x GIT ID: 130dd048b19aa7c49d254c47424c108e7a978dd4.
          Hide
          Pani Gui (Inactive) added a comment -

          PASSED Manual Testing following the steps in the description.

          Reproduced on:
          Tomcat 7.0 + MySQL 5. Portal 6.1.1 CE GA2.
          Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2.

          Upgrading fails when there are bookmarks on Bookmarks portlet.

          Fixed on:
          Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 2f94d2f0adacfddf13990d4b149bef8599a0f4a8.
          Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: d46c5b9619fa223287d31062590fed7caa51ecd7.

          Upgrading successfully and bookmarks on Bookmarks portlet are not lost.

          Show
          Pani Gui (Inactive) added a comment - PASSED Manual Testing following the steps in the description. Reproduced on: Tomcat 7.0 + MySQL 5. Portal 6.1.1 CE GA2. Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2. Upgrading fails when there are bookmarks on Bookmarks portlet. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 2f94d2f0adacfddf13990d4b149bef8599a0f4a8. Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: d46c5b9619fa223287d31062590fed7caa51ecd7. Upgrading successfully and bookmarks on Bookmarks portlet are not lost.

            People

            • Assignee:
              Pani Gui (Inactive)
              Reporter:
              Michael Saechang
              Recent user:
              Joel Garman
              Participants of an Issue:
            • Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

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

                Development

                  Structure Helper Panel