cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Stevens <insomniacpeng...@googlemail.com>
Subject Re: avalon:bridge causes exception in eclipse
Date Sat, 21 Apr 2012 17:53:28 GMT
When do you get the exception? Running the app from within eclipse, opening
a file or the project, running a cocoon archetype to generate the app, ...?

Andy.
On 21 Apr 2012 12:10, "Leszek Gawron" <lgawron@apache.org> wrote:

> Hello,
>
> When I have a Spring Nature added to a cocoon project I get the following
> exception in eclipse:
>
>  Description     Resource        Path    Location        Type
>> Error occured processing XML 'null'. See Error Log for more details
>> applicationContext.xml  /my-webapp/src/main/webapp/**WEB-INF      line
>> 24 Spring Beans Problem
>>
>
> in workspace logs:
>
>  java.lang.NullPointerException
>>        at org.apache.cocoon.core.**container.spring.avalon.**
>> ConfigurationReader.**getInputSource(**ConfigurationReader.java:225)
>>        at org.apache.cocoon.core.**container.spring.avalon.**
>> ConfigurationReader.convert(**ConfigurationReader.java:238)
>>        at org.apache.cocoon.core.**container.spring.avalon.**
>> ConfigurationReader.**readConfiguration(**ConfigurationReader.java:82)
>>        at org.apache.cocoon.core.**container.spring.avalon.**
>> BridgeElementParser.**readConfiguration(**BridgeElementParser.java:154)
>>        at org.apache.cocoon.core.**container.spring.avalon.**
>> BridgeElementParser.parse(**BridgeElementParser.java:78)
>>        at org.springframework.beans.**factory.xml.**
>> NamespaceHandlerSupport.parse(**NamespaceHandlerSupport.java:**73)
>>        at org.springframework.ide.**eclipse.beans.core.internal.**
>> model.namespaces.**DelegatingNamespaceHandlerReso**lver$**
>> ElementTrackingNamespaceHandle**r.parse(**DelegatingNamespaceHandlerReso*
>> *lver.java:177)
>>        at org.springframework.beans.**factory.xml.**
>> BeanDefinitionParserDelegate.**parseCustomElement(**
>> BeanDefinitionParserDelegate.**java:1419)
>>        at org.springframework.ide.**eclipse.beans.core.internal.**
>> model.BeansConfig$**ErrorSuppressingBeanDefinition**ParserDelegate.**
>> parseCustomElement(**BeansConfig.java:1399)
>>        at org.springframework.beans.**factory.xml.**
>> BeanDefinitionParserDelegate.**parseCustomElement(**
>> BeanDefinitionParserDelegate.**java:1409)
>>        at org.springframework.beans.**factory.xml.**
>> DefaultBeanDefinitionDocumentR**eader.parseBeanDefinitions(**
>> DefaultBeanDefinitionDocumentR**eader.java:184)
>>        at org.springframework.ide.**eclipse.beans.core.internal.**
>> model.BeansConfig$**ToolingFriendlyBeanDefinitionD**ocumentReader.**
>> doRegisterBeanDefinitions(**BeansConfig.java:1329)
>>        at org.springframework.beans.**factory.xml.**
>> DefaultBeanDefinitionDocumentR**eader.registerBeanDefinitions(**
>> DefaultBeanDefinitionDocumentR**eader.java:111)
>>        at org.springframework.beans.**factory.xml.**
>> XmlBeanDefinitionReader.**registerBeanDefinitions(**
>> XmlBeanDefinitionReader.java:**493)
>>        at org.springframework.ide.**eclipse.beans.core.internal.**
>> model.BeansConfig$2.**registerBeanDefinitions(**BeansConfig.java:401)
>>        at org.springframework.beans.**factory.xml.**
>> XmlBeanDefinitionReader.**doLoadBeanDefinitions(**
>> XmlBeanDefinitionReader.java:**390)
>>        at org.springframework.beans.**factory.xml.**
>> XmlBeanDefinitionReader.**loadBeanDefinitions(**
>> XmlBeanDefinitionReader.java:**334)
>>        at org.springframework.ide.**eclipse.beans.core.internal.**
>> model.BeansConfig$2.**loadBeanDefinitions(**BeansConfig.java:387)
>>        at org.springframework.beans.**factory.xml.**
>> XmlBeanDefinitionReader.**loadBeanDefinitions(**
>> XmlBeanDefinitionReader.java:**302)
>>        at org.springframework.ide.**eclipse.beans.core.internal.**
>> model.BeansConfig$3.call(**BeansConfig.java:444)
>>        at org.springframework.ide.**eclipse.beans.core.internal.**
>> model.BeansConfig$3.call(**BeansConfig.java:1)
>>        at java.util.concurrent.**FutureTask$Sync.innerRun(**Unknown
>> Source)
>>        at java.util.concurrent.**FutureTask.run(Unknown Source)
>>        at java.util.concurrent.**Executors$RunnableAdapter.**call(Unknown
>> Source)
>>        at java.util.concurrent.**FutureTask$Sync.innerRun(**Unknown
>> Source)
>>        at java.util.concurrent.**FutureTask.run(Unknown Source)
>>        at java.util.concurrent.**ThreadPoolExecutor.runWorker(**Unknown
>> Source)
>>        at java.util.concurrent.**ThreadPoolExecutor$Worker.run(**Unknown
>> Source)
>>        at java.lang.Thread.run(Unknown Source)
>>
>
> Is this a problem of STS tools or cocoon itself ?
>
> lg
>

Mime
View raw message