Issue Type: Bug Bug
Assignee: sogabe
Components: cloverphp-plugin
Created: 26/Jul/12 6:55 PM
Description:

I'm attempting to run Clover reports from my PHPUnit test logs, and I keep getting this error. I noticed a similar error had already been fixed (the one relating to empty HTML directory settings), but I think this one is different, judging from the stack trace.

I have a coverage XML file and a valid directory for HTML output. The same error occurs whether or not HTML reports are enabled or not.

Publishing Clover coverage report...
Publishing Clover XML report...
Publishing Clover coverage results...
ERROR: Publisher org.jenkinsci.plugins.cloverphp.CloverPublisher aborted due to exception
java.lang.NullPointerException
at org.jenkinsci.plugins.cloverphp.CloverCoverageParser.trimPaths(CloverCoverageParser.java:29)
at org.jenkinsci.plugins.cloverphp.CloverCoverageParser.parse(CloverCoverageParser.java:50)
at org.jenkinsci.plugins.cloverphp.CloverPublisher.processCloverXml(CloverPublisher.java:216)
at org.jenkinsci.plugins.cloverphp.CloverPublisher.perform(CloverPublisher.java:189)
at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:692)
at hudson.model.Build$BuildExecution.post2(Build.java:183)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639)
at hudson.model.Run.execute(Run.java:1513)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:236)
Finished: FAILURE

Environment: Ubuntu 12.04
Jenkins 1.475
Clover PHP 0.3.2
Fix Versions: current
Project: Jenkins
Labels: plugin exception
Priority: Major Major
Reporter: Geoff Adams
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to