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

Jenkins JIRA | Andrea Barbieri | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    attempting to install the ruby-runtime plugin (version 0.12) throws the following error: {noformat} INFO: Starting the installation of Ruby Runtime Plugin on behalf of andrea Oct 28, 2015 8:49:00 AM hudson.model.UpdateCenter$UpdateCenterConfiguration download INFO: Downloading Ruby Runtime Plugin Oct 28, 2015 8:49:01 AM hudson.PluginManager dynamicLoad INFO: Attempting to dynamic load /var/lib/jenkins/plugins/ruby-runtime.jpi Oct 28, 2015 8:49:02 AM ruby.RubyRuntimePlugin start INFO: Injecting JRuby into XStream Oct 28, 2015 8:49:02 AM hudson.model.UpdateCenter$DownloadJob run SEVERE: Failed to install Ruby Runtime Plugin 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:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110) at java.lang.Thread.run(Thread.java:744) 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.ClassCircularityError: org/jruby/RubyClass at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:270) at org.jenkinsci.bytecode.ClassWriter.loadClass(ClassWriter.java:97) at org.jenkinsci.bytecode.ClassWriter.getCommonSuperClass(ClassWriter.java:64) 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:1374) 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.jenkinsci.bytecode.Transformer$1$1.visitEnd(Transformer.java:107) 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:113) 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:358) 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 | 2 years ago | Andrea Barbieri
    java.io.IOException: Failed to dynamically deploy this plugin
  2. 0

    attempting to install the ruby-runtime plugin (version 0.12) throws the following error: {noformat} INFO: Starting the installation of Ruby Runtime Plugin on behalf of andrea Oct 28, 2015 8:49:00 AM hudson.model.UpdateCenter$UpdateCenterConfiguration download INFO: Downloading Ruby Runtime Plugin Oct 28, 2015 8:49:01 AM hudson.PluginManager dynamicLoad INFO: Attempting to dynamic load /var/lib/jenkins/plugins/ruby-runtime.jpi Oct 28, 2015 8:49:02 AM ruby.RubyRuntimePlugin start INFO: Injecting JRuby into XStream Oct 28, 2015 8:49:02 AM hudson.model.UpdateCenter$DownloadJob run SEVERE: Failed to install Ruby Runtime Plugin 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:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110) at java.lang.Thread.run(Thread.java:744) 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.ClassCircularityError: org/jruby/RubyClass at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:270) at org.jenkinsci.bytecode.ClassWriter.loadClass(ClassWriter.java:97) at org.jenkinsci.bytecode.ClassWriter.getCommonSuperClass(ClassWriter.java:64) 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:1374) 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.jenkinsci.bytecode.Transformer$1$1.visitEnd(Transformer.java:107) 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:113) 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:358) 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 | 2 years ago | Andrea Barbieri
    java.io.IOException: Failed to dynamically deploy this plugin
  3. 0

    Failed to install Ruby Runtime Plugin on Jenkins 1.635 (#00092559) at PasteBucket

    pastebucket.com | 1 year ago
    java.io.IOException: Failed to dynamically deploy this plugin
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    1 unregistered visitors
    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.ClassCircularityError

      org/jruby/RubyClass

      at java.lang.Class.forName0()
    2. Java RT
      Class.forName
      1. java.lang.Class.forName0(Native Method)
      2. java.lang.Class.forName(Class.java:270)
      2 frames
    3. org.jenkinsci.bytecode
      ClassWriter.getCommonSuperClass
      1. org.jenkinsci.bytecode.ClassWriter.loadClass(ClassWriter.java:97)
      2. org.jenkinsci.bytecode.ClassWriter.getCommonSuperClass(ClassWriter.java:64)
      2 frames
    4. asm5
      JSRInlinerAdapter.visitEnd
      1. org.kohsuke.asm5.ClassWriter.getMergedType(ClassWriter.java:1654)
      2. org.kohsuke.asm5.Frame.merge(Frame.java:1426)
      3. org.kohsuke.asm5.Frame.merge(Frame.java:1374)
      4. org.kohsuke.asm5.MethodWriter.visitMaxs(MethodWriter.java:1475)
      5. org.kohsuke.asm5.tree.MethodNode.accept(MethodNode.java:833)
      6. org.kohsuke.asm5.commons.JSRInlinerAdapter.visitEnd(JSRInlinerAdapter.java:187)
      6 frames
    5. org.jenkinsci.bytecode
      Transformer$1$1.visitEnd
      1. org.jenkinsci.bytecode.Transformer$1$1.visitEnd(Transformer.java:107)
      1 frame
    6. asm5
      ClassReader.accept
      1. org.kohsuke.asm5.MethodVisitor.visitEnd(MethodVisitor.java:877)
      2. org.kohsuke.asm5.ClassReader.readMethod(ClassReader.java:1021)
      3. org.kohsuke.asm5.ClassReader.accept(ClassReader.java:693)
      4. org.kohsuke.asm5.ClassReader.accept(ClassReader.java:506)
      4 frames
    7. org.jenkinsci.bytecode
      Transformer.transform
      1. org.jenkinsci.bytecode.Transformer.transform(Transformer.java:113)
      1 frame
    8. Hudson
      ClassicPluginStrategy$AntClassLoader2.defineClassFromData
      1. hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:800)
      1 frame
    9. 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
    10. Java RT
      ClassLoader.loadClass
      1. java.lang.ClassLoader.loadClass(ClassLoader.java:358)
      1 frame
    11. 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
    12. ruby
      RubyRuntimePlugin.start
      1. ruby.RubyRuntimePlugin.initRubyXStreams(RubyRuntimePlugin.java:44)
      2. ruby.RubyRuntimePlugin.start(RubyRuntimePlugin.java:28)
      2 frames
    13. 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
    14. Java RT
      FutureTask.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      2 frames
    15. Hudson :: Remoting Layer
      AtmostOneThreadExecutor$Worker.run
      1. hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110)
      1 frame
    16. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:744)
      1 frame