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

Violations Plugin throws NPE

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • violations-plugin
    • None
    • Platform: All, OS: All

    Description

      I am attempting to use Hudson 1.243 with Violations 0.7.0 on a Maven2 job to
      have Violations aggregate my Maven2 FindBugs, PMD, and CPD reports.
      Unfortunately, though my job successfully builds, when I select the "Violations"
      link on the left-side bar of my job, Hudson returns an HTTP 500 error and a
      stacktrace that shows an NPE:
      Status Code: 500
      Exception:
      Stacktrace:

      java.lang.NullPointerException at
      hudson.plugins.violations.hudson.maven.ViolationsAggregatedReport.init(ViolationsAggregatedReport.java:60)
      at
      hudson.plugins.violations.hudson.maven.ViolationsAggregatedReport.ViolationsAggregatedReport.java:28)
      at
      hudson.plugins.violations.hudson.maven.ViolationsMavenAggregatedBuildAction.getReport(ViolationsMavenAggregatedBuildAction.java:54)
      at
      hudson.plugins.violations.hudson.maven.ViolationsMavenAggregatedBuildAction.getReport(ViolationsMavenAggregatedBuildAction.java:23)
      at
      hudson.plugins.violations.hudson.AbstractViolationsProjectAction.getViolationsAction(AbstractViolationsProjectAction.java:116)
      at
      hudson.plugins.violations.hudson.AbstractViolationsProjectAction.getTarget(AbstractViolationsProjectAction.java:73)

      Attachments

        Activity

          People

            peterkittreilly peterkittreilly
            anurup anurup
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: