I installed several new plugins for Jenkins (Checkstyle, DRY, FindBugs, PMD, Warnings and Task Scanner) as well as upgrading all existing plugins that had upgrades available. After restarting Jenkins, nearly all of my jobs have disappeared from the dashboard. I tried disabling the new plugins and restarting again, but they are still not there.
Looking in the Jenkins log, I can see a NoSuchMethodError exception being thrown for each job that has disappeared:
Jul 09, 2013 1:09:22 PM jenkins.InitReactorRunner$1 onTaskFailed
SEVERE: Failed Loading job algo
java.lang.NoSuchMethodError: hudson.maven.AbstractMavenProject.triggers()Lhudson/util/DescribableList;
at hudson.maven.AbstractMavenProject.createTransientActions(AbstractMavenProject.java:187)
at hudson.maven.MavenModuleSet.createTransientActions(MavenModuleSet.java:464)
at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:717)
at hudson.maven.MavenModuleSet.updateTransientActions(MavenModuleSet.java:460)
at hudson.model.AbstractProject.onLoad(AbstractProject.java:316)
at hudson.maven.MavenModuleSet.onLoad(MavenModuleSet.java:762)
at hudson.model.Items.load(Items.java:221)
at jenkins.model.Jenkins$17.run(Jenkins.java:2542)
at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146)
at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
at jenkins.model.Jenkins$7.runTask(Jenkins.java:893)
at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
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:722)
What could be the problem? I am using Jenkins version 1.516.
Upgrading Jenkins to the latest version (1.522) fixed this problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With