You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2012/09/10 16:54:07 UTC
[jira] [Resolved] (CAMEL-5493) GroovyLanguage should use
applicationContextClassLoader of the corresponding CamelContext instead of
current thread's contextClassLoader
[ https://issues.apache.org/jira/browse/CAMEL-5493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang resolved CAMEL-5493.
---------------------------------
Resolution: Won't Fix
It's a Felix issue not the issue of camel.
> GroovyLanguage should use applicationContextClassLoader of the corresponding CamelContext instead of current thread's contextClassLoader
> ----------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-5493
> URL: https://issues.apache.org/jira/browse/CAMEL-5493
> Project: Camel
> Issue Type: Bug
> Components: camel-groovy
> Affects Versions: 2.10.0
> Reporter: Sergey Zhemzhitsky
> Assignee: Willem Jiang
> Attachments: camel-groovy-failure.zip
>
>
> Stacktrace:
> {code}
> Caused by: java.lang.ClassCastException: script13444652627211505912543 cannot be cast to groovy.lang.Script
> at org.apache.camel.language.groovy.GroovyExpression.evaluate(GroovyExpression.java:52)
> at org.apache.camel.component.language.LanguageProducer.process(LanguageProducer.java:80)
> at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverte
> rHelper.java:61)
> at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
> at org.apache.camel.processor.SendProcessor$2.doInAsyncProducer(SendProcessor.java:120)
> at org.apache.camel.impl.ProducerCache.doInAsyncProducer(ProducerCache.java:292)
> at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:115)
> at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira