-
Bug
-
Resolution: Fixed
-
Blocker
-
None
-
Platform: All, OS: All
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)