This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

StackOverflowError  RSS feed

 
Barry Brashear
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting a StackOverflowError creating a table and passing the model
in the constructor. Does anyone know what could cause this?

Thanks.
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24215
37
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You will get a StackOverflowError if a method, directly or indirectly, calls itself unconditionally. For example, this will give you one:



If you post the code for this constructor, we could probably help you figure it out.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!