Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Duplicate
    • Affects Version/s: 6.1.1 CE GA2, 6.2.0 CE M2
    • Fix Version/s: --Sprint 11/12, 6.2.0 CE M2
    • Labels:
      None
    • Environment:

      Description

      The Mail portlet plugin deploys with the following console error:

      17:24:52,126 ERROR [HotDeployUtil:127] com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering hook for mail-portlet
      com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering hook for mail-portlet
              at com.liferay.portal.kernel.deploy.hot.BaseHotDeployListener.throwHotDeployException(BaseHotDeployListener.java:46)
              at com.liferay.portal.deploy.hot.HookHotDeployListener.invokeDeploy(HookHotDeployListener.java:264)
              at com.liferay.portal.kernel.deploy.hot.HotDeployUtil._doFireDeployEvent(HotDeployUtil.java:124)
              at com.liferay.portal.kernel.deploy.hot.HotDeployUtil._fireDeployEvent(HotDeployUtil.java:203)
              at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:50)
              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:61)
              at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:53)
              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:4779)
              at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5273)
              at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
              at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:897)
              at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:873)
              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.events.ActionException: java.lang.NullPointerException
              at com.liferay.mail.hook.events.StartupAction.run(StartupAction.java:37)
              at com.liferay.portal.kernel.events.InvokerSimpleAction.run(InvokerSimpleAction.java:42)
              at com.liferay.portal.deploy.hot.HookHotDeployListener.initEvent(HookHotDeployListener.java:1376)
              at com.liferay.portal.deploy.hot.HookHotDeployListener.initEvents(HookHotDeployListener.java:1438)
              at com.liferay.portal.deploy.hot.HookHotDeployListener.doInvokeDeploy(HookHotDeployListener.java:593)
              at com.liferay.portal.deploy.hot.HookHotDeployListener.invokeDeploy(HookHotDeployListener.java:261)
              ... 23 more
      Caused by: java.lang.NullPointerException
              at com.liferay.mail.mailbox.MailboxFactoryUtil.getMailboxFactories(MailboxFactoryUtil.java:67)
              at com.liferay.mail.hook.events.StartupAction.initializeMailboxFactories(StartupAction.java:45)
              at com.liferay.mail.hook.events.StartupAction.run(StartupAction.java:34)
              ... 28 more
      

      Otherwise, the portlet functions as it should.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              michael.han Michael Han (Inactive)
              Reporter:
              catherine.lui Catherine Lui (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:
                8 years, 33 weeks, 2 days ago

                  Packages

                  Version Package
                  --Sprint 11/12
                  6.2.0 CE M2