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

Jenkins JIRA | johanwannheden | 7 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    *{{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}

    Jenkins JIRA | 7 years ago | johanwannheden
    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
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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>()
    2. hudson.plugins.findbugs
      FindBugsPublisher.perform
      1. hudson.plugins.findbugs.FindBugsResult.<init>(FindBugsResult.java:50)
      2. hudson.plugins.findbugs.FindBugsResultBuilder.build(FindBugsResultBuilder.java:31)
      3. hudson.plugins.findbugs.FindBugsPublisher.perform(FindBugsPublisher.java:96)
      3 frames
    3. Static Analysis Utilities
      HealthAwarePublisher.perform
      1. hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:153)
      1 frame
    4. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27)
      2. hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:582)
      3. hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:563)
      4. hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:550)
      5. hudson.model.Build$RunnerImpl.post2(Build.java:152)
      6. hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
      7. hudson.model.Run.run(Run.java:1263)
      8. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      9. hudson.model.ResourceController.execute(ResourceController.java:88)
      10. hudson.model.Executor.run(Executor.java:122)
      10 frames