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

Jenkins JIRA | John Mellor | 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

    [JENKINS-27821] Docker Build Step Plugin: Unable to correctly install - Jenkins JIRA

    jenkins-ci.org | 1 year ago
    java.io.IOException: Failed to dynamically deploy this plugin
  2. 0

    [JENKINS-27821] Docker Build Step Plugin: Unable to correctly install - Jenkins JIRA

    jenkins-ci.org | 6 months ago
    java.io.IOException: Failed to dynamically deploy this plugin
  3. 0

    Unable to successfully install the docker buildstep plugin - apparent API mismatch. Plugin install log: java.io.IOException: Failed to dynamically deploy this plugin at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1322) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1121) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110) at java.lang.Thread.run(Thread.java:679) Caused by: java.io.IOException: Failed to initialize docker-build-step plugin at hudson.PluginManager.dynamicLoad(PluginManager.java:488) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1318) ... 6 more Caused by: org.jvnet.hudson.reactor.ReactorException: java.lang.Error: java.lang.reflect.InvocationTargetException at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:269) at jenkins.InitReactorRunner.run(InitReactorRunner.java:44) at hudson.PluginManager.dynamicLoad(PluginManager.java:486) ... 7 more Caused by: java.lang.Error: java.lang.reflect.InvocationTargetException at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:110) at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:176) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) 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:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) ... 1 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:106) ... 7 more Caused by: java.lang.UnsupportedClassVersionError: com/github/dockerjava/api/model/ExposedPort : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:634) at jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1138) at hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:799) at jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1309) at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1365) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1078) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) at org.jenkinsci.plugins.dockerbuildstep.PluginImpl.addXStreamAliases(PluginImpl.java:19) ... 12 more

    Jenkins JIRA | 2 years ago | John Mellor
    java.io.IOException: Failed to dynamically deploy this plugin
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unable to successfully install the docker buildstep plugin - apparent API mismatch. Plugin install log: java.io.IOException: Failed to dynamically deploy this plugin at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1322) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1121) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110) at java.lang.Thread.run(Thread.java:679) Caused by: java.io.IOException: Failed to initialize docker-build-step plugin at hudson.PluginManager.dynamicLoad(PluginManager.java:488) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1318) ... 6 more Caused by: org.jvnet.hudson.reactor.ReactorException: java.lang.Error: java.lang.reflect.InvocationTargetException at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:269) at jenkins.InitReactorRunner.run(InitReactorRunner.java:44) at hudson.PluginManager.dynamicLoad(PluginManager.java:486) ... 7 more Caused by: java.lang.Error: java.lang.reflect.InvocationTargetException at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:110) at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:176) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) 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:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) ... 1 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:106) ... 7 more Caused by: java.lang.UnsupportedClassVersionError: com/github/dockerjava/api/model/ExposedPort : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:634) at jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1138) at hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:799) at jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1309) at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1365) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1078) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) at org.jenkinsci.plugins.dockerbuildstep.PluginImpl.addXStreamAliases(PluginImpl.java:19) ... 12 more

    Jenkins JIRA | 2 years ago | John Mellor
    java.io.IOException: Failed to dynamically deploy this plugin
  6. 0

    Does the laster version of docker plugin requires java 1.7 ?

    Google Groups | 2 years ago | ycollet
    java.io.IOException: Unable to load com.nirima.jenkins.plugins.docker.PluginImpl from docker-plugin

    14 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.UnsupportedClassVersionError

      com/github/dockerjava/api/model/ExposedPort : Unsupported major.minor version 51.0

      at java.lang.ClassLoader.defineClass1()
    2. Java RT
      ClassLoader.defineClass
      1. java.lang.ClassLoader.defineClass1(Native Method)
      2. java.lang.ClassLoader.defineClass(ClassLoader.java:634)
      2 frames
    3. jenkins.util
      AntClassLoader.defineClassFromData
      1. jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1138)
      1 frame
    4. Hudson
      ClassicPluginStrategy$AntClassLoader2.defineClassFromData
      1. hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:799)
      1 frame
    5. jenkins.util
      AntClassLoader.loadClass
      1. jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1309)
      2. jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1365)
      3. jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325)
      4. jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1078)
      4 frames
    6. Java RT
      ClassLoader.loadClass
      1. java.lang.ClassLoader.loadClass(ClassLoader.java:266)
      1 frame
    7. org.jenkinsci.plugins
      PluginImpl.addXStreamAliases
      1. org.jenkinsci.plugins.dockerbuildstep.PluginImpl.addXStreamAliases(PluginImpl.java:19)
      1 frame
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:616)
      4 frames
    9. Hudson
      TaskMethodFinder$TaskImpl.run
      1. hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:106)
      2. hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:176)
      2 frames
    10. init
      Reactor$Node.run
      1. org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
      2. org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
      3. org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
      3 frames
    11. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      3. java.lang.Thread.run(Thread.java:679)
      3 frames