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

Akismet - Deploying Akismet throws errors

    Details

      Description

      Steps to reproduce:

      1. Startup portal
      2. Deploy Akismet from master-plugins\portlets\akismet-portlet

      Expected result: Akismet is deployed without errors

      Actual result:

       
      17:34:37,090 ERROR [localhost-startStop-1][HotDeployImpl:236] com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering hook for akismet-portlet 
      com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering hook for akismet-portlet 
              at com.liferay.portal.kernel.deploy.hot.BaseHotDeployListener.throwHotDeployException(BaseHotDeployListener.java:46) 
              at com.liferay.portal.deploy.hot.HookHotDeployListener.invokeDeploy(HookHotDeployListener.java:275) 
              at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:233) 
              at com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:102) 
              at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:28) 
              at com.liferay.portal.kernel.servlet.PluginContextListener.fireDeployEvent(PluginContextListener.java:169) 
              at com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginContextListener.java:159) 
              at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:44) 
              at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:74) 
              at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:58) 
              at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:54) 
              at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:121) 
              at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016) 
              at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5528) 
              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.deployDirectory(HostConfig.java:1263) 
              at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1948) 
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) 
              at java.util.concurrent.FutureTask.run(FutureTask.java:262) 
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
              at java.lang.Thread.run(Thread.java:745) 
      Caused by: java.lang.ClassNotFoundException: com.liferay.portlet.wiki.service.WikiPageLocalService 
              at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720) 
              at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571) 
              at com.liferay.portal.deploy.hot.HookHotDeployListener.initServices(HookHotDeployListener.java:1847) 
              at com.liferay.portal.deploy.hot.HookHotDeployListener.doInvokeDeploy(HookHotDeployListener.java:512) 
              at com.liferay.portal.deploy.hot.HookHotDeployListener.invokeDeploy(HookHotDeployListener.java:272) 
              ... 23 more 
      17:34:37,103 INFO [localhost-startStop-1][PortletHotDeployListener:262] Registering portlets for akismet-portlet 
      17:34:37,146 ERROR [liferay/scheduler_dispatch-2][DynamicQueryFactoryImpl:103] Unable find model com.liferay.wiki.model.impl.WikiPageImpl 
      java.lang.ClassNotFoundException: com.liferay.wiki.model.impl.WikiPageImpl 
              at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720) 
              at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571) 
              at com.liferay.portal.dao.orm.hibernate.DynamicQueryFactoryImpl.getImplClass(DynamicQueryFactoryImpl.java:128) 
              at com.liferay.portal.dao.orm.hibernate.DynamicQueryFactoryImpl.getImplClass(DynamicQueryFactoryImpl.java:90) 
              at com.liferay.portal.dao.orm.hibernate.DynamicQueryFactoryImpl.forClass(DynamicQueryFactoryImpl.java:50) 
              at com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil.forClass(DynamicQueryFactoryUtil.java:31) 
              at com.liferay.akismet.moderation.messaging.UpdateWikiPagesListener.updateWikiPages(UpdateWikiPagesListener.java:47) 
              at com.liferay.akismet.moderation.messaging.UpdateWikiPagesListener.doReceive(UpdateWikiPagesListener.java:42) 
              at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26) 
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
              at java.lang.reflect.Method.invoke(Method.java:606) 
              at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:67) 
              at com.sun.proxy.$Proxy777.receive(Unknown Source) 
              at com.liferay.portal.kernel.scheduler.messaging.SchedulerEventMessageListenerWrapper.receive(SchedulerEventMessageListenerWrapper.java:65)
              at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:72) 
              at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:52) 
              at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:756) 
              at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667) 
              at java.lang.Thread.run(Thread.java:745) 
      Exception in thread "liferay/scheduler_dispatch-2" java.lang.ExceptionInInitializerError 
              at com.liferay.akismet.moderation.messaging.UpdateWikiPagesListener.updateWikiPages(UpdateWikiPagesListener.java:61) 
              at com.liferay.akismet.moderation.messaging.UpdateWikiPagesListener.doReceive(UpdateWikiPagesListener.java:42) 
              at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26) 
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
              at java.lang.reflect.Method.invoke(Method.java:606) 
              at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:67) 
              at com.sun.proxy.$Proxy777.receive(Unknown Source) 
              at com.liferay.portal.kernel.scheduler.messaging.SchedulerEventMessageListenerWrapper.receive(SchedulerEventMessageListenerWrapper.java:65)
              at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:72) 
              at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:52) 
              at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:756) 
              at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667) 
              at java.lang.Thread.run(Thread.java:745) 
      Caused by: java.lang.NullPointerException 
              at com.liferay.wiki.service.WikiPageLocalServiceUtil.<clinit>(WikiPageLocalServiceUtil.java:1012) 
              ... 15 more 
      Loading file:/L:/public/master-bundles/tomcat-7.0.62/temp/0-akismet-portlet/WEB-INF/classes/portlet.properties 
      17:34:37,914 INFO [localhost-startStop-1][PortletHotDeployListener:409] 2 portlets for akismet-portlet are available for use 
      Aug 18, 2015 5:34:37 PM org.apache.catalina.startup.HostConfig deployDirectory 
      INFO: Deployment of web application directory L:\public\master-bundles\tomcat-7.0.62\webapps\akismet-portlet has finished in 3,858 ms 
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 1 week, 4 days ago

                  Packages

                  Version Package