File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Exception in thread 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 » Java » Swing / AWT / SWT
Bookmark "Exception in thread "AWT-EventQueue-0" java.lang.StackOverflowError" Watch "Exception in thread "AWT-EventQueue-0" java.lang.StackOverflowError" New topic

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

Matthew Price

Joined: Jan 16, 2013
Posts: 1
I dont know how familiar you guys are with Minecraft, or it's launchers, but I am making one. It is based of another project's code. I have added an IRC client, but, it keeps throwing this error. The Error is Here, and all of my code is Here. If you go in the github, the irc stuff is Located in org.spoutcraft.launcher.gui.LoginForm. Thanks!
Greg Charles

Joined: Oct 01, 2001
Posts: 2833

Hi Matthew, welcome to JavaRanch!

A StackOverflowError often happens when you call a method recursively with no breakout condition. Eventually you get 1000 calls deep or something, and the VM just won't give you any more stack space to continue making calls. The link to your error is blocked for me, and the link to the source code shows me a class that is nearly 3000 lines long, which is too much for me to eyeball out the flaw. I assume the error shows some kind of a stack trace though, which would show if my theory about a recursive call is correct. If not, then post a chunk of the stack trace here.
Girdher Singh

Joined: Feb 12, 2012
Posts: 12
I am not sure but it is pointing to the layout you are using.
Consider Paul's rocket mass heater.
subject: Exception in thread "AWT-EventQueue-0" java.lang.StackOverflowError
Similar Threads
Need Solid Explanation of Java.exe
JVM launcher?
List the running threads
empty Jframe
NullPointerException I dont understand how to fix, Been working on it for 6 hours now