Installer Plugin Problems

53 views
Skip to first unread message

Michael Kelly

unread,
Mar 16, 2016, 12:11:36 PM3/16/16
to Black Duck Vulnerability Report
Hello,

I'm having problems getting the installer plugin to work.  Any help would be much appreciated.

Jenkins LTS 1.642.2
Jenkins Update Sites Manager plugin is installed

Upon Jenkins restart I see the following error messages:

 Error

hudson.util.HudsonFailedToLoad: org.jvnet.hudson.reactor.ReactorException: java.lang.Error: java.lang.reflect.InvocationTargetException
	at hudson.WebAppMain$3.run(WebAppMain.java:237)
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 jenkins.model.Jenkins.executeReactor(Jenkins.java:935)
	at jenkins.model.Jenkins.<init>(Jenkins.java:816)
	at hudson.model.Hudson.<init>(Hudson.java:83)
	at hudson.model.Hudson.<init>(Hudson.java:79)
	at hudson.WebAppMain$3.run(WebAppMain.java:225)
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 jenkins.model.Jenkins$8.runTask(Jenkins.java:924)
	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.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:606)
	at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:106)
	... 8 more
Caused by: java.lang.NoSuchMethodError: jp.ikedam.jenkins.plugins.updatesitesmanager.ManagedUpdateSite.getUpdateSite()Lhudson/model/UpdateSite;
	at com.blackducksoftware.integration.jenkins.UpdateSiteAdder.addManagedUpdateSite(UpdateSiteAdder.java:61)
	at com.blackducksoftware.integration.jenkins.BDInstaller.installBlackDuckUpdateSites(BDInstaller.java:138)
	... 13 more

James Richard

unread,
Mar 16, 2016, 12:16:08 PM3/16/16
to Black Duck Vulnerability Report
Hello Michael,
Do you have the "update-sites-manager" plugin installed? If so, what version?

Michael Kelly

unread,
Mar 16, 2016, 12:36:55 PM3/16/16
to Black Duck Vulnerability Report
Hi James,

Thanks for the help!

Yes, I have version 2.0.0 of the  "update-sites-manager" plugin installed.

-Mike

James Richard

unread,
Mar 16, 2016, 12:43:43 PM3/16/16
to Black Duck Vulnerability Report
So, the plugin was compiled with version 1.0.1 of the update-sites-manager plugin. As they mention in the Changelog on that wiki page, "Plugins depending on update-sites-manager might not work when you upgrade from versions < 2.0.0.".  So we need to update the installer and release a new version in order to fix this issue.  
In the meantime, if you can downgrade the update-sites-manager plugin to 1.0.1, that should solve you issue as a temporary workaround.

Michael Kelly

unread,
Mar 16, 2016, 2:15:19 PM3/16/16
to Black Duck Vulnerability Report
Ok great that did the trick.  Sorry I must have overlooked that nugget of info.  I was mearly looking at the required perquisites which didn't specify version from updateSites plugin.  I'll keep an eye out for your updated installer in the future.
Reply all
Reply to author
Forward
0 new messages