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.

Reply via email to