java.lang.NoSuchMethodError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • After updating Jenkins 1.466 -> 1.467 All Jobs where Sonar is included are removed from the job list. Log shows: INFO | jvm 1 | 2012/06/07 09:44:51 | Jun 07, 2012 9:44:51 AM jenkins.InitReactorRunner$1 onTaskFailed INFO | jvm 1 | 2012/06/07 09:44:51 | SEVERE: Failed Loading job Name SONAR INFO | jvm 1 | 2012/06/07 09:44:51 | java.lang.NoSuchMethodError: hudson.maven.MavenModuleSet.getRootPOM()Ljava/lang/String; INFO | jvm 1 | 2012/06/07 09:44:51 | at hudson.plugins.sonar.SonarPublisher.getPomName(SonarPublisher.java:278) INFO | jvm 1 | 2012/06/07 09:44:51 | at hudson.plugins.sonar.SonarPublisher.getSonarUrl(SonarPublisher.java:340) INFO | jvm 1 | 2012/06/07 09:44:51 | at hudson.plugins.sonar.SonarPublisher.getProjectAction(SonarPublisher.java:358) INFO | jvm 1 | 2012/06/07 09:44:51 | at hudson.tasks.BuildStepCompatibilityLayer.getProjectActions(BuildStepCompatibilityLayer.java:73) INFO | jvm 1 | 2012/06/07 09:44:51 | at hudson.maven.MavenModuleSet.createTransientActions(MavenModuleSet.java:376) INFO | jvm 1 | 2012/06/07 09:44:51 | at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:624) INFO | jvm 1 | 2012/06/07 09:44:51 | at hudson.maven.MavenModuleSet.updateTransientActions(MavenModuleSet.java:363) INFO | jvm 1 | 2012/06/07 09:44:51 | at hudson.model.AbstractProject.onLoad(AbstractProject.java:279) INFO | jvm 1 | 2012/06/07 09:44:51 | at hudson.maven.MavenModuleSet.onLoad(MavenModuleSet.java:669) INFO | jvm 1 | 2012/06/07 09:44:51 | at hudson.model.Items.load(Items.java:115) INFO | jvm 1 | 2012/06/07 09:44:51 | at jenkins.model.Jenkins$15.run(Jenkins.java:2472) INFO | jvm 1 | 2012/06/07 09:44:51 | at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) INFO | jvm 1 | 2012/06/07 09:44:51 | at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) INFO | jvm 1 | 2012/06/07 09:44:51 | at jenkins.model.Jenkins$6.runTask(Jenkins.java:865) INFO | jvm 1 | 2012/06/07 09:44:51 | at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) INFO | jvm 1 | 2012/06/07 09:44:51 | at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) INFO | jvm 1 | 2012/06/07 09:44:51 | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) INFO | jvm 1 | 2012/06/07 09:44:51 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) INFO | jvm 1 | 2012/06/07 09:44:51 | at java.lang.Thread.run(Thread.java:722)
    via by Michel Drenthe,
  • After updating Jenkins 1.466 -> 1.467 All Jobs where Sonar is included are removed from the job list. Log shows: INFO | jvm 1 | 2012/06/07 09:44:51 | Jun 07, 2012 9:44:51 AM jenkins.InitReactorRunner$1 onTaskFailed INFO | jvm 1 | 2012/06/07 09:44:51 | SEVERE: Failed Loading job Name SONAR INFO | jvm 1 | 2012/06/07 09:44:51 | java.lang.NoSuchMethodError: hudson.maven.MavenModuleSet.getRootPOM()Ljava/lang/String; INFO | jvm 1 | 2012/06/07 09:44:51 | at hudson.plugins.sonar.SonarPublisher.getPomName(SonarPublisher.java:278) INFO | jvm 1 | 2012/06/07 09:44:51 | at hudson.plugins.sonar.SonarPublisher.getSonarUrl(SonarPublisher.java:340) INFO | jvm 1 | 2012/06/07 09:44:51 | at hudson.plugins.sonar.SonarPublisher.getProjectAction(SonarPublisher.java:358) INFO | jvm 1 | 2012/06/07 09:44:51 | at hudson.tasks.BuildStepCompatibilityLayer.getProjectActions(BuildStepCompatibilityLayer.java:73) INFO | jvm 1 | 2012/06/07 09:44:51 | at hudson.maven.MavenModuleSet.createTransientActions(MavenModuleSet.java:376) INFO | jvm 1 | 2012/06/07 09:44:51 | at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:624) INFO | jvm 1 | 2012/06/07 09:44:51 | at hudson.maven.MavenModuleSet.updateTransientActions(MavenModuleSet.java:363) INFO | jvm 1 | 2012/06/07 09:44:51 | at hudson.model.AbstractProject.onLoad(AbstractProject.java:279) INFO | jvm 1 | 2012/06/07 09:44:51 | at hudson.maven.MavenModuleSet.onLoad(MavenModuleSet.java:669) INFO | jvm 1 | 2012/06/07 09:44:51 | at hudson.model.Items.load(Items.java:115) INFO | jvm 1 | 2012/06/07 09:44:51 | at jenkins.model.Jenkins$15.run(Jenkins.java:2472) INFO | jvm 1 | 2012/06/07 09:44:51 | at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) INFO | jvm 1 | 2012/06/07 09:44:51 | at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) INFO | jvm 1 | 2012/06/07 09:44:51 | at jenkins.model.Jenkins$6.runTask(Jenkins.java:865) INFO | jvm 1 | 2012/06/07 09:44:51 | at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) INFO | jvm 1 | 2012/06/07 09:44:51 | at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) INFO | jvm 1 | 2012/06/07 09:44:51 | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) INFO | jvm 1 | 2012/06/07 09:44:51 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) INFO | jvm 1 | 2012/06/07 09:44:51 | at java.lang.Thread.run(Thread.java:722)
    via by Michel Drenthe,
  • The latest release of Maven Plugin (1.467) is incompatible with the Sonar Jenkins Plugin 1.8.1. All Projects associated with Sonar fail to load on Jenkins Startup with the following error message: {code}SEVERE: Failed Loading job myjob java.lang.NoSuchMethodError: hudson.maven.MavenModuleSet.getRootPOM()Ljava/lang/String; at hudson.plugins.sonar.SonarPublisher.getPomName(SonarPublisher.java:278) at hudson.plugins.sonar.SonarPublisher.getSonarUrl(SonarPublisher.java:340) at hudson.plugins.sonar.SonarPublisher.getProjectAction(SonarPublisher.java:358) at hudson.tasks.BuildStepCompatibilityLayer.getProjectActions(BuildStepCompatibilityLayer.java:73) at hudson.maven.MavenModuleSet.createTransientActions(MavenModuleSet.java:376) at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:624) at hudson.maven.MavenModuleSet.updateTransientActions(MavenModuleSet.java:363) at hudson.model.AbstractProject.onLoad(AbstractProject.java:279) at hudson.maven.MavenModuleSet.onLoad(MavenModuleSet.java:669) at hudson.model.Items.load(Items.java:115) at jenkins.model.Jenkins$15.run(Jenkins.java:2472) 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$6.runTask(Jenkins.java:865) 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:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636){code} The reason for this is this change: https://github.com/jenkinsci/jenkins/commit/4e8775fc2c53a4fe4409a8b79c3bdd7eaa0274c0
    via by Bernhard Friedreich,
    • java.lang.NoSuchMethodError: hudson.maven.MavenModuleSet.getRootPOM()Ljava/lang/String; at hudson.plugins.sonar.SonarPublisher.getPomName(SonarPublisher.java:278) at hudson.plugins.sonar.SonarPublisher.getSonarUrl(SonarPublisher.java:340) at hudson.plugins.sonar.SonarPublisher.getProjectAction(SonarPublisher.java:358) at hudson.tasks.BuildStepCompatibilityLayer.getProjectActions(BuildStepCompatibilityLayer.java:73) at hudson.maven.MavenModuleSet.createTransientActions(MavenModuleSet.java:376) at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:624) at hudson.maven.MavenModuleSet.updateTransientActions(MavenModuleSet.java:363) at hudson.model.AbstractProject.onLoad(AbstractProject.java:279) at hudson.maven.MavenModuleSet.onLoad(MavenModuleSet.java:669) at hudson.model.Items.load(Items.java:115) at jenkins.model.Jenkins$15.run(Jenkins.java:2472) 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$6.runTask(Jenkins.java:865) 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:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722)
    No Bugmate found.