Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Exception in thread "AWT-EventQueue-0" java.lang.StackOverflowError

User_KZASHJun 3 2015 — edited Jun 3 2015

Hello

I receive a StackOverflowError after about 13 recursions in my application.

I have a add form and after the users add something I want to autodisplay the add form again. So this is a recursion that can go up a few hundreds.

How can I fix this?

I don't want to recurse, can I break the recursion, or is there some other solution?

Can I empty the stack by program request?

Thank you.

This post has been answered by User_KZASH on Jun 3 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 1 2015
Added on Jun 3 2015
3 comments
1,287 views