• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Matthew Price
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 2989
12
Firefox Browser IntelliJ IDE Java Mac Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not sure but it is pointing to the layout you are using.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic