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.

  • *{{NoSuchMethodError}}* exception when building FindBugs result: {noformat} ... BUILD SUCCESSFUL Total time: 11 minutes 35 seconds [WARNINGS] Parsing warnings in console log... [FINDBUGS] Collecting findbugs analysis files... [FINDBUGS] Successfully parsed file /home/hudson/hudson_home/jobs/42-AURUM-CI-analyze/workspace/findbugs-result.xml of module workspace with 74 warnings. FATAL: hudson.plugins.analysis.core.BuildResult.<init>(Lhudson/model/AbstractBuild;Ljava/lang/String;Lhudson/plugins/analysis/core/ParserResult;Lhudson/plugins/analysis/core/BuildResult;)V java.lang.NoSuchMethodError: hudson.plugins.analysis.core.BuildResult.<init>(Lhudson/model/AbstractBuild;Ljava/lang/String;Lhudson/plugins/analysis/core/ParserResult;Lhudson/plugins/analysis/core/BuildResult;)V at hudson.plugins.findbugs.FindBugsResult.<init>(FindBugsResult.java:50) at hudson.plugins.findbugs.FindBugsResultBuilder.build(FindBugsResultBuilder.java:31) at hudson.plugins.findbugs.FindBugsPublisher.perform(FindBugsPublisher.java:96) at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:153) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:582) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:563) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:550) at hudson.model.Build$RunnerImpl.post2(Build.java:152) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528) at hudson.model.Run.run(Run.java:1263) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:122) {noformat}
    via by johanwannheden,
    • java.lang.NoSuchMethodError: hudson.model.Project.getBuilders()Ljava/util/List; at hudson.plugins.findbugs.util.HealthAwarePublisher.isMavenBuild(HealthAwarePublisher.java:418) at hudson.plugins.findbugs.FindBugsPublisher.perform(FindBugsPublisher.java:79)
    No Bugmate found.