aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse showing incomplete stack trace for JUnit Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse showing incomplete stack trace for JUnit" Watch "Eclipse showing incomplete stack trace for JUnit" New topic
Author

Eclipse showing incomplete stack trace for JUnit

Onkar Joshi
Ranch Hand

Joined: Mar 01, 2007
Posts: 116
An exception occurs in my JUnit. But I can't see the full stack trace. I see "... 23 more" at the end in the JUnit section.

How do I see the full stack trace?


SCJP 5 - 95% | SCWCD 1.4 - 88% | SCBCD 5 - 93%
Onkar Joshi's blog | LinkedIn profile
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5827
    
    7

The "... xx more" message usually occurs when there are nested exceptions. When that happens, the full stack trace is printed for the first exception stack trace, but for each "caused by" exception stack trace, only the portions of the stack trace that do not duplicate the first (or prior) stack trace are printed. Look at the line before "... xx more" - you should be able to go to the first stack trace and locate the same line in that stack trace - and there should be xx more lines in that first stack trace.


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Eclipse showing incomplete stack trace for JUnit