sauce on demand failing to initialize

40 views
Skip to first unread message

Bryan Pearson

unread,
Jan 5, 2016, 5:09:35 PM1/5/16
to Jenkins Users
Hello,

I am having a problem getting the sauce-ondemand plugin to work. Looking at the logs this is the error I get. I am running Jenkins version 1.643. Any suggestions on what to look at would be helpful.

Failed Loading plugin sauce-ondemand
java.io.IOException: Failed to initialize
	at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:441)
	at hudson.PluginManager$2$1$1.run(PluginManager.java:384)
	at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
	at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
	at jenkins.model.Jenkins$8.runTask(Jenkins.java:913)
	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:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
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:93)
	at hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:449)
	at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:438)
	... 9 more
Caused by: java.lang.ClassNotFoundException: org.sonatype.guice.bean.locators.MutableBeanLocator
	at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376)
	at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
	at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
	... 13 more

Thanks,
Bryan

Victor Martinez

unread,
Jan 6, 2016, 5:54:01 AM1/6/16
to Jenkins Users
Hi,

It seems that particular class "org.sonatype.guice.bean.locators.MutableBeanLocator" wasn't loaded in your jenkins instance for some reason, probably that plugin is using that transitive dependency from another library.

What sauce-ondemand version are you using? Have you tried to upgrade it to the latest version if you are in a previous version? Or the other way around, to downgrade it? Have you tried to restart your jenkins instance and see whether it works fine afterwards?

Cheers
Reply all
Reply to author
Forward
0 new messages