Details

    • Fix Priority:
      5

      Description

      Steps to reproduce:

      1. Start up tomcat
      2. Deploy the following portlets
        • Mail portlet
        • Opensocial portlet
        • Sevencogs hook
        • Sevencogs theme
        • Social networking portlet
        • Web form portlet
      3. The following error appears:
        • (Note: This error does not affect portal usage)
        • (Note: This happens when [setup.wizard.enabled=false] is set in the portal-ext.properties file)
       18:42:29,759 ERROR [HotDeployUtil:114] com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering hook for sevencogs-hook
      com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering hook for sevencogs-hook
              at com.liferay.portal.kernel.deploy.hot.BaseHotDeployListener.throwHotDeployException(BaseHotDeployListener.java:46)
              at com.liferay.portal.deploy.hot.HookHotDeployListener.invokeDeploy(HookHotDeployListener.java:310)
              at com.liferay.portal.kernel.deploy.hot.HotDeployUtil._doFireDeployEvent(HotDeployUtil.java:111)
              at com.liferay.portal.kernel.deploy.hot.HotDeployUtil._doFireDeployEvent(HotDeployUtil.java:126)
              at com.liferay.portal.kernel.deploy.hot.HotDeployUtil._fireDeployEvent(HotDeployUtil.java:188)
              at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:40)
              at com.liferay.portal.kernel.servlet.PortletContextListener.doPortalInit(PortletContextListener.java:101)
              at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42)
              at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:83)
              at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:66)
              at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:52)
              at com.liferay.portal.kernel.servlet.PortletContextListener.contextInitialized(PortletContextListener.java:55)
              at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4765)
              at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5260)
              at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
              at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
              at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:842)
              at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
              at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1095)
              at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1617)
              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.kernel.upgrade.UpgradeException: com.liferay.portal.kernel.upgrade.UpgradeException: java.lang.ArrayIndexOutOfBoundsException: -1
              at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:211)
              at com.liferay.portal.upgrade.UpgradeProcessUtil._upgradeProcess(UpgradeProcessUtil.java:93)
              at com.liferay.portal.upgrade.UpgradeProcessUtil.upgradeProcess(UpgradeProcessUtil.java:46)
              at com.liferay.portal.deploy.hot.HookHotDeployListener.updateRelease(HookHotDeployListener.java:2223)
              at com.liferay.portal.deploy.hot.HookHotDeployListener.initPortalProperties(HookHotDeployListener.java:1868)
              at com.liferay.portal.deploy.hot.HookHotDeployListener.doInvokeDeploy(HookHotDeployListener.java:668)
              at com.liferay.portal.deploy.hot.HookHotDeployListener.invokeDeploy(HookHotDeployListener.java:307)
              ... 24 more
      Caused by: com.liferay.portal.kernel.upgrade.UpgradeException: java.lang.ArrayIndexOutOfBoundsException: -1
              at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:211)
              at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:227)
              at com.liferay.sevencogs.hook.upgrade.UpgradeProcess_1_0_0.doUpgrade(UpgradeProcess_1_0_0.java:42)
              at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:208)
              ... 30 more
      Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
              at java.util.ArrayList.get(ArrayList.java:324)
              at com.liferay.portal.model.impl.LayoutTypePortletImpl.reorganizePortlets(LayoutTypePortletImpl.java:1094)
              at com.liferay.portal.model.impl.LayoutTypePortletImpl.setLayoutTemplateId(LayoutTypePortletImpl.java:1194)
              at com.liferay.sevencogs.hook.upgrade.v1_0_0.UpgradeCompany.addLayout(UpgradeCompany.java:306)
              at com.liferay.sevencogs.hook.upgrade.v1_0_0.UpgradeCompany.setupOrganizations(UpgradeCompany.java:1193)
              at com.liferay.sevencogs.hook.upgrade.v1_0_0.UpgradeCompany.doUpgrade(UpgradeCompany.java:721)
              at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:208)
              ... 33 more 

        Attachments

          Activity

            People

            Assignee:
            kevin.cho Kevin Cho (Inactive)
            Reporter:
            kevin.cho Kevin Cho (Inactive)
            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:
              9 years, 41 weeks, 4 days ago

                Packages

                Version Package
                --Sprint 11/12
                6.2.0 CE M2