-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
Platform: All, OS: All
When running the findbugs plugin on a slave the build breaks as soon as the
logger is about to print out a message. The logger does not seem to be set on
the slave, so a NullPointerException is thrown.
A sample console output:
-------------------
started
Building remotely on ci-dev@carl.uat.jamba.net
Collecting findbugs analysis files...
FATAL: null
java.lang.NullPointerException
at
hudson.plugins.findbugs.parser.FindBugsCollector.parseFile(FindBugsCollector.java:129)
at
hudson.plugins.findbugs.parser.FindBugsCollector.invoke(FindBugsCollector.java:93)
at
hudson.plugins.findbugs.parser.FindBugsCollector.invoke(FindBugsCollector.java:27)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1093)
at hudson.remoting.UserRequest.perform(UserRequest.java:69)
at hudson.remoting.UserRequest.perform(UserRequest.java:23)
at hudson.remoting.Request$2.run(Request.java:200)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
-------------------
On the master the build is fine.
When I comment out all the logging statements the build runs smoothly.
The following Java source files contain logging statements:
hudson.plugins.findbugs.FindBugsPublisher
hudson.plugins.findbugs.FindBugsReporter
hudson.plugins.findbugs.parser.FindBugsCollector