Jump to content

You're browsing the 2004-2023 VATSIM Forums archive. All content is preserved in a read-only fashion.
For the latest forum posts, please visit https://forum.vatsim.net.

Need to find something? Use the Google search below.

VATSPY Value cannot be null. Parameter name: font


Richard Quigley
 Share

Recommended Posts

Richard Quigley
Posted
Posted

Can anybody tell me what is going on/wrong here?

 

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: font

at System.Drawing.Graphics.MeasureString(String text, Font font, SizeF layoutArea, StringFormat stringFormat)

at System.Drawing.Graphics.MeasureString(String text, Font font, SizeF layoutArea)

at System.Drawing.Graphics.MeasureString(String text, Font font)

at VATSpy.MapManager.DrawScene()

at Tao.Platform.Windows.SimpleOpenGlControl.OnPaint(PaintEventArgs e)

at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs 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.WndProc(Message& m)

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

 

 

************** Loaded [Mod - Happy Thoughts]emblies **************

mscorlib

[Mod - Happy Thoughts]embly Version: 2.0.0.0

Win32 Version: 2.0.50727.8793 (QFE.050727-8700)

CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll

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

VATSpy

[Mod - Happy Thoughts]embly Version: 1.0.3719.41261

Win32 Version: 1.0.0.0

CodeBase: file:///F:/Program%20Files%20(x86)/VATSpy/VATSpy.exe

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

System

[Mod - Happy Thoughts]embly Version: 2.0.0.0

Win32 Version: 2.0.50727.8791 (QFE.050727-8700)

CodeBase: file:///C:/Windows/[Mod - Happy Thoughts]embly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

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

System.Configuration

[Mod - Happy Thoughts]embly Version: 2.0.0.0

Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)

CodeBase: file:///C:/Windows/[Mod - Happy Thoughts]embly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

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

System.Xml

[Mod - Happy Thoughts]embly Version: 2.0.0.0

Win32 Version: 2.0.50727.8773 (QFE.050727-8700)

CodeBase: file:///C:/Windows/[Mod - Happy Thoughts]embly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

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

System.Windows.Forms

[Mod - Happy Thoughts]embly Version: 2.0.0.0

Win32 Version: 2.0.50727.5491 (Win7SP1GDR.050727-5400)

CodeBase: file:///C:/Windows/[Mod - Happy Thoughts]embly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

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

System.Drawing

[Mod - Happy Thoughts]embly Version: 2.0.0.0

Win32 Version: 2.0.50727.5495 (Win7SP1GDR.050727-5400)

CodeBase: file:///C:/Windows/[Mod - Happy Thoughts]embly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

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

7ubhjwds

[Mod - Happy Thoughts]embly Version: 1.0.3719.41261

Win32 Version: 2.0.50727.8791 (QFE.050727-8700)

CodeBase: file:///C:/Windows/[Mod - Happy Thoughts]embly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

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

Tao.Platform.Windows

[Mod - Happy Thoughts]embly Version: 1.0.0.5

Win32 Version: 1.0.0.5

CodeBase: file:///F:/Program%20Files%20(x86)/VATSpy/Tao.Platform.Windows.DLL

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

Tao.OpenGl

[Mod - Happy Thoughts]embly Version: 2.1.0.12

Win32 Version: 2.1.0.12

CodeBase: file:///F:/Program%20Files%20(x86)/VATSpy/Tao.OpenGl.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:

 

 

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.

Quig, C3, P1, VATPAC, CZQM (inact), CZQX (ret).

4200+ hrs of "Chaos, Panic & Disorder in your virtual skies!"

 

0.png

Link to comment
Share on other sites

Sean Harrison
Posted
Posted

Comma in the wrong place or missing in a data file.

Sean

C1/O P3

spacer.png

Link to comment
Share on other sites

 Share