Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old May 24th, 2006, 11:20 PM   #1
Dark Flare Knight
Hobbyist Programmer
 
Join Date: Mar 2005
Location: Canada
Posts: 113
Rep Power: 4 Dark Flare Knight is on a distinguished road
StackOverflowError

hi guys,

i'm getting a StackOverflowError in my program. there are too many files so i can't post my code, but i think i'm getting it because of too much file i/o. if you want the files to help me indentify the cause of this error, please pm me ur email so i can send the files to you.

thanks
Dark Flare Knight is offline   Reply With Quote
Old May 25th, 2006, 5:39 AM   #2
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
How about narrowing down the problem a little and then posting the relevant files? We don't even know what your program does.

Stack overflow errors are sometimes caused by too much recursion. If you have a function that calls itself a hundred times or so, it could be overloading the stack. Try making it iterative.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old May 25th, 2006, 10:23 AM   #3
Mjordan2nd
The Supreme Ruler
 
Join Date: May 2004
Location: Houston
Posts: 1,476
Rep Power: 6 Mjordan2nd is on a distinguished road
Yea, usually whenever I get that error it is due to infinite recursion, but I can't really say without looking at your code. Perhaps you could Zip it up and post a link to it here?
__________________
"Every gun that is made, every warship launched, every rocket signifies, in the final sense, a theft from those who hunger and are not fed, from those who are cold and are not clothed. The world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children." - Dwight D. Eisenhower
Mjordan2nd is offline   Reply With Quote
Old May 28th, 2006, 6:31 PM   #4
Dark Flare Knight
Hobbyist Programmer
 
Join Date: Mar 2005
Location: Canada
Posts: 113
Rep Power: 4 Dark Flare Knight is on a distinguished road
thanks for your time guys, but i found the error. i was trying to dispose a JInternalFrame in an internalFrameClosed method. well, anyways, that's all figured out.

thanks again for your time.
Dark Flare Knight is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 4:04 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC