Jump to content

Recommended Posts

Posted
Dave:

 

Once  I connect P2A to the simulator (x-plane), I can click on "New" flight plan and then click Cruise Alt".  I enter the cruise alt (ex. 32000 ft) and press "OK" i get an unhandled exception error.  

 

 Here is the link to the screen capture:  https://goo.gl/photos/gFojADxNpdUPvDZF9

 

 

Below is the dump/trace file generated:

 

###################

 


-- Creaed a flight plan from KORD to KSDF.  Entered  alt of 32000, GS 400 and DR of 1500 ft/m. 

-- Cleared the flight plan via the "New" button due to TOD not being calculated.  

-- I clicked Cruise ALT without creating a way point and caught the Uhandled exception below.

 

 

See the end of this message for details on invoking 

just-in-time (JIT) debugging instead of this dialog box.

 

************** Exception Text **************

System.NullReferenceException: Object reference not set to an instance of an object.

   at Microsoft.VisualBasic.CompilerServices.Symbols.Container.InvokeMethod(Method TargetProcedure, Object[] Arguments, Boolean[] CopyBack, BindingFlags Flags)

   at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateSet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean OptimisticSet, Boolean RValueBase, CallType CallType)

   at P2A_Controls.ucFltPln.k(Object A_0, EventArgs A_1)

   at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)

   at System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e)

   at System.Windows.Forms.Form.OnVisibleChanged(EventArgs e)

   at System.Windows.Forms.Control.WmShowWindow(Message& m)

   at System.Windows.Forms.Control.WndProc(Message& m)

   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)

   at System.Windows.Forms.ContainerControl.WndProc(Message& m)

   at System.Windows.Forms.Form.WmShowWindow(Message& m)

   at System.Windows.Forms.Form.WndProc(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

 

 

************** Loaded Assemblies **************

mscorlib

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR

 

----------------------------------------

Pilot2ATC_200

    Assembly Version: 2.0.0.1

    Win32 Version: 2.0.0.1

 

----------------------------------------

System.Windows.Forms

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.34251 built by: FX452RTMGDR

 

----------------------------------------

System.Drawing

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.34270 built by: FX452RTMGDR

 

----------------------------------------

System

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.34238 built by: FX452RTMGDR

 

----------------------------------------

Microsoft.VisualBasic

    Assembly Version: 10.0.0.0

    Win32 Version: 12.0.51209.34209 built by: FX452RTMGDR

 

----------------------------------------

System.Core

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR

 

----------------------------------------

P2A_Globals

    Assembly Version: 1.0.0.0

    Win32 Version: 1.0.0.0

 

----------------------------------------

P2AData

    Assembly Version: 1.0.0.0

    Win32 Version: 1.0.0.0

 

----------------------------------------

P2A_Controls

    Assembly Version: 1.0.0.0

    Win32 Version: 1.0.0.0

 

----------------------------------------

System.Xml

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR

 

----------------------------------------

P2AFly

    Assembly Version: 1.0.0.0

    Win32 Version: 1.0.0.0

 

----------------------------------------

System.Management

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR

 

----------------------------------------

System.Deployment

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.34280 built by: FX452RTMGDR

 

----------------------------------------

System.Configuration

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR

 

----------------------------------------

EntityFramework

    Assembly Version: 6.0.0.0

    Win32 Version: 6.0.20911.0

 

----------------------------------------

GMap.NET.Core

    Assembly Version: 1.7.0.0

    Win32 Version: 1.7

 

----------------------------------------

System.Data

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR

 

----------------------------------------

System.ServiceModel

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR

 

----------------------------------------

EntityFramework.SqlServer

    Assembly Version: 6.0.0.0

    Win32 Version: 6.0.20911.0

 

----------------------------------------

Anonymously Hosted DynamicMethods Assembly

    Assembly Version: 0.0.0.0

    Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR

 

----------------------------------------

System.Transactions

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR

 

----------------------------------------

System.Numerics

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR

 

----------------------------------------

System.Data.OracleClient

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR

 

----------------------------------------

System.Web

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.34280 built by: FX452RTMGDR

 

----------------------------------------

P2ASim

    Assembly Version: 1.0.0.0

    Win32 Version: 1.0.0.0

 

----------------------------------------

SlimDX

    Assembly Version: 4.0.13.43

    Win32 Version: 

 

----------------------------------------

System.Speech

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR

 

----------------------------------------

GMap.NET.WindowsForms

    Assembly Version: 1.7.0.0

    Win32 Version: 1.7

 

----------------------------------------

P2ASpeech

    Assembly Version: 1.0.0.0

    Win32 Version: 1.0.0.0

 

----------------------------------------

P2AWeather

    Assembly Version: 1.0.0.0

    Win32 Version: 1.0.0.0

 

----------------------------------------

FSUIPCClient

    Assembly Version: 2.4.0.0

    Win32 Version: 2.4.0.0

 

----------------------------------------

System.Xml.Linq

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR

 

----------------------------------------

System.EnterpriseServices

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR

 

----------------------------------------

EntityFrameworkDynamicProxies-P2AData

    Assembly Version: 1.0.0.0

    Win32 Version: 6.0.20911.0

 

----------------------------------------

System.Runtime.Serialization

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR

 

----------------------------------------

System.Web.Extensions

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.34280

 

----------------------------------------

Microsoft.GeneratedCode

    Assembly Version: 1.0.0.0

    Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR

 

----------------------------------------

Accessibility

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR

 

----------------------------------------

Microsoft.GeneratedCode

    Assembly Version: 1.0.0.0

    Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR

 

----------------------------------------

System.Data.SQLite

    Assembly Version: 1.0.84.0

    Win32 Version: 1.0.84.0

 

----------------------------------------

Microsoft.GeneratedCode

    Assembly Version: 1.0.0.0

    Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR

 

----------------------------------------

NAudio

    Assembly Version: 1.6.0.0

    Win32 Version: 1.6.0.0

 

----------------------------------------

SMDiagnostics

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR

 

----------------------------------------

System.ServiceModel.Internals

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR

 

----------------------------------------

System.ServiceModel.Channels

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR

 

----------------------------------------

System.ServiceModel.Web

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR

 

----------------------------------------

System.Net.Http

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR

 

----------------------------------------

 

************** JIT Debugging **************

To enable just-in-time (JIT) debugging, the .config file for this

application or computer (machine.config) must have the

jitDebugging value set in the system.windows.forms section.

The application must also be compiled with debugging

enabled.

 

For example:

 

<configuration>

    <system.windows.forms jitDebugging="true" />

</configuration>

 

When JIT debugging is enabled, any unhandled exception

will be sent to the JIT debugger registered on the computer

rather than be handled by this dialog box.

 

 

##############################

 

 

Please let me know if you need more information.

 

Joe

 


 

 

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
  • 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...