java.io.IOException: Failed to dynamically deploy this plugin

Jenkins JIRA | Mariusz Wiktorczyk | 1 year ago
  1. 0

    I can't install Ruby Runtime Plugin. Failure reason: {noformat} 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 {noformat}

    Jenkins JIRA | 1 year ago | Mariusz Wiktorczyk
    java.io.IOException: Failed to dynamically deploy this plugin
  2. 0

    I can't install Ruby Runtime Plugin. Failure reason: {noformat} 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 {noformat}

    Jenkins JIRA | 1 year ago | Mariusz Wiktorczyk
    java.io.IOException: Failed to dynamically deploy this plugin
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 36#147910723

    GitHub | 1 year ago | stadia
    java.io.IOException: Failed to initialize
  5. 0

    [JIRA] [ruby-runtime-plugin] (JENKINS-30898) Ruby Runtime Plugin - org.jruby.util.collections.WeakHashSet not found

    Google Groups | 1 year ago | mariusz.wiktorczyk@consileon.pl (JIRA)
    java.io.IOException: Failed to dynamically deploy this plugin

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      java.lang.ClassNotFoundException: org.jruby.util.collections.WeakHashSet

      at org.kohsuke.asm5.ClassWriter.getCommonSuperClass()
    2. asm5
      ClassReader.accept
      1. org.kohsuke.asm5.ClassWriter.getCommonSuperClass(ClassWriter.java:1684)
      2. org.kohsuke.asm5.ClassWriter.getMergedType(ClassWriter.java:1654)
      3. org.kohsuke.asm5.Frame.merge(Frame.java:1426)
      4. org.kohsuke.asm5.Frame.merge(Frame.java:1325)
      5. org.kohsuke.asm5.MethodWriter.visitMaxs(MethodWriter.java:1475)
      6. org.kohsuke.asm5.tree.MethodNode.accept(MethodNode.java:833)
      7. org.kohsuke.asm5.commons.JSRInlinerAdapter.visitEnd(JSRInlinerAdapter.java:187)
      8. org.kohsuke.asm5.MethodVisitor.visitEnd(MethodVisitor.java:877)
      9. org.kohsuke.asm5.ClassReader.readMethod(ClassReader.java:1021)
      10. org.kohsuke.asm5.ClassReader.accept(ClassReader.java:693)
      11. org.kohsuke.asm5.ClassReader.accept(ClassReader.java:506)
      11 frames
    3. org.jenkinsci.bytecode
      Transformer.transform
      1. org.jenkinsci.bytecode.Transformer.transform(Transformer.java:76)
      1 frame
    4. Hudson
      ClassicPluginStrategy$AntClassLoader2.defineClassFromData
      1. hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:800)
      1 frame
    5. jenkins.util
      AntClassLoader.loadClass
      1. jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1310)
      2. jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1366)
      3. jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
      4. jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
      4 frames
    6. Java RT
      ClassLoader.loadClass
      1. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      1 frame
    7. org.jenkinsci.jruby
      JRubyXStream.register
      1. org.jenkinsci.jruby.RubyClassConverter.<init>(RubyClassConverter.java:12)
      2. org.jenkinsci.jruby.JRubyXStream.register(JRubyXStream.java:25)
      2 frames
    8. ruby
      RubyRuntimePlugin.start
      1. ruby.RubyRuntimePlugin.initRubyXStreams(RubyRuntimePlugin.java:44)
      2. ruby.RubyRuntimePlugin.start(RubyRuntimePlugin.java:28)
      2 frames
    9. Hudson
      UpdateCenter$DownloadJob.run
      1. hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:449)
      2. hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:438)
      3. hudson.PluginManager.dynamicLoad(PluginManager.java:478)
      4. hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1324)
      5. hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1126)
      5 frames
    10. Java RT
      FutureTask.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2 frames
    11. Hudson :: Remoting Layer
      AtmostOneThreadExecutor$Worker.run
      1. hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110)
      1 frame
    12. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame