camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CAMEL-103) ClassCastException when using GenericApplicationContext
Date Fri, 17 Aug 2007 04:42:22 GMT

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

James Strachan resolved CAMEL-103.
----------------------------------

    Resolution: Fixed

added a test case in CamelContextFactoryBeanTest

> ClassCastException when using GenericApplicationContext
> -------------------------------------------------------
>
>                 Key: CAMEL-103
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-103
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-spring
>    Affects Versions: 1.1.0
>            Reporter: James Strachan
>             Fix For: 1.2.0
>
>
> Caused by: java.lang.ClassCastException:
> org.springframework.context.support.GenericApplicationContext
>            at
> org.apache.camel.spring.SpringCamelContext.createInjector(SpringCamelCon
> text.java:147)
>            at
> org.apache.camel.impl.DefaultCamelContext.getInjector(DefaultCamelContex
> t.java:322)
>            at
> org.apache.camel.impl.DefaultCamelContext.forceLazyInitialization(Defaul
> tCamelContext.java:407)
>            at
> org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.ja
> va:373)
>            at
> org.apache.camel.spring.SpringCamelContext.doStart(SpringCamelContext.ja
> va:139)
>            at
> org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:38)
>            at
> org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(Camel
> ContextFactoryBean.java:103)
>            ... 20 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message