An unhandled exception of type 'System.StackOverflowException' occurred in Unknown Module.

0
0

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

  • You must to post comments
0
0

We cannot reproduce because it is fixed.

  • You must to post comments
0
0

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.

 

  • vincent_
    I will try and download that patch then. I thought I was using the latest version (as I always update when needed). September is a way back so.. Does this mean this patch isn’t included in the latest build as of now? On that topic, when I started using WiseJ the goto version was 2.2 as 2.5 wasn’t ready for release yet. Is 2.5 stable enough to migrate? I have a few projectes running live and don’t want to test every single thing when migrating?
  • vincent_
    I’m sorry but I cannot seem to find this link. When I go to the Builds section I can only see the 2.2.60 version, which I already use…
  • You must to post comments
0
0

I’ve managed to strip the problem part out while keeping the layout the same. See attachment.

  1. Open project
  2. Run
  3. Click the second Tab “Tekeningen”
  4. Click “Tekening toevoegen”
  5. Click either button at the bottem.

You will get the mentioned exception.

Thanks

Vincent

Attachment
  • You must to post comments
0
0

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

  • You must to post comments
0
0

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 🙂

Attachment
  • You must to post comments
Showing 5 results
Your Answer

Please first to submit.