This is an incompatibility between findbugs plug-in and the flexible-publisher plug-in. Will be fixed with the next releases of the analysis plug-ins and the flexible-publisher plug-in.
See https://issues.jenkins-ci.org/browse/JENKINS-12182, https://issues.jenkins-ci.org/browse/JENKINS-12692, https://issues.jenkins-ci.org/browse/JENKINS-8185. Ulli On 02/29/2012 10:37 AM, BEvans wrote: > Hi, > > I've currently got a Jenkins job building a Java project and > publishing findbugs results. The build is carried out through Ant and > completes successfully, as well as findbugs successfully generating an > xml file. The problem occurs when the findbugs plugin attempts to > publish this xml. The error is: > > [FINDBUGS] Collecting findbugs analysis files... > [FINDBUGS] Successfully parsed file /Jenkins/Build1/reports/findbugs/ > findbugs.xml of module findbugs with 14 warnings. > ERROR: Publisher hudson.plugins.findbugs.FindBugsPublisher aborted due > to exception > java.lang.NullPointerException: Name is null > at java.lang.Enum.valueOf(Enum.java:213) > at > hudson.plugins.analysis.util.model.Priority.valueOf(Priority.java:18) > ... > > The versions of the tools are: > Findbugs 2.0.0 > Findbugs Jenkins Plugin 4.9 > Jenkins 1.446 > > This causes the build to fail and obviously for the Findbugs results > to not be displayed by Jenkins. Any help with this would be > appreciated. > > Thanks.