java.lang.StackOverflowError

nfordbscndrd

Well-Known Member
Licensed User
Longtime User
I'm getting the message "Unfortunately, [my app] has stopped."
Below are screen captures of the log.
unfortunately1.jpg
unfortunately2.jpg
 

nfordbscndrd

Well-Known Member
Licensed User
Longtime User
You have a recursive call somewhere.
It seems that timerplay_tick (and btnokay_clk/do_redrawpanels) is being called within itself.
Is it possible that you have a DoEvents inside ReDrawPanels, so while redrawpanels has not yet finished processing, another timer_tick is executed?

That must be it. The error just occurs when I put a break point at the start of btnOkay_click. I'll disable the timer before the break point.

Thanks.

Edit: Yep, that fixed the problem. Thanks again.
 
Upvote 0
Top