Hello,
we sometimes encounter exceptions in our WinForms application when the user drags the current map extent with the mouse.
This did not occur before switching to multithread mode.
The exceptions occurring always have one of two types (see attached file ExceptionsWhenMovingInfo.txt).
After the exception occurred, the whole application/main window is in most cases not useable (because in a frozen state) or terminates completely.
I managed to create an (unrealistic) example application which for me reproduces the exceptions (see attached file ExceptionsWhenMoving.zip).
To reproduce the exceptions,
1. in the example application, set breakpoints into the methods Form1.OnUnhandledException and Form1.OnThreadException,
2. start the example application,
3. activate the checkbox “Do Periodic Refresh”,
4. use drag-and-drop in the map to move around the current extent until an exception occurs.
Can you reproduce the issue and do you have an idea what is the reason?
Thanks,
Marko
ExceptionsWhenMovingInfo.txt (6.96 KB)
ExceptionsWhenMoving.zip (13.5 KB)
Exceptions in multithread mode when moving the current extent
Hi Marko,
Thanks for your sample, we reproduced the issue and it’s proved to be a bug which has been fixed in the 9.0.218.0 or later.
Thanks,
Peter
Hi Peter,
thank you, the exceptions now don’t appear any more.
However, the bug I reported here: thinkgeo.com/forums/MapSuite…fault.aspx, which should be fixed since version 9.0.202.0, has returned…
Hi Marko,
Thanks for your feedback, the bug has been fixed again in the 9.0.220.0 or later.
Thanks,
Peter