jenkinsci/analysis-core-plugin — pull request #13 by hindsholm (2012-09-14 10:39:01+00:00)
Title: Added code to avoid NPE

I have fixed two NullPointerExceptions.

The first one was in hudson.plugins.analysis.core.AbstractProjectAction.getIconFileName(AbstractProjectAction.java:340)

The second one was:
java.lang.NullPointerException: Name is null
at java.lang.Enum.valueOf(Enum.java:195)
at hudson.plugins.analysis.util.model.Priority.valueOf(Priority.java:1)
at hudson.plugins.analysis.core.HealthAwareReporter.getMinimumPriority(HealthAwareReporter.java:592)
at hudson.plugins.analysis.core.AbstractHealthDescriptor.(AbstractHealthDescriptor.java:36)
at hudson.plugins.analysis.core.NullHealthDescriptor.(NullHealthDescriptor.java:71)
at hudson.plugins.analysis.core.HealthAwareReporter.registerResults(HealthAwareReporter.java:339)
at hudson.plugins.analysis.core.HealthAwareReporter.access$2(HealthAwareReporter.java:335)
at hudson.plugins.analysis.core.HealthAwareReporter$1.call(HealthAwareReporter.java:325)
at hudson.plugins.analysis.core.HealthAwareReporter$1.call(HealthAwareReporter.java:1)

Both exceptions occured in a Maven-based build which is a bit unusual since it only runs Checkstyle.