• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

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

 
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!
 
Sheriff
Posts: 3034
12
Mac IntelliJ IDE Python VI Editor Java
  • 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.
 
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.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!