File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes StackOverFlowException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "StackOverFlowException" Watch "StackOverFlowException" New topic
Author

StackOverFlowException

Richard Mendoza
Ranch Hand

Joined: Feb 26, 2003
Posts: 48
I have a frame and inside it is a button (Show details). If I click on this button I am openning and reading a textfile and the contents are being loaded to a table object instantiated from a JTable Class loaded in another frame. I am always encountering StackOverFlow Error. What is suppose to be the problem in my code? How do I resolve this?

Can somebody help me?

Richard
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
A stack overflow is typically caused by an endless recursion. Take a close look at the stack trace - you should see a repetition of always the same method calls going round and round. That's your problem.


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
VIJAY Yadlapati
Ranch Hand

Joined: Aug 04, 2003
Posts: 175
Why don't you post your code..
 
wood burning stoves
 
subject: StackOverFlowException