This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 164446

Summary: Stacktrace not showing caused by
Product: java Reporter: klaasjanelzinga <klaasjanelzinga>
Component: JUnitAssignee: Theofanis Oikonomou <theofanis>
Status: NEW ---    
Severity: blocker CC: matthies
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description klaasjanelzinga 2009-05-05 07:56:43 UTC
The test results panel (which looks great btw, the gradient in the progress bar, wow!) does not show the 'caused by'
from a stacktrace (shown for failing tests).

In our project we wrap a lot of exceptions to runtime exceptions. The underlying exception is not available in the gui.
The runtime exception itself does not report much usefullness.
Comment 1 Theofanis Oikonomou 2013-09-04 14:49:56 UTC
*** Bug 196961 has been marked as a duplicate of this bug. ***
Comment 2 dazed19 2015-12-22 13:10:13 UTC
I would just add that not being able to see base exceptions (and other sysout output) makes building tests using JUnit in Netbeans quite painful (I'm using 8.0.2). 

Basically the work-around is to either use debug or build them as normal class under Source Packages. Hence voted for.