cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Gallardo <agalla...@agssa.net>
Subject [2.2] Avalon does not hidden spring exceptions.
Date Mon, 29 May 2006 05:57:19 GMT
Hi,

While merging from  2.1 XInclude fallback tests, they don't pass due 
[1]. Since XIncludeTransformer is an Avalon component, he does not 
recognize Spring exceptions at all. I am sure we need to address this 
because we are going to hit the same error in other components. Is there 
a workaround in place. Please help.

Best Regards,

Antonio Gallardo

[1]
Tests run: 4, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.303 
sec <<< FAILURE!
testXIncludeSimpleFallbackTest(org.apache.cocoon.transformation.XIncludeTransformerTestCase)
 
Time elapsed: 0.107 sec  <<< ERROR!
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean 
named 'org.apache.excalibur.source.SourceFactory/file' is defined
    at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:352)
    at 
org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition(AbstractBeanFactory.java:671)
    at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:198)
    at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:204)
    at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
    at 
org.apache.cocoon.core.container.spring.AvalonServiceSelector.select(AvalonServiceSelector.java:59)
    at 
org.apache.excalibur.source.impl.SourceResolverImpl.resolveURI(SourceResolverImpl.java:204)
    at 
org.apache.excalibur.source.impl.SourceResolverImpl.resolveURI(SourceResolverImpl.java:152)
    at 
org.apache.cocoon.components.source.SourceResolverAdapter.resolveURI(SourceResolverAdapter.java:49)
    at org.apache.cocoon.xml.XMLBaseSupport.resolve(XMLBaseSupport.java:98)
    at 
org.apache.cocoon.xml.XMLBaseSupport.makeAbsolute(XMLBaseSupport.java:116)
    at 
org.apache.cocoon.transformation.XIncludeTransformer$XIncludePipe.processXIncludeElement(XIncludeTransformer.java:413)
    at 
org.apache.cocoon.transformation.XIncludeTransformer$XIncludePipe.startElement(XIncludeTransformer.java:226)
    at 
org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:93)
    at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at 
org.apache.cocoon.core.container.spring.PoolableFactoryBean$ProxyHandler.invoke(PoolableFactoryBean.java:340)
    at $Proxy11.startElement(Unknown Source)
    at 
org.apache.cocoon.xml.dom.DOMStreamer$NamespaceNormalizingDOMStreamer.startNode(DOMStreamer.java:434)
    at 
org.apache.cocoon.xml.dom.DOMStreamer$NamespaceNormalizingDOMStreamer.stream(DOMStreamer.java:216)
    at org.apache.cocoon.xml.dom.DOMStreamer.stream(DOMStreamer.java:140)
    at 
org.apache.cocoon.SitemapComponentTestCase.transform(SitemapComponentTestCase.java:403)
    at 
org.apache.cocoon.transformation.XIncludeTransformerTestCase.xincludeTest(XIncludeTransformerTestCase.java:39)
    at 
org.apache.cocoon.transformation.XIncludeTransformerTestCase.testXIncludeSimpleFallbackTest(XIncludeTransformerTestCase.java:67)


Mime
View raw message