org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.kernel.webdav.methods.MethodFactoryRegistryUtil' defined in class path resource [META-INF/util-spring.xml]: Cannot create inner bean 'com.liferay.portal.webdav.methods.MethodFactoryRegistryImpl#2b6c1b44' of type [com.liferay.portal.webdav.methods.MethodFactoryRegistryImpl] while setting bean property 'methodFactoryRegistry'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.webdav.methods.MethodFactoryRegistryImpl#2b6c1b44' defined in class path resource [META-INF/util-spring.xml]: Cannot create inner bean 'com.liferay.portal.webdav.methods.MethodFactoryImpl#1d5e90ac' of type [com.liferay.portal.webdav.methods.MethodFactoryImpl] while setting bean property 'defaultMethodFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.webdav.methods.MethodFactoryImpl#1d5e90ac' defined in class path resource [META-INF/util-spring.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException

Liferay Issues | Kenji Heigel | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Steps to reproduce: # Start portal on a fresh db Expected results: Portal starts Actual results: Portal fails to start Console error: {code} 19:57:38,567 ERROR [localhost-startStop-1][ContextLoader:206] Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.kernel.webdav.methods.MethodFactoryRegistryUtil' defined in class path resource [META-INF/util-spring.xml]: Cannot create inner bean 'com.liferay.portal.webdav.methods.MethodFactoryRegistryImpl#2b6c1b44' of type [com.liferay.portal.webdav.methods.MethodFactoryRegistryImpl] while setting bean property 'methodFactoryRegistry'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.webdav.methods.MethodFactoryRegistryImpl#2b6c1b44' defined in class path resource [META-INF/util-spring.xml]: Cannot create inner bean 'com.liferay.portal.webdav.methods.MethodFactoryImpl#1d5e90ac' of type [com.liferay.portal.webdav.methods.MethodFactoryImpl] while setting bean property 'defaultMethodFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.webdav.methods.MethodFactoryImpl#1d5e90ac' defined in class path resource [META-INF/util-spring.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:281) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:120) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1327) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1085) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:516) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47) at com.liferay.portal.spring.context.PortalContextLoaderListener.contextInitialized(PortalContextLoaderListener.java:238) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434) 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$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) 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:722) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.webdav.methods.MethodFactoryRegistryImpl#2b6c1b44' defined in class path resource [META-INF/util-spring.xml]: Cannot create inner bean 'com.liferay.portal.webdav.methods.MethodFactoryImpl#1d5e90ac' of type [com.liferay.portal.webdav.methods.MethodFactoryImpl] while setting bean property 'defaultMethodFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.webdav.methods.MethodFactoryImpl#1d5e90ac' defined in class path resource [META-INF/util-spring.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.liferay.portal.webdav.methods.MethodFactoryImpl]: Constructor threw exception; nested exception is java.lang.ExceptionInInitializerError at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:281) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:120) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1327) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1085) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:516) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:270) ... 30 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.webdav.methods.MethodFactoryImpl#1d5e90ac' defined in class path resource [META-INF/util-spring.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.liferay.portal.webdav.methods.MethodFactoryImpl]: Constructor threw exception; nested exception is java.lang.ExceptionInInitializerError at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:964) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:910) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:484) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:270) ... 36 more Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.liferay.portal.webdav.methods.MethodFactoryImpl]: Constructor threw exception; nested exception is java.lang.ExceptionInInitializerError at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:141) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:74) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:957) ... 40 more Caused by: java.lang.ExceptionInInitializerError at com.liferay.portal.webdav.methods.BasePropMethodImpl.createQName(BasePropMethodImpl.java:71) at com.liferay.portal.webdav.methods.BasePropMethodImpl.<clinit>(BasePropMethodImpl.java:51) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at java.lang.Class.newInstance0(Class.java:374) at java.lang.Class.newInstance(Class.java:327) at com.liferay.portal.kernel.util.InstanceFactory.newInstance(InstanceFactory.java:63) at com.liferay.portal.kernel.util.InstanceFactory.newInstance(InstanceFactory.java:27) at com.liferay.portal.kernel.util.InstanceFactory.newInstance(InstanceFactory.java:68) at com.liferay.portal.webdav.methods.MethodFactoryImpl.addMethod(MethodFactoryImpl.java:69) at com.liferay.portal.webdav.methods.MethodFactoryImpl.<init>(MethodFactoryImpl.java:37) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:126) ... 42 more Caused by: java.lang.NullPointerException: A registry instance was never set at com.liferay.registry.RegistryUtil.getRegistry(RegistryUtil.java:27) at com.liferay.portal.kernel.webdav.WebDAVUtil.<init>(WebDAVUtil.java:351) at com.liferay.portal.kernel.webdav.WebDAVUtil.<clinit>(WebDAVUtil.java:400) ... 60 more Apr 22, 2014 7:57:38 PM org.apache.catalina.core.StandardContext listenerStart SEVERE: Exception sending context initialized event to listener instance of class com.liferay.portal.spring.context.PortalContextLoaderListener org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.kernel.webdav.methods.MethodFactoryRegistryUtil' defined in class path resource [META-INF/util-spring.xml]: Cannot create inner bean 'com.liferay.portal.webdav.methods.MethodFactoryRegistryImpl#2b6c1b44' of type [com.liferay.portal.webdav.methods.MethodFactoryRegistryImpl] while setting bean property 'methodFactoryRegistry'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.webdav.methods.MethodFactoryRegistryImpl#2b6c1b44' defined in class path resource [META-INF/util-spring.xml]: Cannot create inner bean 'com.liferay.portal.webdav.methods.MethodFactoryImpl#1d5e90ac' of type [com.liferay.portal.webdav.methods.MethodFactoryImpl] while setting bean property 'defaultMethodFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.webdav.methods.MethodFactoryImpl#1d5e90ac' defined in class path resource [META-INF/util-spring.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:281) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:120) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1327) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1085) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:516) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47) at com.liferay.portal.spring.context.PortalContextLoaderListener.contextInitialized(PortalContextLoaderListener.java:238) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434) 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$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) 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:722) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.webdav.methods.MethodFactoryRegistryImpl#2b6c1b44' defined in class path resource [META-INF/util-spring.xml]: Cannot create inner bean 'com.liferay.portal.webdav.methods.MethodFactoryImpl#1d5e90ac' of type [com.liferay.portal.webdav.methods.MethodFactoryImpl] while setting bean property 'defaultMethodFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.webdav.methods.MethodFactoryImpl#1d5e90ac' defined in class path resource [META-INF/util-spring.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.liferay.portal.webdav.methods.MethodFactoryImpl]: Constructor threw exception; nested exception is java.lang.ExceptionInInitializerError at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:281) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:120) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1327) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1085) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:516) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:270) ... 30 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.webdav.methods.MethodFactoryImpl#1d5e90ac' defined in class path resource [META-INF/util-spring.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.liferay.portal.webdav.methods.MethodFactoryImpl]: Constructor threw exception; nested exception is java.lang.ExceptionInInitializerError at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:964) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:910) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:484) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:270) ... 36 more Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.liferay.portal.webdav.methods.MethodFactoryImpl]: Constructor threw exception; nested exception is java.lang.ExceptionInInitializerError at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:141) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:74) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:957) ... 40 more Caused by: java.lang.ExceptionInInitializerError at com.liferay.portal.webdav.methods.BasePropMethodImpl.createQName(BasePropMethodImpl.java:71) at com.liferay.portal.webdav.methods.BasePropMethodImpl.<clinit>(BasePropMethodImpl.java:51) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at java.lang.Class.newInstance0(Class.java:374) at java.lang.Class.newInstance(Class.java:327) at com.liferay.portal.kernel.util.InstanceFactory.newInstance(InstanceFactory.java:63) at com.liferay.portal.kernel.util.InstanceFactory.newInstance(InstanceFactory.java:27) at com.liferay.portal.kernel.util.InstanceFactory.newInstance(InstanceFactory.java:68) at com.liferay.portal.webdav.methods.MethodFactoryImpl.addMethod(MethodFactoryImpl.java:69) at com.liferay.portal.webdav.methods.MethodFactoryImpl.<init>(MethodFactoryImpl.java:37) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:126) ... 42 more Caused by: java.lang.NullPointerException: A registry instance was never set at com.liferay.registry.RegistryUtil.getRegistry(RegistryUtil.java:27) at com.liferay.portal.kernel.webdav.WebDAVUtil.<init>(WebDAVUtil.java:351) at com.liferay.portal.kernel.webdav.WebDAVUtil.<clinit>(WebDAVUtil.java:400) ... 60 more Apr 22, 2014 7:57:38 PM org.apache.catalina.core.StandardContext startInternal SEVERE: Error listenerStart Apr 22, 2014 7:57:38 PM org.apache.catalina.core.StandardContext startInternal SEVERE: Context [] startup failed due to previous errors 19:57:38,752 ERROR [localhost-startStop-1][PortalContextLoaderListener:98] java.lang.NullPointerException java.lang.NullPointerException at com.liferay.portal.settings.SettingsFactoryUtil.clearCache(SettingsFactoryUtil.java:29) at com.liferay.portal.spring.context.PortalContextLoaderListener.contextDestroyed(PortalContextLoaderListener.java:154) at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4980) at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5626) at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160) 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$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) 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:722) Apr 22, 2014 7:57:38 PM org.apache.catalina.core.ApplicationContext log INFO: Closing Spring root WebApplicationContext Apr 22, 2014 7:57:38 PM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["http-bio-8080"] Apr 22, 2014 7:57:38 PM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["ajp-bio-8009"] Apr 22, 2014 7:57:38 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 19453 ms {code} Error on all Jenkins tests ([PortalSmokeTestCase#testSmoke console|https://build.liferay.com/1/view/liferay-portal-frontend-tomcat(master)/job/liferay-portal-frontend-tomcat%5Bportal-infrastructure%5D(master)/lastCompletedBuild/label_exp=!build-1,test=PortalSmokeTestCase%23testSmoke/console]): {code} [exec] 19:27:47,767 ERROR [localhost-startStop-1][ModuleFrameworkAdapterHelper:67] Unable to configure the class loader for the module framework [exec] 19:27:47,770 ERROR [localhost-startStop-1][ModuleFrameworkAdapterHelper:81] Unable to load the module framework [exec] Apr 22, 2014 7:27:47 PM org.apache.catalina.core.StandardContext listenerStart [exec] SEVERE: Exception sending context initialized event to listener instance of class com.liferay.portal.spring.context.PortalContextLoaderListener [exec] java.lang.ExceptionInInitializerError [exec] at com.liferay.portal.spring.context.PortalContextLoaderListener.contextInitialized(PortalContextLoaderListener.java:229) [exec] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939) [exec] at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434) [exec] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [exec] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) [exec] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) [exec] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) [exec] at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:656) [exec] at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1635) [exec] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [exec] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [exec] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [exec] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [exec] at java.lang.Thread.run(Thread.java:744) [exec] Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NullPointerException [exec] at com.liferay.portal.module.framework.ModuleFrameworkAdapterHelper.<init>(ModuleFrameworkAdapterHelper.java:83) [exec] at com.liferay.portal.module.framework.ModuleFrameworkUtilAdapter.<clinit>(ModuleFrameworkUtilAdapter.java:139) [exec] ... 14 more [exec] Caused by: java.lang.RuntimeException: java.lang.NullPointerException [exec] at com.liferay.portal.module.framework.ModuleFrameworkAdapterHelper.getClassLoader(ModuleFrameworkAdapterHelper.java:71) [exec] at com.liferay.portal.module.framework.ModuleFrameworkAdapterHelper.<init>(ModuleFrameworkAdapterHelper.java:78) [exec] ... 15 more [exec] Caused by: java.lang.NullPointerException [exec] at com.liferay.portal.module.framework.RuntimeClasspathResolver.getClasspathURLs(RuntimeClasspathResolver.java:35) [exec] at com.liferay.portal.module.framework.ModuleFrameworkAdapterHelper.getClassLoader(ModuleFrameworkAdapterHelper.java:59) [exec] ... 16 more [exec] [exec] Apr 22, 2014 7:27:47 PM org.apache.catalina.core.StandardContext startInternal [exec] SEVERE: Error listenerStart [exec] Apr 22, 2014 7:27:47 PM org.apache.catalina.core.StandardContext startInternal [exec] SEVERE: Context [] startup failed due to previous errors [exec] Apr 22, 2014 7:27:47 PM org.apache.catalina.core.StandardContext listenerStop [exec] SEVERE: Exception sending context destroyed event to listener instance of class com.liferay.portal.spring.context.PortalContextLoaderListener [exec] java.lang.NoClassDefFoundError: Could not initialize class com.liferay.portal.module.framework.ModuleFrameworkUtilAdapter [exec] at com.liferay.portal.spring.context.PortalContextLoaderListener.contextDestroyed(PortalContextLoaderListener.java:140) [exec] at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4980) [exec] at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5626) [exec] at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232) [exec] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160) [exec] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) [exec] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) [exec] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) [exec] at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:656) [exec] at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1635) [exec] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [exec] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [exec] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [exec] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [exec] at java.lang.Thread.run(Thread.java:744) [exec] [exec] 19:27:47,852 ERROR [localhost-startStop-1][PortalContextLoaderListener:98] java.lang.NullPointerException [exec] java.lang.NullPointerException [exec] at com.liferay.portal.kernel.servlet.DirectServletRegistryUtil.clearServlets(DirectServletRegistryUtil.java:27) [exec] at com.liferay.portal.spring.context.PortalContextLoaderListener.contextDestroyed(PortalContextLoaderListener.java:126) [exec] at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4980) [exec] at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5626) [exec] at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232) [exec] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160) [exec] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) [exec] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) [exec] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) [exec] at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:656) [exec] at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1635) [exec] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [exec] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [exec] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [exec] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [exec] at java.lang.Thread.run(Thread.java:744) [exec] 19:27:47,854 ERROR [localhost-startStop-1][PortalContextLoaderListener:98] java.lang.NullPointerException [exec] java.lang.NullPointerException [exec] at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.reset(HotDeployUtil.java:45) [exec] at com.liferay.portal.spring.context.PortalContextLoaderListener.contextDestroyed(PortalContextLoaderListener.java:133) [exec] at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4980) [exec] at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5626) [exec] at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232) [exec] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160) [exec] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) [exec] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) [exec] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) [exec] at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:656) [exec] at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1635) [exec] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [exec] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [exec] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [exec] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [exec] at java.lang.Thread.run(Thread.java:744) [exec] Apr 22, 2014 7:27:47 PM org.apache.coyote.AbstractProtocol start [exec] INFO: Starting ProtocolHandler ["http-bio-8080"] [exec] Apr 22, 2014 7:27:47 PM org.apache.coyote.AbstractProtocol start [exec] INFO: Starting ProtocolHandler ["ajp-bio-8009"] [exec] Apr 22, 2014 7:27:47 PM org.apache.catalina.startup.Catalina start [exec] INFO: Server startup in 8520 ms {code}

    Liferay Issues | 3 years ago | Kenji Heigel
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.kernel.webdav.methods.MethodFactoryRegistryUtil' defined in class path resource [META-INF/util-spring.xml]: Cannot create inner bean 'com.liferay.portal.webdav.methods.MethodFactoryRegistryImpl#2b6c1b44' of type [com.liferay.portal.webdav.methods.MethodFactoryRegistryImpl] while setting bean property 'methodFactoryRegistry'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.webdav.methods.MethodFactoryRegistryImpl#2b6c1b44' defined in class path resource [META-INF/util-spring.xml]: Cannot create inner bean 'com.liferay.portal.webdav.methods.MethodFactoryImpl#1d5e90ac' of type [com.liferay.portal.webdav.methods.MethodFactoryImpl] while setting bean property 'defaultMethodFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.webdav.methods.MethodFactoryImpl#1d5e90ac' defined in class path resource [META-INF/util-spring.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException
  2. 0

    Steps to reproduce: # Start portal on a fresh db Expected results: Portal starts Actual results: Portal fails to start Console error: {code} 19:57:38,567 ERROR [localhost-startStop-1][ContextLoader:206] Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.kernel.webdav.methods.MethodFactoryRegistryUtil' defined in class path resource [META-INF/util-spring.xml]: Cannot create inner bean 'com.liferay.portal.webdav.methods.MethodFactoryRegistryImpl#2b6c1b44' of type [com.liferay.portal.webdav.methods.MethodFactoryRegistryImpl] while setting bean property 'methodFactoryRegistry'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.webdav.methods.MethodFactoryRegistryImpl#2b6c1b44' defined in class path resource [META-INF/util-spring.xml]: Cannot create inner bean 'com.liferay.portal.webdav.methods.MethodFactoryImpl#1d5e90ac' of type [com.liferay.portal.webdav.methods.MethodFactoryImpl] while setting bean property 'defaultMethodFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.webdav.methods.MethodFactoryImpl#1d5e90ac' defined in class path resource [META-INF/util-spring.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:281) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:120) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1327) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1085) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:516) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47) at com.liferay.portal.spring.context.PortalContextLoaderListener.contextInitialized(PortalContextLoaderListener.java:238) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434) 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$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) 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:722) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.webdav.methods.MethodFactoryRegistryImpl#2b6c1b44' defined in class path resource [META-INF/util-spring.xml]: Cannot create inner bean 'com.liferay.portal.webdav.methods.MethodFactoryImpl#1d5e90ac' of type [com.liferay.portal.webdav.methods.MethodFactoryImpl] while setting bean property 'defaultMethodFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.webdav.methods.MethodFactoryImpl#1d5e90ac' defined in class path resource [META-INF/util-spring.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.liferay.portal.webdav.methods.MethodFactoryImpl]: Constructor threw exception; nested exception is java.lang.ExceptionInInitializerError at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:281) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:120) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1327) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1085) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:516) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:270) ... 30 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.webdav.methods.MethodFactoryImpl#1d5e90ac' defined in class path resource [META-INF/util-spring.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.liferay.portal.webdav.methods.MethodFactoryImpl]: Constructor threw exception; nested exception is java.lang.ExceptionInInitializerError at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:964) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:910) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:484) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:270) ... 36 more Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.liferay.portal.webdav.methods.MethodFactoryImpl]: Constructor threw exception; nested exception is java.lang.ExceptionInInitializerError at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:141) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:74) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:957) ... 40 more Caused by: java.lang.ExceptionInInitializerError at com.liferay.portal.webdav.methods.BasePropMethodImpl.createQName(BasePropMethodImpl.java:71) at com.liferay.portal.webdav.methods.BasePropMethodImpl.<clinit>(BasePropMethodImpl.java:51) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at java.lang.Class.newInstance0(Class.java:374) at java.lang.Class.newInstance(Class.java:327) at com.liferay.portal.kernel.util.InstanceFactory.newInstance(InstanceFactory.java:63) at com.liferay.portal.kernel.util.InstanceFactory.newInstance(InstanceFactory.java:27) at com.liferay.portal.kernel.util.InstanceFactory.newInstance(InstanceFactory.java:68) at com.liferay.portal.webdav.methods.MethodFactoryImpl.addMethod(MethodFactoryImpl.java:69) at com.liferay.portal.webdav.methods.MethodFactoryImpl.<init>(MethodFactoryImpl.java:37) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:126) ... 42 more Caused by: java.lang.NullPointerException: A registry instance was never set at com.liferay.registry.RegistryUtil.getRegistry(RegistryUtil.java:27) at com.liferay.portal.kernel.webdav.WebDAVUtil.<init>(WebDAVUtil.java:351) at com.liferay.portal.kernel.webdav.WebDAVUtil.<clinit>(WebDAVUtil.java:400) ... 60 more Apr 22, 2014 7:57:38 PM org.apache.catalina.core.StandardContext listenerStart SEVERE: Exception sending context initialized event to listener instance of class com.liferay.portal.spring.context.PortalContextLoaderListener org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.kernel.webdav.methods.MethodFactoryRegistryUtil' defined in class path resource [META-INF/util-spring.xml]: Cannot create inner bean 'com.liferay.portal.webdav.methods.MethodFactoryRegistryImpl#2b6c1b44' of type [com.liferay.portal.webdav.methods.MethodFactoryRegistryImpl] while setting bean property 'methodFactoryRegistry'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.webdav.methods.MethodFactoryRegistryImpl#2b6c1b44' defined in class path resource [META-INF/util-spring.xml]: Cannot create inner bean 'com.liferay.portal.webdav.methods.MethodFactoryImpl#1d5e90ac' of type [com.liferay.portal.webdav.methods.MethodFactoryImpl] while setting bean property 'defaultMethodFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.webdav.methods.MethodFactoryImpl#1d5e90ac' defined in class path resource [META-INF/util-spring.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:281) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:120) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1327) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1085) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:516) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47) at com.liferay.portal.spring.context.PortalContextLoaderListener.contextInitialized(PortalContextLoaderListener.java:238) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434) 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$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) 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:722) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.webdav.methods.MethodFactoryRegistryImpl#2b6c1b44' defined in class path resource [META-INF/util-spring.xml]: Cannot create inner bean 'com.liferay.portal.webdav.methods.MethodFactoryImpl#1d5e90ac' of type [com.liferay.portal.webdav.methods.MethodFactoryImpl] while setting bean property 'defaultMethodFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.webdav.methods.MethodFactoryImpl#1d5e90ac' defined in class path resource [META-INF/util-spring.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.liferay.portal.webdav.methods.MethodFactoryImpl]: Constructor threw exception; nested exception is java.lang.ExceptionInInitializerError at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:281) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:120) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1327) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1085) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:516) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:270) ... 30 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.webdav.methods.MethodFactoryImpl#1d5e90ac' defined in class path resource [META-INF/util-spring.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.liferay.portal.webdav.methods.MethodFactoryImpl]: Constructor threw exception; nested exception is java.lang.ExceptionInInitializerError at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:964) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:910) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:484) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:270) ... 36 more Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.liferay.portal.webdav.methods.MethodFactoryImpl]: Constructor threw exception; nested exception is java.lang.ExceptionInInitializerError at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:141) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:74) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:957) ... 40 more Caused by: java.lang.ExceptionInInitializerError at com.liferay.portal.webdav.methods.BasePropMethodImpl.createQName(BasePropMethodImpl.java:71) at com.liferay.portal.webdav.methods.BasePropMethodImpl.<clinit>(BasePropMethodImpl.java:51) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at java.lang.Class.newInstance0(Class.java:374) at java.lang.Class.newInstance(Class.java:327) at com.liferay.portal.kernel.util.InstanceFactory.newInstance(InstanceFactory.java:63) at com.liferay.portal.kernel.util.InstanceFactory.newInstance(InstanceFactory.java:27) at com.liferay.portal.kernel.util.InstanceFactory.newInstance(InstanceFactory.java:68) at com.liferay.portal.webdav.methods.MethodFactoryImpl.addMethod(MethodFactoryImpl.java:69) at com.liferay.portal.webdav.methods.MethodFactoryImpl.<init>(MethodFactoryImpl.java:37) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:126) ... 42 more Caused by: java.lang.NullPointerException: A registry instance was never set at com.liferay.registry.RegistryUtil.getRegistry(RegistryUtil.java:27) at com.liferay.portal.kernel.webdav.WebDAVUtil.<init>(WebDAVUtil.java:351) at com.liferay.portal.kernel.webdav.WebDAVUtil.<clinit>(WebDAVUtil.java:400) ... 60 more Apr 22, 2014 7:57:38 PM org.apache.catalina.core.StandardContext startInternal SEVERE: Error listenerStart Apr 22, 2014 7:57:38 PM org.apache.catalina.core.StandardContext startInternal SEVERE: Context [] startup failed due to previous errors 19:57:38,752 ERROR [localhost-startStop-1][PortalContextLoaderListener:98] java.lang.NullPointerException java.lang.NullPointerException at com.liferay.portal.settings.SettingsFactoryUtil.clearCache(SettingsFactoryUtil.java:29) at com.liferay.portal.spring.context.PortalContextLoaderListener.contextDestroyed(PortalContextLoaderListener.java:154) at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4980) at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5626) at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160) 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$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) 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:722) Apr 22, 2014 7:57:38 PM org.apache.catalina.core.ApplicationContext log INFO: Closing Spring root WebApplicationContext Apr 22, 2014 7:57:38 PM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["http-bio-8080"] Apr 22, 2014 7:57:38 PM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["ajp-bio-8009"] Apr 22, 2014 7:57:38 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 19453 ms {code} Error on all Jenkins tests ([PortalSmokeTestCase#testSmoke console|https://build.liferay.com/1/view/liferay-portal-frontend-tomcat(master)/job/liferay-portal-frontend-tomcat%5Bportal-infrastructure%5D(master)/lastCompletedBuild/label_exp=!build-1,test=PortalSmokeTestCase%23testSmoke/console]): {code} [exec] 19:27:47,767 ERROR [localhost-startStop-1][ModuleFrameworkAdapterHelper:67] Unable to configure the class loader for the module framework [exec] 19:27:47,770 ERROR [localhost-startStop-1][ModuleFrameworkAdapterHelper:81] Unable to load the module framework [exec] Apr 22, 2014 7:27:47 PM org.apache.catalina.core.StandardContext listenerStart [exec] SEVERE: Exception sending context initialized event to listener instance of class com.liferay.portal.spring.context.PortalContextLoaderListener [exec] java.lang.ExceptionInInitializerError [exec] at com.liferay.portal.spring.context.PortalContextLoaderListener.contextInitialized(PortalContextLoaderListener.java:229) [exec] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939) [exec] at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434) [exec] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [exec] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) [exec] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) [exec] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) [exec] at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:656) [exec] at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1635) [exec] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [exec] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [exec] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [exec] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [exec] at java.lang.Thread.run(Thread.java:744) [exec] Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NullPointerException [exec] at com.liferay.portal.module.framework.ModuleFrameworkAdapterHelper.<init>(ModuleFrameworkAdapterHelper.java:83) [exec] at com.liferay.portal.module.framework.ModuleFrameworkUtilAdapter.<clinit>(ModuleFrameworkUtilAdapter.java:139) [exec] ... 14 more [exec] Caused by: java.lang.RuntimeException: java.lang.NullPointerException [exec] at com.liferay.portal.module.framework.ModuleFrameworkAdapterHelper.getClassLoader(ModuleFrameworkAdapterHelper.java:71) [exec] at com.liferay.portal.module.framework.ModuleFrameworkAdapterHelper.<init>(ModuleFrameworkAdapterHelper.java:78) [exec] ... 15 more [exec] Caused by: java.lang.NullPointerException [exec] at com.liferay.portal.module.framework.RuntimeClasspathResolver.getClasspathURLs(RuntimeClasspathResolver.java:35) [exec] at com.liferay.portal.module.framework.ModuleFrameworkAdapterHelper.getClassLoader(ModuleFrameworkAdapterHelper.java:59) [exec] ... 16 more [exec] [exec] Apr 22, 2014 7:27:47 PM org.apache.catalina.core.StandardContext startInternal [exec] SEVERE: Error listenerStart [exec] Apr 22, 2014 7:27:47 PM org.apache.catalina.core.StandardContext startInternal [exec] SEVERE: Context [] startup failed due to previous errors [exec] Apr 22, 2014 7:27:47 PM org.apache.catalina.core.StandardContext listenerStop [exec] SEVERE: Exception sending context destroyed event to listener instance of class com.liferay.portal.spring.context.PortalContextLoaderListener [exec] java.lang.NoClassDefFoundError: Could not initialize class com.liferay.portal.module.framework.ModuleFrameworkUtilAdapter [exec] at com.liferay.portal.spring.context.PortalContextLoaderListener.contextDestroyed(PortalContextLoaderListener.java:140) [exec] at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4980) [exec] at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5626) [exec] at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232) [exec] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160) [exec] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) [exec] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) [exec] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) [exec] at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:656) [exec] at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1635) [exec] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [exec] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [exec] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [exec] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [exec] at java.lang.Thread.run(Thread.java:744) [exec] [exec] 19:27:47,852 ERROR [localhost-startStop-1][PortalContextLoaderListener:98] java.lang.NullPointerException [exec] java.lang.NullPointerException [exec] at com.liferay.portal.kernel.servlet.DirectServletRegistryUtil.clearServlets(DirectServletRegistryUtil.java:27) [exec] at com.liferay.portal.spring.context.PortalContextLoaderListener.contextDestroyed(PortalContextLoaderListener.java:126) [exec] at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4980) [exec] at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5626) [exec] at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232) [exec] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160) [exec] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) [exec] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) [exec] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) [exec] at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:656) [exec] at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1635) [exec] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [exec] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [exec] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [exec] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [exec] at java.lang.Thread.run(Thread.java:744) [exec] 19:27:47,854 ERROR [localhost-startStop-1][PortalContextLoaderListener:98] java.lang.NullPointerException [exec] java.lang.NullPointerException [exec] at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.reset(HotDeployUtil.java:45) [exec] at com.liferay.portal.spring.context.PortalContextLoaderListener.contextDestroyed(PortalContextLoaderListener.java:133) [exec] at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4980) [exec] at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5626) [exec] at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232) [exec] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160) [exec] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) [exec] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) [exec] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) [exec] at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:656) [exec] at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1635) [exec] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [exec] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [exec] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [exec] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [exec] at java.lang.Thread.run(Thread.java:744) [exec] Apr 22, 2014 7:27:47 PM org.apache.coyote.AbstractProtocol start [exec] INFO: Starting ProtocolHandler ["http-bio-8080"] [exec] Apr 22, 2014 7:27:47 PM org.apache.coyote.AbstractProtocol start [exec] INFO: Starting ProtocolHandler ["ajp-bio-8009"] [exec] Apr 22, 2014 7:27:47 PM org.apache.catalina.startup.Catalina start [exec] INFO: Server startup in 8520 ms {code}

    Liferay Issues | 3 years ago | Kenji Heigel
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.kernel.webdav.methods.MethodFactoryRegistryUtil' defined in class path resource [META-INF/util-spring.xml]: Cannot create inner bean 'com.liferay.portal.webdav.methods.MethodFactoryRegistryImpl#2b6c1b44' of type [com.liferay.portal.webdav.methods.MethodFactoryRegistryImpl] while setting bean property 'methodFactoryRegistry'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.webdav.methods.MethodFactoryRegistryImpl#2b6c1b44' defined in class path resource [META-INF/util-spring.xml]: Cannot create inner bean 'com.liferay.portal.webdav.methods.MethodFactoryImpl#1d5e90ac' of type [com.liferay.portal.webdav.methods.MethodFactoryImpl] while setting bean property 'defaultMethodFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.webdav.methods.MethodFactoryImpl#1d5e90ac' defined in class path resource [META-INF/util-spring.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException
  3. 0

    Getting a nullpointer exception when switching displayables in J2ME

    Stack Overflow | 6 years ago | Pallinder
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    J2ME (Java) - Null Pointer Exception caught in Display Class

    Stack Overflow | 6 years ago | Tom
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179
  6. 0

    Cloud Foundry v2 in Grails

    Stack Overflow | 2 years ago | angelo087
    java.lang.NullPointerException: Cannot invoke method getAt() on null object

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      A registry instance was never set

      at com.liferay.registry.RegistryUtil.getRegistry()
    2. com.liferay.registry
      RegistryUtil.getRegistry
      1. com.liferay.registry.RegistryUtil.getRegistry(RegistryUtil.java:27)
      1 frame
    3. Liferay Portal Service
      WebDAVUtil.<clinit>
      1. com.liferay.portal.kernel.webdav.WebDAVUtil.<init>(WebDAVUtil.java:351)
      2. com.liferay.portal.kernel.webdav.WebDAVUtil.<clinit>(WebDAVUtil.java:400)
      2 frames
    4. Liferay Portal Impl
      BasePropMethodImpl.<clinit>
      1. com.liferay.portal.webdav.methods.BasePropMethodImpl.createQName(BasePropMethodImpl.java:71)
      2. com.liferay.portal.webdav.methods.BasePropMethodImpl.<clinit>(BasePropMethodImpl.java:51)
      2 frames
    5. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:525)
      5. java.lang.Class.newInstance0(Class.java:374)
      6. java.lang.Class.newInstance(Class.java:327)
      6 frames
    6. Liferay Portal Service
      InstanceFactory.newInstance
      1. com.liferay.portal.kernel.util.InstanceFactory.newInstance(InstanceFactory.java:63)
      2. com.liferay.portal.kernel.util.InstanceFactory.newInstance(InstanceFactory.java:27)
      3. com.liferay.portal.kernel.util.InstanceFactory.newInstance(InstanceFactory.java:68)
      3 frames
    7. Liferay Portal Impl
      MethodFactoryImpl.<init>
      1. com.liferay.portal.webdav.methods.MethodFactoryImpl.addMethod(MethodFactoryImpl.java:69)
      2. com.liferay.portal.webdav.methods.MethodFactoryImpl.<init>(MethodFactoryImpl.java:37)
      2 frames
    8. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:525)
      4 frames
    9. Spring Beans
      DefaultListableBeanFactory.preInstantiateSingletons
      1. org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:126)
      2. org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:74)
      3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:957)
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:910)
      5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:484)
      6. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)
      7. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:270)
      8. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:120)
      9. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1327)
      10. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1085)
      11. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:516)
      12. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)
      13. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:270)
      14. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:120)
      15. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1327)
      16. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1085)
      17. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:516)
      18. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)
      19. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
      20. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
      21. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
      22. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
      23. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
      23 frames
    10. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
      2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
      2 frames
    11. Spring
      ContextLoaderListener.contextInitialized
      1. org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
      2. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
      3. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
      3 frames
    12. Liferay Portal Impl
      PortalContextLoaderListener.contextInitialized
      1. com.liferay.portal.spring.context.PortalContextLoaderListener.contextInitialized(PortalContextLoaderListener.java:238)
      1 frame
    13. Glassfish Core
      HostConfig$DeployDescriptor.run
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)
      2. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
      3. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      4. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
      5. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
      6. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
      7. org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:656)
      8. org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1635)
      8 frames
    14. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:166)
      4. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      6. java.lang.Thread.run(Thread.java:722)
      6 frames