Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

ruby-runtime failed to load w/ java version >= 1.7 #115

Open
DoCode opened this issue May 11, 2015 · 3 comments
Open

ruby-runtime failed to load w/ java version >= 1.7 #115

DoCode opened this issue May 11, 2015 · 3 comments

Comments

@DoCode
Copy link

DoCode commented May 11, 2015

Used by gitlab hook plugin etc.

Log w/ jre9

May 11, 2015 5:52:32 PM SEVERE jenkins.InitReactorRunner$1 onTaskFailed
Failed Loading plugin ruby-runtime
java.io.IOException: Failed to initialize
    at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:439)
    at hudson.PluginManager$2$1$1.run(PluginManager.java:371)
    at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
    at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
    at jenkins.model.Jenkins$7.runTask(Jenkins.java:905)
    at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
    at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ExceptionInInitializerError
    at org.jruby.embed.internal.AbstractLocalContextProvider.<init>(AbstractLocalContextProvider.java:42)
    at org.jruby.embed.internal.SingleThreadLocalContextProvider.<init>(SingleThreadLocalContextProvider.java:43)
    at org.jruby.embed.ScriptingContainer.getProviderInstance(ScriptingContainer.java:242)
    at org.jruby.embed.ScriptingContainer.<init>(ScriptingContainer.java:226)
    at org.jruby.embed.ScriptingContainer.<init>(ScriptingContainer.java:192)
    at org.kohsuke.stapler.jelly.jruby.JRubyFacet.<init>(JRubyFacet.java:65)
    at ruby.RubyRuntimePlugin.registerJRubyFacet(RubyRuntimePlugin.java:39)
    at ruby.RubyRuntimePlugin.start(RubyRuntimePlugin.java:30)
    at hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:447)
    at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:436)
    ... 9 more
Caused by: java.lang.RuntimeException: unsupported Java version: 1.9
    at org.jruby.RubyInstanceConfig.initGlobalJavaVersion(RubyInstanceConfig.java:1674)
    at org.jruby.RubyInstanceConfig.<clinit>(RubyInstanceConfig.java:1387)
    ... 19 more
@dkowis
Copy link

dkowis commented Jul 9, 2015

This loaded just fine for me on OSx with java 1.8 And on linux boxes with Java 1.8

Maybe just doesn't work in java 1.9 yet.

@ghost
Copy link

ghost commented Apr 26, 2019

Doesn't work with Java Verions > 1.8. Which is quite bad as 1.8 is already out of support...

@Titaniumtown
Copy link

Titaniumtown commented Apr 9, 2021

Yea, I'm getting the error with java 11. This dependency is needed for gitlab integration, seems I'm going back to using a 6 year old JVM again...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants