camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Zhemzhitsky (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-5493) GroovyLanguage should use applicationContextClassLoader of the corresponding CamelContext instead of current thread's contextClassLoader
Date Wed, 08 Aug 2012 22:45:20 GMT

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

Sergey Zhemzhitsky updated CAMEL-5493:
--------------------------------------

    Attachment: camel-groovy-failure.zip

Integration tests to reproduce the issue have been attached
                
> 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
>         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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message