geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject Re: Problem starting application
Date Fri, 13 Jul 2007 19:09:07 GMT
Can you find out what is null?  Key or value?  If value, how is it  
normally set?

thanks
david jencks

On Jul 13, 2007, at 2:33 PM, Oladapo Amudipe wrote:

>
> I have been struggling with this problem for several weeks. I found a
> workaround on the internet which I tried but didn't work. The  
> workaround was
> to replace a handfull of spring related files (spring-core, spring- 
> context
> and spring-beans) with recent version.
>
>
> Geronimo v2.0M6-rc1
>
>
> This is the first few lines of the exception thrown when I start the
> application
>
> 14:20:08,372 ERROR [ContextLoader] Context initialization failed
> org.springframework.beans.factory.BeanCreationException: Error  
> creating bean
> with name 'org.apache.cocoon.configuration.Settings': Invocation of  
> init
> method failed; nested exception is java.lang.NullPointerException
> Caused by:
> java.lang.NullPointerException
>         at java.util.Hashtable.put(Hashtable.java:396)
>         at
> org.apache.cocoon.configuration.impl.PropertyHelper.replaceAll 
> (PropertyHelper.java:138)
>         at
> org.apache.cocoon.core.container.spring.SettingsBeanFactoryPostProcess 
> or.createSettings(SettingsBeanFactoryPostProcessor.java:252)
>         at
> org.apache.cocoon.core.container.spring.SettingsBeanFactoryPostProcess 
> or.init(SettingsBeanFactoryPostProcessor.java:62)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke 
> (NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanF 
> actory.invokeCustomInitMethod 
> (AbstractAutowireCapableBeanFactory.java:1099)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanF 
> actory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1061)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanF 
> actory.initializeBean(AbstractAutowireCapableBeanFactory.java:1024)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanF 
> actory.createBean(AbstractAutowireCapableBeanFactory.java:421)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory 
> $1.getObject(AbstractBeanFactory.java:245)
>         at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry 
> .getSingleton(DefaultSingletonBeanRegistry.java:140)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean( 
> AbstractBeanFactory.java:242)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean( 
> AbstractBeanFactory.java:156)
>         at
> org.springframework.context.support.AbstractApplicationContext.getBean 
> (AbstractApplicationContext.java:640)
>         at
> org.springframework.context.support.AbstractApplicationContext.invokeB 
> eanFactoryPostProcessors(AbstractApplicationContext.java:403)
>         at
> org.springframework.context.support.AbstractApplicationContext.refresh 
> (AbstractApplicationContext.java:328)
>         at
> org.springframework.web.context.support.AbstractRefreshableWebApplicat 
> ionContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
>         at
> org.springframework.web.context.ContextLoader.createWebApplicationCont 
> ext(ContextLoader.java:246)
>
> 14:20:08,372 ERROR [ContextLoader] Context initialization
> failedorg.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'org.apache.cocoon.configuration.Settings':
> Invocation of init method failed; nested exception is
> java.lang.NullPointerExceptionCaused by:  
> java.lang.NullPointerException
> at java.util.Hashtable.put(Hashtable.java:396)        at
> org.apache.cocoon.configuration.impl.PropertyHelper.replaceAll 
> (PropertyHelper.java:138)
> at
> org.apache.cocoon.core.container.spring.SettingsBeanFactoryPostProcess 
> or.createSettings(SettingsBeanFactoryPostProcessor.java:252)
> at
> org.apache.cocoon.core.container.spring.SettingsBeanFactoryPostProcess 
> or.init(SettingsBeanFactoryPostProcessor.java:62)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
> Method)        at
> sun.reflect.NativeMethodAccessorImpl.invoke 
> (NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)        at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanF 
> actory.invokeCustomInitMethod 
> (AbstractAutowireCapableBeanFactory.java:1099)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanF 
> actory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1061)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanF 
> actory.initializeBean(AbstractAutowireCapableBeanFactory.java:1024)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanF 
> actory.createBean(AbstractAutowireCapableBeanFactory.java:421)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory 
> $1.getObject(AbstractBeanFactory.java:245)
> at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry 
> .getSingleton(DefaultSingletonBeanRegistry.java:140)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean( 
> AbstractBeanFactory.java:242)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean( 
> AbstractBeanFactory.java:156)
> at
> org.springframework.context.support.AbstractApplicationContext.getBean 
> (AbstractApplicationContext.java:640)
> at
> org.springframework.context.support.AbstractApplicationContext.invokeB 
> eanFactoryPostProcessors(AbstractApplicationContext.java:403)
> at
> org.springframework.context.support.AbstractApplicationContext.refresh 
> (AbstractApplicationContext.java:328)
> at
> org.springframework.web.context.support.AbstractRefreshableWebApplicat 
> ionContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
> at
> org.springframework.web.context.ContextLoader.createWebApplicationCont 
> ext(ContextLoader.java:246)
>
>
> -- 
> View this message in context: http://www.nabble.com/Problem- 
> starting-application-tf4076226s134.html#a11585177
> Sent from the Apache Geronimo - Dev mailing list archive at  
> Nabble.com.
>


Mime
View raw message