Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-63588

Plugin not compatible with Java Development Kit 11

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Critical Critical
    • ruby-runtime-plugin
    • None
    • Jenkins-version: 2.190.3, JDK version: 11, Plugin-version: 0.12 latest

      Hello Team,

      We have build Jenkins 2.190.3 version on java 11 so the plugin "ruby-runtime" is not compatible with that java version as you see the error logs:

      2020-09-03 10:43:59.167+0000 [id=29] WARNING jenkins.model.Jenkins$5#runTask: Loading plugin ruby-runtime v0.12 (ruby-runtime) failed perhaps due to plugin dependency issues
      java.lang.RuntimeException: unsupported Java version: 11
      at org.jruby.RubyInstanceConfig.initGlobalJavaVersion(RubyInstanceConfig.java:1674)
      at org.jruby.RubyInstanceConfig.<clinit>(RubyInstanceConfig.java:1387)
      Caused: 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:401)
      at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:390)
      Caused: java.io.IOException: Failed to initialize
      at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:393)
      at hudson.PluginManager$2$1$1.run(PluginManager.java:547)
      at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
      at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:296)
      at jenkins.model.Jenkins$5.runTask(Jenkins.java:1119)
      at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:214)
      at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      at java.base/java.lang.Thread.run(Thread.java:834)

      So as this plugin is acting as a dependency of many plugins such as "Gitlab-hook", "Cucumber-Reports" and many such, so we can't use this plugin in our jenkins due to this issue.

      I request you to update this plugin to get compatible with Java 11 as I see the last update was 7 years ago.

            Unassigned Unassigned
            yashchou yashraj choudhary
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: