Perhaps you have a run away recursive loop. When you get the StackOverflow, do you get a stack trace? If so, you should be able to see the recursive loop by noticing the same method over and over in the stack trace