Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Unhandled Exception

Featured Replies

Hi,

During approach I had an Unhandled Exception "Object is currently in use elsewhere" !

Fsx Acc, P2Atc last update.

2017-4-29_16-9-32-486_zpsghlwrpgx.jpg

Thanks and Regards,

Richard Portier

Richard Portier

MAXIMUS VI FORMULA|Intel® Core i7-4770K [email protected] x8|NVIDIA GeForce GTX 1080ti|M16GB DDR3|Windows10 Pro 64|P3Dv5|AFS2|TrackIr5|Saitek ProFlight Yoke + Quadrant + Rudder Pedal|Thrustmaster Warthog A10|

  • Commercial Member

Thanks for the report Richard.

This is a Windows error when the Graphics object is trying to be used by multiple programs to paint the screen or controls. 

Did you have the AI Traffic visible at the time?  That sometimes causes this.

Did it keep running OK when you pressed Continue?

Thanks,

Dave

  • Author
3 hours ago, Dave-Pilot2ATC said:

Thanks for the report Richard.

This is a Windows error when the Graphics object is trying to be used by multiple programs to paint the screen or controls. 

Did you have the AI Traffic visible at the time?  That sometimes causes this.

Did it keep running OK when you pressed Continue?

Thanks,

Dave

Dave, if you speak about the AI traffic visible IN P2Atc, the answer is yes ! I have not pressed "Continue", so...

Regards,

Richard

Richard Portier

MAXIMUS VI FORMULA|Intel® Core i7-4770K [email protected] x8|NVIDIA GeForce GTX 1080ti|M16GB DDR3|Windows10 Pro 64|P3Dv5|AFS2|TrackIr5|Saitek ProFlight Yoke + Quadrant + Rudder Pedal|Thrustmaster Warthog A10|

  • 4 weeks later...

Dave, this looks really really fishy... No sane API would produce such an exception unless something is wrong somewhere within the program itself. I'm a professional programmer myself and this looks like actual programmer's error to me. I googled for this kind of exception and found several possible explanations, most of which revolved around doing graphics-related operations in threads, when given operation is not thread-safe (one such example was Bitmap-related). Also, in general, doing any UI-related operations in non-UI thread was pointed as a culprit. And of course we don't see it all the time with Pilot2ATC, because that's the nature of threading-related issues or race conditions...

Any chance you can look at the issue from this perspective? I experienced this exception one or two times too (I think I sent it over to you the other day, not 100% sure as it was one of a few other issues I reported).

 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.