Issue Details (XML | Word | Printable)

Key: CLOV-242
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Brendan Humphreys [Atlassian]
Reporter: Michael Studman [Atlassian]
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Clover

Reporting after a merge where one project has a test failure results in NPE

Created: 22/Apr/08 04:18 PM   Updated: 23/Apr/08 06:48 PM
Component/s: None
Affects Version/s: 2.2.1
Fix Version/s: 2.3

Time Tracking:
Not Specified

Participants: Brendan Humphreys [Atlassian] and Michael Studman [Atlassian]
Since last comment: 31 weeks, 5 days ago
Resolution Date: 23/Apr/08 06:48 PM
Labels:


 Description  « Hide
In Eclipse, I chose two projects to merge and then report. One project had test failures. The merge succeeds but the report fails with:

ERROR: Velocity.Method linkifyStackTrace threw exception for reference $renderUtil in template html_res/test-class-summary.vm at [64,108]
ERROR: A problem was encountered while rendering the report: Invocation of method 'linkifyStackTrace' in class com.cenqua.clover.reporters.html.HtmlRenderingSupport threw exception class java.lang.NullPointerException : null

Perhaps the stack traces aren't copied over during a merge? I don't have time to track this down right now.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Michael Studman [Atlassian] added a comment - 22/Apr/08 05:23 PM
This seems to only occur for obfuscated builds of Eclipse. Possibly the same for Ant but yet to verify.

Michael Studman [Atlassian] added a comment - 23/Apr/08 08:26 AM
a null StackTraceInfo is passed in - this is returned from TestCaseInfo.getStackTrace() immediately prior to calling linkifyStackTrace()