camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <>
Subject [jira] Commented: (CAMEL-1443) Unable to resolve scripting languages in OSGi environment
Date Tue, 10 Mar 2009 07:52:40 GMT


Willem Jiang commented on CAMEL-1443:

Thanks for point it out.
I just checked the code, current OsgiLanguageResolver can't handle the LanguageResolver rightly
and  will did a quick fix for it.


> Unable to resolve scripting languages in OSGi environment
> ---------------------------------------------------------
>                 Key: CAMEL-1443
>                 URL:
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-osgi
>    Affects Versions: 1.6.0
>         Environment: Felix OSGi Platform [1.2.2]
>            Reporter: Zhou Zhi
>            Assignee: Willem Jiang
> The created since CAMEL-1221 does not resolve scripting languages
by using the default resolver declared in camel-script. The DefaultLanguageResolver, however
in the non-osgi context, handles it properly.
> This leads to NullPointerException while launching a route in an OSGi container using
a scripting language, e.g. javascript.
> Exception in thread "SpringOsgiExtenderThread-2" java.lang.NullPointerException
> 	at org.apache.camel.model.language.ExpressionType.createPredicate(
> 	at org.apache.camel.model.ExpressionNode.createFilterProcessor(
> 	at org.apache.camel.model.WhenType.createProcessor(
> 	at org.apache.camel.model.ChoiceType.createProcessor(
> ...

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

View raw message