Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-25405

Plugins depending on Analysis Core plugin fails with NoSuchMethodError

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • analysis-core-plugin
    • None
    • Jenkins 1.587, Static Analysis Collector Plug-in 1.41, Warnings Plug-in 4.43

      I've just upgraded Jenkins with all plugins, and the warnings plugin throws an exception:

      java.lang.NoSuchMethodError: hudson.plugins.analysis.core.ParserResult.addAnnotations(Ljava/util/Collection;)V
      	at hudson.plugins.warnings.WarningsPublisher.parseConsoleLog(WarningsPublisher.java:405)
      	at hudson.plugins.warnings.WarningsPublisher.perform(WarningsPublisher.java:321)
      	at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:319)
      	at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:32)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734)
      	at hudson.model.Build$BuildExecution.post2(Build.java:183)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683)
      	at hudson.model.Run.execute(Run.java:1784)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      	at hudson.model.ResourceController.execute(ResourceController.java:89)
      	at hudson.model.Executor.run(Executor.java:240)

      Workaround

      Downgrade analysis-core plugin to 1.62 or an older release.

            drulli Ulli Hafner
            orgads Orgad Shaneh
            Votes:
            27 Vote for this issue
            Watchers:
            34 Start watching this issue

              Created:
              Updated:
              Resolved: