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 268472 - Stack trace lines in test results should not be truncated
Summary: Stack trace lines in test results should not be truncated
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal with 3 votes (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-11 16:30 UTC by fortiernor
Modified: 2018-02-25 14:36 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fortiernor 2016-10-11 16:30:34 UTC
When a test fails the Test results window shows a stack trace but lines are often truncated, ending with eg: "... (34 chars omitted)". The tooltip for the line is truncated as well.

This forces user to go to the Output window, click on the link to open the test result in the browser, switch to the browser window, click on the link to the test result, to obtain the rest of the line (typically junit output, such as actual as opposed to expected result).

Expected: display stack trace in test results without truncating lines, or at least provide full line as a tooltip.
Comment 1 nuliz 2016-12-28 00:44:27 UTC
Is there update about this issue? 
I have the same problem, Is there a way to configure the test results window?
Comment 2 wburzyns 2017-02-02 09:55:38 UTC
This issue is also present in Test Results window for TestNG.
Comment 3 bugmenot1 2017-07-18 14:48:10 UTC
This seems to be the result of the fix for bug 172772, but according to that bug, it should only happen with GTK look & feel.
Comment 4 fortiernor 2017-07-18 17:27:03 UTC
The behaviour reported above occurs with all available look and feel: Metal, Nimbus, CDE/Motif, GTK+ and Darcula.
Product Version: NetBeans IDE 8.2 (Build 201705191307)
Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2
Java: 1.8.0_131; Java HotSpot(TM) 64-Bit Server VM 25.131-b11
Runtime: Java(TM) SE Runtime Environment 1.8.0_131-b11
System: Linux version 4.11.9-1-ARCH running on amd64; UTF-8; fr_CA (nb)