Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

StackOverFlowException

 
Richard Mendoza
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a frame and inside it is a button (Show details). If I click on this button I am openning and reading a textfile and the contents are being loaded to a table object instantiated from a JTable Class loaded in another frame. I am always encountering StackOverFlow Error. What is suppose to be the problem in my code? How do I resolve this?

Can somebody help me?

Richard
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A stack overflow is typically caused by an endless recursion. Take a close look at the stack trace - you should see a repetition of always the same method calls going round and round. That's your problem.
 
VIJAY Yadlapati
Ranch Hand
Posts: 175
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why don't you post your code..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic