• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 3063
12
Mac IntelliJ IDE Python VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am not sure but it is pointing to the layout you are using.
reply
    Bookmark Topic Watch Topic
  • New Topic