Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
Description
This happens with 1.8.
I get the sloccount-data (report.sc) and some other XML files (findbugs etc.). Other than that, the workspace is empty. After retrieving the files, I run the publishers.
Please tell me how to work around this issue or fix the plugin.
If you need more information, please ask. I'm not sure how to write bug reports in here.
Best regards,
Carsten
ERROR: Publisher hudson.plugins.sloccount.SloccountPublisher aborted due to exception
java.lang.NullPointerException
at hudson.plugins.sloccount.model.SloccountParser.parseLine(SloccountParser.java:92)
at hudson.plugins.sloccount.model.SloccountParser.parse(SloccountParser.java:59)
at hudson.plugins.sloccount.model.SloccountParser.parse(SloccountParser.java:50)
at hudson.plugins.sloccount.model.SloccountParser.invoke(SloccountParser.java:40)
at hudson.plugins.sloccount.model.SloccountParser.invoke(SloccountParser.java:17)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2180)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:287)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
I uploaded the HPI file (no idea if that worked?) and created a new job based on a job that previously failed (and still does). However, the new job also fails with the same error message. Furthermore, even if the fix worked, I'd need to use the plugin for existing jobs.