This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "StackOverFlowException" Watch "StackOverFlowException" New topic


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?

Ilja Preuss

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..
I agree. Here's the link:
subject: StackOverFlowException
It's not a secret anymore!