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

Ruby Runtime Plugin - org.jruby.util.collections.WeakHashSet not found

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: ruby-runtime-plugin
    • Labels:
      None
    • Environment:
      Jenkins ver. 1.633, OpenJDK 1.7.0_79, Ubuntu 14.04.3 LTS
    • Similar Issues:

      Description

      I can't install Ruby Runtime Plugin.
      Failure reason:

      java.io.IOException: Failed to dynamically deploy this plugin
      	at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1328)
      	at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1126)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.io.IOException: Failed to install ruby-runtime plugin
      	at hudson.PluginManager.dynamicLoad(PluginManager.java:487)
      	at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1324)
      	... 5 more
      Caused by: java.io.IOException: Failed to initialize
      	at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:441)
      	at hudson.PluginManager.dynamicLoad(PluginManager.java:478)
      	... 6 more
      Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: org.jruby.util.collections.WeakHashSet
      	at org.kohsuke.asm5.ClassWriter.getCommonSuperClass(ClassWriter.java:1684)
      	at org.kohsuke.asm5.ClassWriter.getMergedType(ClassWriter.java:1654)
      	at org.kohsuke.asm5.Frame.merge(Frame.java:1426)
      	at org.kohsuke.asm5.Frame.merge(Frame.java:1325)
      	at org.kohsuke.asm5.MethodWriter.visitMaxs(MethodWriter.java:1475)
      	at org.kohsuke.asm5.tree.MethodNode.accept(MethodNode.java:833)
      	at org.kohsuke.asm5.commons.JSRInlinerAdapter.visitEnd(JSRInlinerAdapter.java:187)
      	at org.kohsuke.asm5.MethodVisitor.visitEnd(MethodVisitor.java:877)
      	at org.kohsuke.asm5.ClassReader.readMethod(ClassReader.java:1021)
      	at org.kohsuke.asm5.ClassReader.accept(ClassReader.java:693)
      	at org.kohsuke.asm5.ClassReader.accept(ClassReader.java:506)
      	at org.jenkinsci.bytecode.Transformer.transform(Transformer.java:76)
      	at hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:800)
      	at jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1310)
      	at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1366)
      	at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
      	at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      	at org.jenkinsci.jruby.RubyClassConverter.<init>(RubyClassConverter.java:12)
      	at org.jenkinsci.jruby.JRubyXStream.register(JRubyXStream.java:25)
      	at ruby.RubyRuntimePlugin.initRubyXStreams(RubyRuntimePlugin.java:44)
      	at ruby.RubyRuntimePlugin.start(RubyRuntimePlugin.java:28)
      	at hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:449)
      	at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:438)
      	... 7 more
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mwiktorczyk Mariusz Wiktorczyk
              • Votes:
                2 Vote for this issue
                Watchers:
                13 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: