Jump to content
Sign in to follow this  
QuaxTheSnoopie

Object reference not set to an instance of an object

Recommended Posts

It's nothing serious but since Beta7L I got the following error message closing P2A accompanied by a box "Program has stopped working":
It doesn't matter if I start P2A alone or together with P3D 4.5 HF3.
I changed to other "map views" without releaf

Program StartedPilot2ATC® (P2A) - version 2.7.0.0_x64_Beta7M  02/03/2024 09:12:02
Windows OS: Microsoft Windows 10 Pro
Version: 6.2.9200.0
Platform: Win32NT
Memory: 33411727360

Trying to create DB_Dyno.
DB_Dyno created successfully.
Init 15% done.
Trying to create DB_Base.
DB_Base created successfully.
Application frmP2AMain starting 02/03/2024 09:12:15
Loading Joystick Devices - 7 devices loaded.
Loading Form
Main form opened: Pilot2ATC® 2021 v. 2.7.0.0_x64_Beta7M      Navigraph - AIRAC cycle: 2307
Loading Joystick Devices - 7 devices loaded.
Loading Joystick Devices - 7 devices loaded.
Loading Joystick Devices - 7 devices loaded.
Loading Joystick Devices - 7 devices loaded.
Joystick Device number 0 successfully activated.
Loading Map Control
LoadMapControl: panel 1
Creating ucMap1
SQLiteVersion: 3.8.11.1 | 2015-07-29 20:00:57 cf538e2783e468bbc25e7cb2a9ee64d3e0e80b2f | INTEROP_CODEC INTEROP_EXTENSION_FUNCTIONS INTEROP_VIRTUAL_TABLE NET_40 PRELOAD_NATIVE_LIBRARY THROW_ON_DISPOSED TRACE TRACE_PRELOAD TRACE_SHARED TRACE_WARNING USE_PREPARE_V2 WINDOWS
ucMap1 Created
ucMap DockFill set.
Setting Map Mode
Done Loading Map Control
Loading FPL Control
FPL Control Loaded
ForcePilotRunway Changed to: True
Simulator Disconnected. 02/03/2024 09:13:43
Object reference not set to an instance of an object.
   at GMap.NET.Internals.FastReaderWriterLock.AcquireWriterLock()
   at GMap.NET.Internals.Core.Dispose(Boolean disposing)
   at GMap.NET.Internals.Core.Finalize()

Windows Event Viewer shows me this entries:

Application: Pilot2ATC_2021.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException
   at GMap.NET.Internals.FastReaderWriterLock.AcquireWriterLock()
   at GMap.NET.Internals.Core.Dispose(Boolean)
   at GMap.NET.Internals.Core.Finalize()

and

Faulting application name: Pilot2ATC_2021.exe, version: 2.7.0.0, time stamp: 0x65b4eb50
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x00007ff82a51ff1e
Faulting process id: 0x451c
Faulting application start time: 0x01da5679aab13d78
Faulting application path: C:\Games\Pilot2ATC_2018_x64\Pilot2ATC_2021.exe
Faulting module path: unknown
Report Id: 494fb9f5-31b6-4f17-a77d-281db479a000
Faulting package full name: 
Faulting package-relative application ID: 

Maybe I have to change a setting to avoid this error - but as I said: it's not a serious problem, just for your information.

Edited by QuaxTheSnoopie

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...