wood burning stoves 2.0*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 5811
    
    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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Eclipse showing incomplete stack trace for JUnit
 
Similar Threads
ejb migration question
Problem running jsf with tomcat6 and jdk1.6
Exception error? Please help, frustrating
Failed to resolve ejb-link
DynaActionForm - Exception creating bean