Details

      Description

      Rare startup failure seen on 7.2.x branch multiple times in CI testing over the last week.

      Occurs in different types of tests:
      Functional: https://testray.liferay.com/home/-/testray/case_results/703959060
      Integration: https://testray.liferay.com/home/-/testray/subtasks/704445194

           [exec] 02:47:17,375 INFO  [main][ModuleFrameworkImpl:1468] Starting initial bundles
           [exec] 30-Jul-2019 02:47:19.092 SEVERE [main] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of class [com.liferay.portal.spring.context.PortalContextLoaderListener]
           [exec]  java.lang.RuntimeException: java.lang.NullPointerException
           [exec] 	at com.liferay.portal.spring.context.PortalContextLoaderListener.contextInitialized(PortalContextLoaderListener.java:290)
           [exec] 	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4682)
           [exec] 	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5150)
           [exec] 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
           [exec] 	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:713)
           [exec] 	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
           [exec] 	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:695)
           [exec] 	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:631)
           [exec] 	at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1832)
           [exec] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
           [exec] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
           [exec] 	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
           [exec] 	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)
           [exec] 	at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:526)
           [exec] 	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:425)
           [exec] 	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1577)
           [exec] 	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)
           [exec] 	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
           [exec] 	at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:424)
           [exec] 	at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:367)
           [exec] 	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:929)
           [exec] 	at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:831)
           [exec] 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
           [exec] 	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1377)
           [exec] 	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1367)
           [exec] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
           [exec] 	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
           [exec] 	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
           [exec] 	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:902)
           [exec] 	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
           [exec] 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
           [exec] 	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:423)
           [exec] 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
           [exec] 	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:928)
           [exec] 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
           [exec] 	at org.apache.catalina.startup.Catalina.start(Catalina.java:634)
           [exec] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [exec] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec] 	at java.lang.reflect.Method.invoke(Method.java:498)
           [exec] 	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350)
           [exec] 	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)
           [exec] Caused by: java.lang.NullPointerException
           [exec] 	at org.apache.felix.resolver.ResolverImpl.mergeCandidatePackages(ResolverImpl.java:919)
           [exec] 	at org.apache.felix.resolver.ResolverImpl.getPackages(ResolverImpl.java:796)
           [exec] 	at org.apache.felix.resolver.ResolverImpl.access$4(ResolverImpl.java:761)
           [exec] 	at org.apache.felix.resolver.ResolverImpl$4.run(ResolverImpl.java:1188)
           [exec] 	at org.apache.felix.resolver.ResolverImpl$EnhancedExecutor$1.run(ResolverImpl.java:2462)
           [exec] 	at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$2$3.rejectedExecution(EquinoxContainerAdaptor.java:129)
           [exec] 	at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:823)
           [exec] 	at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1369)
           [exec] 	at org.eclipse.osgi.container.ModuleResolver$ResolveProcess.execute(ModuleResolver.java:1631)
           [exec] 	at org.apache.felix.resolver.ResolverImpl$EnhancedExecutor.execute(ResolverImpl.java:2456)
           [exec] 	at org.apache.felix.resolver.ResolverImpl.calculatePackageSpaces(ResolverImpl.java:1184)
           [exec] 	at org.apache.felix.resolver.ResolverImpl.checkConsistency(ResolverImpl.java:614)
           [exec] 	at org.apache.felix.resolver.ResolverImpl.findValidCandidates(ResolverImpl.java:574)
           [exec] 	at org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:437)
           [exec] 	at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:420)
           [exec] 	at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:374)
           [exec] 	at org.eclipse.osgi.container.ModuleResolver$ResolveProcess.resolveRevisions(ModuleResolver.java:1115)
           [exec] 	at org.eclipse.osgi.container.ModuleResolver$ResolveProcess.resolveRevisionsInBatch(ModuleResolver.java:1069)
           [exec] 	at org.eclipse.osgi.container.ModuleResolver$ResolveProcess.resolve(ModuleResolver.java:986)
           [exec] 	at org.eclipse.osgi.container.ModuleResolver.resolveDelta(ModuleResolver.java:167)
           [exec] 	at org.eclipse.osgi.container.ModuleContainer.resolveAndApply(ModuleContainer.java:526)
           [exec] 	at org.eclipse.osgi.container.ModuleContainer.resolve(ModuleContainer.java:484)
           [exec] 	at org.eclipse.osgi.container.ModuleContainer.resolve(ModuleContainer.java:474)
           [exec] 	at org.eclipse.osgi.container.ModuleContainer$ContainerWiring.resolveBundles(ModuleContainer.java:1340)
           [exec] 	at com.liferay.portal.bootstrap.ModuleFrameworkImpl._setUpInitialBundles(ModuleFrameworkImpl.java:1685)
           [exec] 	at com.liferay.portal.bootstrap.ModuleFrameworkImpl.startFramework(ModuleFrameworkImpl.java:403)
           [exec] 	at com.liferay.portal.module.framework.ModuleFrameworkUtilAdapter.startFramework(ModuleFrameworkUtilAdapter.java:100)
           [exec] 	at com.liferay.portal.spring.context.PortalContextLoaderListener.contextInitialized(PortalContextLoaderListener.java:285)
           [exec] 	... 41 more
           [exec] 
           [exec] 30-Jul-2019 02:47:19.094 SEVERE [main] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
           [exec] 02:47:19,507 ERROR [main][PortalContextLoaderListener:115] java.lang.NullPointerException
           [exec] java.lang.NullPointerException
           [exec] 	at com.liferay.portal.kernel.servlet.DirectServletRegistryUtil.clearServlets(DirectServletRegistryUtil.java:25)
           [exec] 	at com.liferay.portal.spring.context.PortalContextLoaderListener.contextDestroyed(PortalContextLoaderListener.java:112)
           [exec] 	at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4729)
           [exec] 	at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5388)
           [exec] 	at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:257)
           [exec] 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:187)
           [exec] 	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:713)
           [exec] 	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
           [exec] 	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:695)
           [exec] 	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:631)
           [exec] 	at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1832)
           [exec] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
           [exec] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
           [exec] 	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
           [exec] 	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)
           [exec] 	at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:526)
           [exec] 	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:425)
           [exec] 	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1577)
           [exec] 	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)
           [exec] 	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
           [exec] 	at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:424)
           [exec] 	at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:367)
           [exec] 	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:929)
           [exec] 	at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:831)
           [exec] 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
           [exec] 	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1377)
           [exec] 	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1367)
           [exec] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
           [exec] 	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
           [exec] 	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
           [exec] 	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:902)
           [exec] 	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
           [exec] 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
           [exec] 	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:423)
           [exec] 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
           [exec] 	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:928)
           [exec] 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
           [exec] 	at org.apache.catalina.startup.Catalina.start(Catalina.java:634)
           [exec] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [exec] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec] 	at java.lang.reflect.Method.invoke(Method.java:498)
           [exec] 	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350)
           [exec] 	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)
           [exec] 02:47:19,512 ERROR [main][PortalContextLoaderListener:122] java.lang.NullPointerException
           [exec] java.lang.NullPointerException
           [exec] 	at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.reset(HotDeployUtil.java:50)
           [exec] 	at com.liferay.portal.spring.context.PortalContextLoaderListener.contextDestroyed(PortalContextLoaderListener.java:119)
           [exec] 	at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4729)
           [exec] 	at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5388)
           [exec] 	at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:257)
           [exec] 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:187)
           [exec] 	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:713)
           [exec] 	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
           [exec] 	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:695)
           [exec] 	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:631)
           [exec] 	at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1832)
           [exec] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
           [exec] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
           [exec] 	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
           [exec] 	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)
           [exec] 	at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:526)
           [exec] 	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:425)
           [exec] 	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1577)
           [exec] 	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)
           [exec] 	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
           [exec] 	at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:424)
           [exec] 	at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:367)
           [exec] 	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:929)
           [exec] 	at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:831)
           [exec] 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
           [exec] 	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1377)
           [exec] 	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1367)
           [exec] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
           [exec] 	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
           [exec] 	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
           [exec] 	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:902)
           [exec] 	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
           [exec] 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
           [exec] 	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:423)
           [exec] 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
           [exec] 	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:928)
           [exec] 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
           [exec] 	at org.apache.catalina.startup.Catalina.start(Catalina.java:634)
           [exec] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [exec] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec] 	at java.lang.reflect.Method.invoke(Method.java:498)
           [exec] 	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350)
           [exec] 	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)
           [exec] 30-Jul-2019 02:47:19.472 SEVERE [main] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors
           [exec] 02:47:19,535 ERROR [main][PortalBeanLocatorUtil:66] BeanLocator is null
           [exec] 30-Jul-2019 02:47:19.535 SEVERE [main] org.apache.catalina.core.StandardContext.listenerStop Exception sending context destroyed event to listener instance of class [com.liferay.portal.spring.context.PortalContextLoaderListener]
           [exec]  com.liferay.portal.kernel.bean.BeanLocatorException: BeanLocator is not set
           [exec] 	at com.liferay.portal.kernel.bean.PortalBeanLocatorUtil.locate(PortalBeanLocatorUtil.java:68)
           [exec] 	at com.liferay.portal.spring.context.PortalContextLoaderListener.closeDataSource(PortalContextLoaderListener.java:363)
           [exec] 	at com.liferay.portal.spring.context.PortalContextLoaderListener.contextDestroyed(PortalContextLoaderListener.java:132)
           [exec] 	at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4729)
           [exec] 	at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5388)
           [exec] 	at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:257)
           [exec] 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:187)
           [exec] 	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:713)
           [exec] 	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
           [exec] 	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:695)
           [exec] 	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:631)
           [exec] 	at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1832)
           [exec] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
           [exec] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
           [exec] 	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
           [exec] 	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)
           [exec] 	at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:526)
           [exec] 	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:425)
           [exec] 	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1577)
           [exec] 	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)
           [exec] 	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
           [exec] 	at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:424)
           [exec] 	at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:367)
           [exec] 	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:929)
           [exec] 	at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:831)
           [exec] 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
           [exec] 	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1377)
           [exec] 	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1367)
           [exec] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
           [exec] 	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
           [exec] 	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
           [exec] 	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:902)
           [exec] 	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
           [exec] 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
           [exec] 	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:423)
           [exec] 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
           [exec] 	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:928)
           [exec] 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
           [exec] 	at org.apache.catalina.startup.Catalina.start(Catalina.java:634)
           [exec] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [exec] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec] 	at java.lang.reflect.Method.invoke(Method.java:498)
           [exec] 	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350)
           [exec] 	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)
      

       
      Full log: https://testray.liferay.com/reports/production/logs/test-1-22/1564449681715/test-portal-acceptance-pullrequest(7.2.x-private)/23/functional-tomcat90-mysql57-jdk8/483/2/jenkins-console.txt.gz

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                8 weeks, 6 days ago

                Packages

                Version Package
                7.1.10 DXP FP13
                7.1.X
                7.2.10 DXP FP1
                7.2.X
                Master