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.

Object reference not set to an instance of an object

Featured Replies

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

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.