geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oladapo Amudipe <o...@yahoo.com>
Subject Problem starting application
Date Fri, 13 Jul 2007 18:33:31 GMT

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.SettingsBeanFactoryPostProcessor.createSettings(SettingsBeanFactoryPostProcessor.java:252)
        at
org.apache.cocoon.core.container.spring.SettingsBeanFactoryPostProcessor.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.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1099)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1061)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1024)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.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.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:403)
        at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:328)
        at
org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
        at
org.springframework.web.context.ContextLoader.createWebApplicationContext(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.SettingsBeanFactoryPostProcessor.createSettings(SettingsBeanFactoryPostProcessor.java:252)
      
at
org.apache.cocoon.core.container.spring.SettingsBeanFactoryPostProcessor.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.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1099)
      
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1061)
      
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1024)
      
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.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.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:403)
      
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:328)
      
at
org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
      
at
org.springframework.web.context.ContextLoader.createWebApplicationContext(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