PPRuNe Forums - View Single Post - VFR flight planning and navigation software I've written
Old 24th Sep 2009, 16:25
  #119 (permalink)  
yakker
 
Join Date: Aug 2002
Location: northants
Posts: 205
Likes: 0
Received 0 Likes on 0 Posts
Hi Tim,
Downloaded the latest version, tried to plan a route and got the following error when planning Sywell to Sibson. But other routes seem okay.

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentNullException: Value cannot be null.
Parameter name: pen
at System.Drawing.Graphics.DrawRectangle(Pen pen, Int32 x, Int32 y, Int32 width, Int32 height)
at System.Drawing.Graphics.DrawRectangle(Pen pen, Rectangle rect)
at Divelements.Aviation.FlightPlanner.Rendering.AirspaceRenderi ng.FillOrthographicAirspaceView(AirspaceEntity airspace, Graphics graphics, RectangleF bounds, Boolean isCircle)
at Divelements.Aviation.FlightPlanner.Routing.OrthographicRoute .OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEve ntArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(M essage& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Mes sage& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
SkyAngel
Assembly Version: 0.9.4.26650
Win32 Version: 0.9.4.26650
CodeBase: file:///C:/Program%20Files/Divelements%20Limited/SkyAngel%20Plan/SkyAngel.exe
----------------------------------------
Divelements.SandGrid
Assembly Version: 2.2.1.1
Win32 Version: 2.2.1.1
CodeBase: file:///C:/Program%20Files/Divelements%20Limited/SkyAngel%20Plan/Divelements.SandGrid.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
SandDock
Assembly Version: 3.0.5.1
Win32 Version: 3.0.5.1
CodeBase: file:///C:/Program%20Files/Divelements%20Limited/SkyAngel%20Plan/SandDock.DLL
----------------------------------------
Divelements.Aviation
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Divelements%20Limited/SkyAngel%20Plan/Divelements.Aviation.DLL
----------------------------------------
Divelements.Aviation.Routing
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Divelements%20Limited/SkyAngel%20Plan/Divelements.Aviation.Routing.DLL
----------------------------------------
Divelements.Aviation.EntityData
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Divelements%20Limited/SkyAngel%20Plan/Divelements.Aviation.EntityData.DLL
----------------------------------------
SandBar
Assembly Version: 1.4.2.1
Win32 Version: 1.4.2.1
CodeBase: file:///C:/Program%20Files/Divelements%20Limited/SkyAngel%20Plan/SandBar.DLL
----------------------------------------
System.Web.Services
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------

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

yakker is offline