servicemix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] [Moved] (SMXCOMP-978) SimpleBeanFactory should not throw exception in the getAliases() method
Date Wed, 11 Dec 2013 05:21:06 GMT

     [ https://issues.apache.org/jira/browse/SMXCOMP-978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Willem Jiang moved SM-2218 to SMXCOMP-978:
------------------------------------------

      Component/s:     (was: servicemix-common)
                   servicemix-common
    Fix Version/s:     (was: 5.0.0)
                   2013.02
              Key: SMXCOMP-978  (was: SM-2218)
          Project: ServiceMix Components  (was: ServiceMix)

> SimpleBeanFactory should not throw exception in the getAliases() method
> -----------------------------------------------------------------------
>
>                 Key: SMXCOMP-978
>                 URL: https://issues.apache.org/jira/browse/SMXCOMP-978
>             Project: ServiceMix Components
>          Issue Type: Bug
>          Components: servicemix-common
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2013.02
>
>
> The exception can cause Camel JAXB fallback converter loading error.
> {code}
> Caused by: org.apache.camel.TypeConverterLoaderException: Failed to load type converters
because of: Cannot load type converters using OSGi bundle: 108
> 	at org.apache.camel.impl.osgi.Activator$BundleTypeConverterLoader.load(Activator.java:280)
> 	at org.apache.camel.core.osgi.OsgiTypeConverter.addingService(OsgiTypeConverter.java:63)
> 	... 47 more
> Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.apache.camel.converter.jaxb.FallbackTypeConverter': Initialization of bean
failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException:
No bean named 'org.apache.camel.converter.jaxb.FallbackTypeConverter' is defined
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:331)
> 	at org.apache.camel.spring.spi.SpringInjector.newInstance(SpringInjector.java:39)
> 	at org.apache.camel.impl.osgi.Activator$BaseResolver.createInstance(Activator.java:402)
> 	at org.apache.camel.impl.osgi.Activator$BundleTypeConverterLoader$Loader.load(Activator.java:363)
> 	at org.apache.camel.impl.osgi.Activator$BundleTypeConverterLoader.load(Activator.java:278)
> 	... 48 more
> Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named
'org.apache.camel.converter.jaxb.FallbackTypeConverter' is defined
> 	at org.apache.servicemix.common.xbean.SimpleBeanFactory.getAliases(SimpleBeanFactory.java:48)
> 	at org.springframework.beans.factory.support.AbstractBeanFactory.getAliases(AbstractBeanFactory.java:612)
> 	at org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator.getAdvicesAndAdvisorsForBean(BeanNameAutoProxyCreator.java:89)
> 	at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.wrapIfNecessary(AbstractAutoProxyCreator.java:359)
> 	at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessAfterInitialization(AbstractAutoProxyCreator.java:322)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:407)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1461)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
> 	... 54 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message