camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Diesler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-10477) [jruby] Upgrade to 1.7.26
Date Mon, 21 Nov 2016 10:27:58 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-10477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15683128#comment-15683128
] 

Thomas Diesler commented on CAMEL-10477:
----------------------------------------

This upgrade frequently causes 

{code}
Caused by: org.jruby.embed.EvalFailedException: (NoMethodError) undefined method `getBody'
for nil:NilClass
	at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:132)
	at org.jruby.embed.jsr223.JRubyEngine.eval(JRubyEngine.java:90)
	at org.apache.camel.builder.script.ScriptBuilder.runScript(ScriptBuilder.java:469)
	at org.apache.camel.builder.script.ScriptBuilder.doEvaluateScript(ScriptBuilder.java:428)
	at org.apache.camel.builder.script.ScriptBuilder.evaluateScript(ScriptBuilder.java:409)
	... 151 more
Caused by: org.jruby.exceptions.RaiseException: (NoMethodError) undefined method `getBody'
for nil:NilClass
	at RUBY.(root)(<script>:1)
{code}

CrossRef: https://github.com/wildfly-extras/wildfly-camel/issues/1395

> [jruby] Upgrade to 1.7.26
> -------------------------
>
>                 Key: CAMEL-10477
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10477
>             Project: Camel
>          Issue Type: Task
>          Components: camel-script
>    Affects Versions: 2.18.0
>            Reporter: Paolo Antinori
>            Assignee: Paolo Antinori
>            Priority: Minor
>             Fix For: 2.19.0
>
>
> Upgrade {{jruby}} to {{v1.7.26}}
> Note: this requires to explicitly set in test, while in used in multithread envs.
> {code}
> System.setProperty("org.jruby.embed.localcontext.scope", "threadsafe")
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message