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

NoSuchMethodError with the findbugs plugin

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: findbugs-plugin
    • Labels:
    • Environment:
      Jenkins 1.455
    • Similar Issues:
      Show 5 results

      Description

      Version 4.35 of the findbugs seems to introduce a problem when collecting data from findbugs running on Maven 2.2.1. The following exception is what we get:

      java.lang.NoSuchMethodError: org.apache.maven.plugin.MojoExecution.getVersion()Ljava/lang/String;
      at hudson.plugins.findbugs.FindBugsReporter.determineFileName(FindBugsReporter.java:191)
      at hudson.plugins.findbugs.FindBugsReporter.perform(FindBugsReporter.java:166)
      at hudson.plugins.analysis.core.HealthAwareReporter.postExecute(HealthAwareReporter.java:304)
      at hudson.maven.Maven2Builder.postExecute(Maven2Builder.java:155)
      at hudson.maven.MavenBuilder$Adapter.postExecute(MavenBuilder.java:310)
      at hudson.maven.agent.PluginManagerInterceptor$1MojoIntercepterImpl.callPost(PluginManagerInterceptor.java:170)
      at hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:183)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)

      It seems to be introduced by the commit set fixing JENKINS-12853:
      https://github.com/jenkinsci/findbugs-plugin/commit/2d80d625949524a81794ae0b4249872f94feb556

      Downgrading to the previous version 4.34 makes the exception go away.

        Attachments

          Activity

          Hide
          drulli Ulli Hafner added a comment -

          Fixed in 4.36

          Show
          drulli Ulli Hafner added a comment - Fixed in 4.36

            People

            • Assignee:
              drulli Ulli Hafner
              Reporter:
              lange Thor Lange
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: