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

Jenkins JIRA | Toby Broyles | 1 year ago
  1. 0

    When trying to install the Sauce OnDemand plugin via 'Install without restart' as well as 'Download now and install after restart' I receive the following error: {code}java.io.IOException: Failed to dynamically deploy this plugin at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1317) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1116) 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:104) at java.lang.Thread.run(Thread.java:745) Caused by: java.io.IOException: Failed to install sauce-ondemand plugin at hudson.PluginManager.dynamicLoad(PluginManager.java:453) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1313) ... 5 more Caused by: java.io.IOException: Failed to initialize at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:396) at hudson.PluginManager.dynamicLoad(PluginManager.java:444) ... 6 more Caused by: java.lang.NoClassDefFoundError: org/sonatype/guice/bean/locators/MutableBeanLocator at com.saucelabs.hudson.HudsonSauceManagerFactory.start(HudsonSauceManagerFactory.java:55) at hudson.plugins.sauce_ondemand.PluginImpl.start(PluginImpl.java:148) at hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:404) at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:393) ... 7 more Caused by: java.lang.ClassNotFoundException: org.sonatype.guice.bean.locators.MutableBeanLocator at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1375) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1078) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 11 more {code} I have also tried installing it manually via uploading the hpi at https://updates.jenkins-ci.org/download/plugins/sauce-ondemand/ which results in the same.

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

    When trying to install the Sauce OnDemand plugin via 'Install without restart' as well as 'Download now and install after restart' I receive the following error: {code}java.io.IOException: Failed to dynamically deploy this plugin at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1317) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1116) 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:104) at java.lang.Thread.run(Thread.java:745) Caused by: java.io.IOException: Failed to install sauce-ondemand plugin at hudson.PluginManager.dynamicLoad(PluginManager.java:453) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1313) ... 5 more Caused by: java.io.IOException: Failed to initialize at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:396) at hudson.PluginManager.dynamicLoad(PluginManager.java:444) ... 6 more Caused by: java.lang.NoClassDefFoundError: org/sonatype/guice/bean/locators/MutableBeanLocator at com.saucelabs.hudson.HudsonSauceManagerFactory.start(HudsonSauceManagerFactory.java:55) at hudson.plugins.sauce_ondemand.PluginImpl.start(PluginImpl.java:148) at hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:404) at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:393) ... 7 more Caused by: java.lang.ClassNotFoundException: org.sonatype.guice.bean.locators.MutableBeanLocator at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1375) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1078) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 11 more {code} I have also tried installing it manually via uploading the hpi at https://updates.jenkins-ci.org/download/plugins/sauce-ondemand/ which results in the same.

    Jenkins JIRA | 1 year ago | Toby Broyles
    java.io.IOException: Failed to dynamically deploy this plugin
  3. 0

    Can't build: java.lang.NoClassDefFoundError: org/jenkinsci/plugins/tokenmacro/TokenMacro

    GitHub | 2 years ago | marcellodesales
    java.lang.NoClassDefFoundError: org/jenkinsci/plugins/tokenmacro/TokenMacro
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to deploy war file to jboss 5.1 from jenkins 1.609 automatically during build?

    Stack Overflow | 1 year ago | varun
    org.codehaus.cargo.container.ContainerException: Failed to create deployer with implementation class org.codehaus.cargo.container.jboss.JBoss5xRemoteDeployer for the parameters (container [id = [jboss5x]], deployer type [remote]).
  6. 0

    Jenkins users - NoClassDefFoundError: tasks/SimpleBuildStep

    nabble.com | 4 months ago
    java.lang.NoClassDefFoundError: jenkins/tasks/SimpleBuildStep

  1. davidvanlaatum 22 times, last 6 months ago
  2. poroszd 1 times, last 1 month ago
22 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.ClassNotFoundException

    org.sonatype.guice.bean.locators.MutableBeanLocator

    at jenkins.util.AntClassLoader.findClassInComponents()
  2. jenkins.util
    AntClassLoader.loadClass
    1. jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1375)
    2. jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325)
    3. jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1078)
    3 frames
  3. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    1 frame
  4. com.saucelabs.hudson
    HudsonSauceManagerFactory.start
    1. com.saucelabs.hudson.HudsonSauceManagerFactory.start(HudsonSauceManagerFactory.java:55)
    1 frame
  5. hudson.plugins.sauce_ondemand
    PluginImpl.start
    1. hudson.plugins.sauce_ondemand.PluginImpl.start(PluginImpl.java:148)
    1 frame
  6. Hudson
    UpdateCenter$DownloadJob.run
    1. hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:404)
    2. hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:393)
    3. hudson.PluginManager.dynamicLoad(PluginManager.java:444)
    4. hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1313)
    5. hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1116)
    5 frames
  7. 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
  8. Hudson :: Remoting Layer
    AtmostOneThreadExecutor$Worker.run
    1. hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:104)
    1 frame
  9. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame