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

Intermittent unable to validate fragment entry startup failure

    Description

    PortalLogAssertorTest#testScanXMLLog occasionally fails with:

         [exec] 04:50:28,405 ERROR [main][FragmentCollectionContributorTrackerImpl:235] Unable to validate fragment entry
         [exec] com.liferay.fragment.exception.FragmentEntryContentException: There is no widget available for alias nav.
         [exec] 	at com.liferay.fragment.entry.processor.portlet.PortletFragmentEntryProcessor.validateFragmentEntryHTML(PortletFragmentEntryProcessor.java:263)
         [exec] 	at com.liferay.fragment.internal.processor.FragmentEntryProcessorRegistryImpl.validateFragmentEntryHTML(FragmentEntryProcessorRegistryImpl.java:151)
         [exec] 	at com.liferay.fragment.internal.contributor.FragmentCollectionContributorTrackerImpl._validateFragmentEntry(FragmentCollectionContributorTrackerImpl.java:229)
         [exec] 	at com.liferay.fragment.internal.contributor.FragmentCollectionContributorTrackerImpl._getFragmentEntries(FragmentCollectionContributorTrackerImpl.java:193)
         [exec] 	at com.liferay.fragment.internal.contributor.FragmentCollectionContributorTrackerImpl.access$000(FragmentCollectionContributorTrackerImpl.java:59)
         [exec] 	at com.liferay.fragment.internal.contributor.FragmentCollectionContributorTrackerImpl$FragmentCollectionContributorTrackerServiceTrackerCustomizer.addingService(FragmentCollectionContributorTrackerImpl.java:274)
         [exec] 	at com.liferay.fragment.internal.contributor.FragmentCollectionContributorTrackerImpl$FragmentCollectionContributorTrackerServiceTrackerCustomizer.addingService(FragmentCollectionContributorTrackerImpl.java:257)
         [exec] 	at com.liferay.osgi.service.tracker.collections.internal.map.ServiceTrackerMapImpl$DefaultEmitter.emit(ServiceTrackerMapImpl.java:185)
         [exec] 	at com.liferay.fragment.internal.contributor.FragmentCollectionContributorTrackerImpl.lambda$activate$4(FragmentCollectionContributorTrackerImpl.java:162)
         [exec] 	at com.liferay.osgi.service.tracker.collections.internal.map.ServiceTrackerMapImpl$ServiceReferenceServiceTrackerCustomizer.addingService(ServiceTrackerMapImpl.java:241)
         [exec] 	at com.liferay.osgi.service.tracker.collections.internal.map.ServiceTrackerMapImpl$ServiceReferenceServiceTrackerCustomizer.addingService(ServiceTrackerMapImpl.java:229)
         [exec] 	at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:943)
         [exec] 	at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:1)
         [exec] 	at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
         [exec] 	at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229)
         [exec] 	at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:903)
         [exec] 	at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:109)
         [exec] 	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:891)
         [exec] 	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:804)
         [exec] 	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:127)
         [exec] 	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:228)
         [exec] 	at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:469)
         [exec] 	at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:906)
         [exec] 	at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:892)
         [exec] 	at org.apache.felix.scr.impl.manager.RegistrationManager.changeRegistration(RegistrationManager.java:128)
         [exec] 	at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerService(AbstractComponentManager.java:959)
         [exec] 	at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:732)
         [exec] 	at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:1053)
         [exec] 	at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:1007)
         [exec] 	at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1216)
         [exec] 	at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1137)
         [exec] 	at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.trackAdding(ServiceTracker.java:944)
         [exec] 	at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.track(ServiceTracker.java:880)
         [exec] 	at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:1168)
         [exec] 	at org.apache.felix.scr.impl.BundleComponentActivator$ListenerInfo.serviceChanged(BundleComponentActivator.java:125)
         [exec] 	at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:109)
         [exec] 	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:891)
         [exec] 	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:804)
         [exec] 	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:127)
         [exec] 	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:228)
         [exec] 	at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:469)
         [exec] 	at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:487)
         [exec] 	at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:1004)
         [exec] 	at com.liferay.portal.osgi.web.servlet.context.helper.internal.ServletContextHelperRegistrationImpl.registerServletContext(ServletContextHelperRegistrationImpl.java:460)
         [exec] 	at com.liferay.portal.osgi.web.servlet.context.helper.internal.ServletContextHelperRegistrationImpl.<init>(ServletContextHelperRegistrationImpl.java:137)
         [exec] 	at com.liferay.portal.osgi.web.servlet.context.helper.internal.ServletContextHelperRegistrationServiceFactory.getService(ServletContextHelperRegistrationServiceFactory.java:50)
         [exec] 	at com.liferay.portal.osgi.web.servlet.context.helper.internal.ServletContextHelperRegistrationServiceFactory.getService(ServletContextHelperRegistrationServiceFactory.java:32)
         [exec] 	at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse$1.run(ServiceFactoryUse.java:212)
         [exec] 	at java.security.AccessController.doPrivileged(Native Method)
         [exec] 	at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.factoryGetService(ServiceFactoryUse.java:210)
         [exec] 	at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.getService(ServiceFactoryUse.java:111)
         [exec] 	at org.eclipse.osgi.internal.serviceregistry.ServiceConsumer$2.getService(ServiceConsumer.java:45)
         [exec] 	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:524)
         [exec] 	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.getService(ServiceRegistry.java:464)
         [exec] 	at org.eclipse.osgi.internal.framework.BundleContextImpl.getService(BundleContextImpl.java:624)
         [exec] 	at com.liferay.portal.osgi.web.wab.extender.internal.WabBundleProcessor.initContext(WabBundleProcessor.java:459)
         [exec] 	at com.liferay.portal.osgi.web.wab.extender.internal.WabBundleProcessor.init(WabBundleProcessor.java:140)
         [exec] 	at com.liferay.portal.osgi.web.wab.extender.internal.WebBundleDeployer._initWabBundle(WebBundleDeployer.java:159)
         [exec] 	at com.liferay.portal.osgi.web.wab.extender.internal.WebBundleDeployer.doStart(WebBundleDeployer.java:68)
         [exec] 	at com.liferay.portal.osgi.web.wab.extender.internal.WabFactory$WABExtension.start(WabFactory.java:113)
         [exec] 	at com.liferay.portal.osgi.web.wab.extender.internal.WabFactory.addingBundle(WabFactory.java:66)
         [exec] 	at com.liferay.portal.osgi.web.wab.extender.internal.WabFactory.addingBundle(WabFactory.java:48)
         [exec] 	at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:475)
         [exec] 	at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:1)
         [exec] 	at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
         [exec] 	at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:183)
         [exec] 	at org.osgi.util.tracker.BundleTracker.open(BundleTracker.java:159)
         [exec] 	at com.liferay.portal.osgi.web.wab.extender.internal.WabFactory.activate(WabFactory.java:142)
         [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.felix.scr.impl.inject.methods.BaseMethod.invokeMethod(BaseMethod.java:228)
         [exec] 	at org.apache.felix.scr.impl.inject.methods.BaseMethod.access$500(BaseMethod.java:41)
         [exec] 	at org.apache.felix.scr.impl.inject.methods.BaseMethod$Resolved.invoke(BaseMethod.java:664)
         [exec] 	at org.apache.felix.scr.impl.inject.methods.BaseMethod.invoke(BaseMethod.java:510)
         [exec] 	at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:317)
         [exec] 	at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:307)
         [exec] 	at org.apache.felix.scr.impl.manager.SingleComponentManager.createImplementationObject(SingleComponentManager.java:341)
         [exec] 	at org.apache.felix.scr.impl.manager.SingleComponentManager.createComponent(SingleComponentManager.java:114)
         [exec] 	at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:983)
         [exec] 	at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:956)
         [exec] 	at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:765)
         [exec] 	at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:1053)
         [exec] 	at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:1007)
         [exec] 	at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1216)
         [exec] 	at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1137)
         [exec] 	at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.trackAdding(ServiceTracker.java:944)
         [exec] 	at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.track(ServiceTracker.java:880)
         [exec] 	at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:1168)
         [exec] 	at org.apache.felix.scr.impl.BundleComponentActivator$ListenerInfo.serviceChanged(BundleComponentActivator.java:125)
         [exec] 	at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:109)
         [exec] 	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:891)
         [exec] 	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:804)
         [exec] 	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:127)
         [exec] 	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:228)
         [exec] 	at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:469)
         [exec] 	at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:487)
         [exec] 	at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:1004)
         [exec] 	at com.liferay.registry.internal.RegistryImpl.registerService(RegistryImpl.java:374)
         [exec] 	at com.liferay.portal.internal.servlet.MainServlet._registerPortalInitialized(MainServlet.java:1276)
         [exec] 	at com.liferay.portal.internal.servlet.MainServlet.init(MainServlet.java:452)
         [exec] 	at javax.servlet.GenericServlet.init(GenericServlet.java:158)
         [exec] 	at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1123)
         [exec] 	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1078)
         [exec] 	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:971)
         [exec] 	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4868)
         [exec] 	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5184)
         [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)

      Attachments

        Issue Links

          Activity

            People

            • Assignee:
              brooke.dalton Brooke Dalton
              Reporter:
              brooke.dalton Brooke Dalton
              Participants of an Issue:
              Recent user:
              Michael Eguina
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                31 weeks, 1 day ago

                Packages

                Version Package
                7.2.10 DXP FP3
                7.2.X
                7.2.1 CE GA2
                Master