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

Unable to startup the server: NPE loading configurations from database

    Details

      Description

      Examption:

           [exec] 15-Oct-2018 19:27:17.685 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: org.osgi.framework.BundleException: Exception in com.liferay.portal.configuration.persistence.internal.activator.ConfigurationPersistenceBundleActivator.start() of bundle com.liferay.portal.configuration.persistence.impl.
           [exec] 	at com.liferay.portal.spring.context.PortalContextLoaderListener.contextInitialized(PortalContextLoaderListener.java:299)
           [exec] 	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4643)
           [exec] 	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5109)
           [exec] 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
           [exec] 	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:742)
           [exec] 	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:718)
           [exec] 	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:703)
           [exec] 	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:630)
           [exec] 	at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1840)
           [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:525)
           [exec] 	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:424)
           [exec] 	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1585)
           [exec] 	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:308)
           [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:966)
           [exec] 	at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:839)
           [exec] 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
           [exec] 	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1427)
           [exec] 	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1417)
           [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:943)
           [exec] 	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:258)
           [exec] 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
           [exec] 	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422)
           [exec] 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
           [exec] 	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:770)
           [exec] 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
           [exec] 	at org.apache.catalina.startup.Catalina.start(Catalina.java:682)
           [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: org.osgi.framework.BundleException: Exception in com.liferay.portal.configuration.persistence.internal.activator.ConfigurationPersistenceBundleActivator.start() of bundle com.liferay.portal.configuration.persistence.impl.
           [exec] 	at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:800)
           [exec] 	at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:729)
           [exec] 	at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:1002)
           [exec] 	at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:354)
           [exec] 	at org.eclipse.osgi.container.Module.doStart(Module.java:581)
           [exec] 	at org.eclipse.osgi.container.Module.start(Module.java:449)
           [exec] 	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:428)
           [exec] 	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:447)
           [exec] 	at com.liferay.portal.bootstrap.ModuleFrameworkImpl$6.call(ModuleFrameworkImpl.java:1551)
           [exec] 	at com.liferay.portal.bootstrap.ModuleFrameworkImpl$6.call(ModuleFrameworkImpl.java:1547)
           [exec] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
           [exec] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
           [exec] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
           [exec] 	at java.lang.Thread.run(Thread.java:745)
           [exec] Caused by: java.lang.NullPointerException
           [exec] 	at com.liferay.portal.configuration.persistence.internal.ConfigurationPersistenceManager.toDictionary(ConfigurationPersistenceManager.java:628)
           [exec] 	at com.liferay.portal.configuration.persistence.internal.ConfigurationPersistenceManager.populateDictionaries(ConfigurationPersistenceManager.java:545)
           [exec] 	at com.liferay.portal.configuration.persistence.internal.ConfigurationPersistenceManager.start(ConfigurationPersistenceManager.java:195)
           [exec] 	at com.liferay.portal.configuration.persistence.internal.activator.ConfigurationPersistenceBundleActivator.start(ConfigurationPersistenceBundleActivator.java:65)
           [exec] 	at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:779)
           [exec] 	at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
           [exec] 	at java.security.AccessController.doPrivileged(Native Method)
           [exec] 	at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:772)
           [exec] 	... 13 more
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  20 weeks, 3 days ago