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

ClassNotFoundException on portal startup

    Details

      Description

      This is causing frontend tests on Master to fail:
      https://build.liferay.com/1/job/test-portal-branch-upstream-frontend-tomcat-mysql%5Bportal-smoke%5D(master)/label_exp=!build-1,test=PortalSmokeTestCase%23testSmoke/

      Steps to reproduce:

      1. Compile the latest master bundle.
      2. Start portal with default settings.

      Expected result:
      Portal could be started successfully.

      Actual result:
      ClassNotFoundException occurred.

      18:11:54,841 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyWorkflow
      18:11:54,894 INFO  [localhost-startStop-1][ServerDetector:139] Server supports hot deploy
      18:11:54,898 INFO  [localhost-startStop-1][PluginPackageUtil:1003] Reading plugin package for the root context
      18:11:55,780 ERROR [localhost-startStop-1][PortletBagFactory:300] java.lang.ClassNotFoundException: com.liferay.util.bridges.mvc.MVCPortlet
      java.lang.ClassNotFoundException: com.liferay.util.bridges.mvc.MVCPortlet
      	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
      	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
      	at com.liferay.portlet.PortletBagFactory.getPortletInstance(PortletBagFactory.java:297)
      	at com.liferay.portlet.PortletBagFactory.create(PortletBagFactory.java:104)
      	at com.liferay.portal.servlet.MainServlet.initPortlets(MainServlet.java:886)
      	at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:244)
      	at javax.servlet.GenericServlet.init(GenericServlet.java:160)
      	at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1280)
      	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1193)
      	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1088)
      	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5176)
      	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5460)
      	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:633)
      	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:656)
      	at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1635)
      	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:744)
      18:11:55,790 ERROR [localhost-startStop-1][PortletBagFactory:229] javax.portlet.PortletException: java.lang.NullPointerException
      javax.portlet.PortletException: java.lang.NullPointerException
      	at com.liferay.portlet.InvokerPortletFactoryImpl.create(InvokerPortletFactoryImpl.java:63)
      	at com.liferay.portlet.PortletInstanceFactoryImpl.init(PortletInstanceFactoryImpl.java:229)
      	at com.liferay.portlet.PortletInstanceFactoryImpl.create(PortletInstanceFactoryImpl.java:149)
      	at com.liferay.portlet.PortletInstanceFactoryUtil.create(PortletInstanceFactoryUtil.java:41)
      	at com.liferay.portlet.PortletBagFactory.create(PortletBagFactory.java:226)
      	at com.liferay.portal.servlet.MainServlet.initPortlets(MainServlet.java:886)
      	at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:244)
      	at javax.servlet.GenericServlet.init(GenericServlet.java:160)
      	at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1280)
      	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1193)
      	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1088)
      	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5176)
      	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5460)
      	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:633)
      	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:656)
      	at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1635)
      	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:744)
      Caused by: java.lang.NullPointerException
      	at com.liferay.portlet.InvokerPortletImpl.<init>(InvokerPortletImpl.java:176)
      	at com.liferay.portlet.InvokerPortletFactoryImpl.create(InvokerPortletFactoryImpl.java:56)
      	... 23 more
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              hong.zhao Hong Zhao
              Reporter:
              hong.zhao Hong Zhao
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  7.0.0 M2