History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: BCOV-17
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Dan Grabowski
Reporter: Dan Grabowski
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Bamboo Coverage Plugin

Null pointer exception when plugin installed, but not enabled

Created: 16/May/07 09:31 AM   Updated: 16/May/07 08:47 PM
Component/s: None
Affects Version/s: 1.0
Fix Version/s: 1.0.1

Time Tracking:
Not Specified

Labels:


 Description  « Hide
After installing the code coverage plugin, the following exception occurs when executing a build with the code coverage plugin disabled.

java.lang.NullPointerException
at com.atlassian.bamboo.plugins.coverage.CoverageBuildProcessor.run(CoverageBuildProcessor.java:57)
at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.performCustomBuildProcess(ExecuteBuildTask.java:97)
at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:53)
at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
at edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.run(ThreadHelpers.java:34)
at java.lang.Thread.run(Thread.java:595)



 All   Comments   Work Log   Change History   FishEye   Crucible   Related Builds      Sort Order: Ascending order - Click to sort in descending order
Dan Grabowski - 16/May/07 09:49 AM
The build processor does not check to make sure the "custom.coverage.enabled" configuration property is set before checking its value. This results in the null pointer exception for any build that does not have the "Code coverage output will be produced" checkbox selected.