Hi, so I’m having a frustration bug where the application crashes with “An unhandled exception of type ‘System.StackOverflowException’ occurred in Unknown Module.” I cannot see the stack either for some reason.
This crash occurs when:
I create a create a new instance of a UserControl which has a datagrid, a panel and two buttons. This instance is placed inside a tabpage and after either button is pressed on that UserControl, Dispose is called to destroy the UserControl. This causes this exception but I cannot figure out why. There’s no code being executed after the Dispose is called.
The debugger wont show me where the problem is because it is in the WiseJ.Framework.
I’m using 2.2.60
Vincent
We cannot reproduce because it is fixed.
We fixed this using the sample to you sent to us. It was caused by a disabled or invisible control trying to get activated. I sent you a link to a 2.2.60.5 patch build on Sep 20. Let me know if it didn’t fix it.
I’ve managed to strip the problem part out while keeping the layout the same. See attachment.
You will get the mentioned exception.
Thanks
Vincent
Hi Vincent,
I couldn’t reproduce the issue with the information you provided.
Can you perhaps isolate the problem in a small sample?
Thanks,
Alaa
So, I’ve managed to “capture” the call stack just before the crash happens. The second breakpoint made it possible to see the stack.
Hope this helps you help me fix this 🙂
Please login first to submit.