• Post Reply Bookmark Topic Watch Topic
  • New Topic

StackOverflowError

 
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: 24213
35
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!