SkyDemon Forums

SkyDemon 2.6.2.0 crash on Windows 8 64bit when attempting to print Plog

http://forums.skydemon.aero/Topic9107.aspx

By PompeyPaul - 5/3/2013 1:18:01 PM

Looks like I'm missing some sort of font. Did a search for this on forums but couldn't find any work arounds.

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, Int32 width, StringFormat format)
at Divelements.SkyDemon.Drawing.x50bfd60dff3f602d.xbf83406974150862(Graphics x41347a961b838962, String xb41faee6912a2313, Font x26094932cf7a9139, x92dcbe6bbdd0f056 xae3b2752a89e7464)
at Divelements.SkyDemon.Drawing.x50bfd60dff3f602d.xbf83406974150862(Graphics x41347a961b838962, String xb41faee6912a2313, Font x26094932cf7a9139)
at Divelements.SkyDemon.Briefing.xe5925ec7c6387d7a.xf0d36924d657c555(xc58c5603e1e3f3cc xe0292b9ed559da7d, Graphics x41347a961b838962, Rectangle x64238b90d7eeb2c8, Font x26094932cf7a9139, Int32 x555f00e49d5526af, Int32 x4a1a3d0e26dea3a7)
at Divelements.SkyDemon.Drawing.x4482359400277eba.x51d3a13ecd447601(Graphics x41347a961b838962, Font x26094932cf7a9139, Rectangle xda73fcb97c77d998)
at Divelements.SkyDemon.Briefing.xe5925ec7c6387d7a.xac394532b9695a71(Graphics x41347a961b838962, Rectangle& xa688a683bf2cfced, Int32 x278780fb19a87271)
at Divelements.SkyDemon.Briefing.xe5925ec7c6387d7a.PrintPageCore(Graphics graphics, Rectangle marginBounds, Int32 extraSpace, Boolean& hasMorePages)
at Divelements.SkyDemon.Drawing.xeed88c7e16cd03c8.x5c733725b33861d1(Graphics x41347a961b838962, Rectangle x15c6bd22a9fe622f, Int32 xcc69cbe17e053f66, Boolean& x150bab93255d8ac6)
at Divelements.SkyDemon.Drawing.xeed88c7e16cd03c8.OnPrintPage(PrintPageEventArgs e)
at System.Drawing.Printing.PrintController.PrintLoop(PrintDocument document)
at System.Drawing.Printing.PrintController.Print(PrintDocument document)
at System.Drawing.Printing.Printdocument.Print()
at System.Windows.Forms.PrintPreviewControl.ComputePreview()
at System.Windows.Forms.PrintPreviewControl.CalculatePageInfo()
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()



************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.6400 (Win8RTMGDR.050727-6400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
SkyDemon
Assembly Version: 2.6.2.17135
Win32 Version:
CodeBase: file:///C:/Program%20Files%20(x86)/Divelements%20Limited/SkyDemon/SkyDemon.exe
----------------------------------------
Divelements.Aviation
Assembly Version: 1.0.4857.17133
Win32 Version: 1.0.4857.17133
CodeBase: file:///C:/Program%20Files%20(x86)/Divelements%20Limited/SkyDemon/Divelements.Aviation.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.6402 (Win8RTMGDR.050727-6400)
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.6401 (Win8RTMGDR.050727-6400)
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.6401 (Win8RTMGDR.050727-6400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Divelements.SandGrid
Assembly Version: 2.2.4.1
Win32 Version: 2.2.4.1
CodeBase: file:///C:/Program%20Files%20(x86)/Divelements%20Limited/SkyDemon/Divelements.SandGrid.DLL
----------------------------------------
SandDock
Assembly Version: 3.0.6.1
Win32 Version: 3.0.6.1
CodeBase: file:///C:/Program%20Files%20(x86)/Divelements%20Limited/SkyDemon/SandDock.DLL
----------------------------------------
TallComponents.PDF.Rasterizer
Assembly Version: 3.0.84.2
Win32 Version: 3.0.84.2
CodeBase: file:///C:/Program%20Files%20(x86)/Divelements%20Limited/SkyDemon/TallComponents.PDF.Rasterizer.DLL
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.6387 (Win8RTM.050727-6300)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.6387 (Win8RTM.050727-6300)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Divelements.Mapping
Assembly Version: 1.0.4857.17132
Win32 Version: 1.0.4857.17132
CodeBase: file:///C:/Program%20Files%20(x86)/Divelements%20Limited/SkyDemon/Divelements.Mapping.DLL
----------------------------------------
SandBar
Assembly Version: 1.4.3.2
Win32 Version: 1.4.3.2
CodeBase: file:///C:/Program%20Files%20(x86)/Divelements%20Limited/SkyDemon/SandBar.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.
By Tim Dawson - 5/15/2013 1:00:47 PM

This isn't as simple as a missing font I'm afraid, at least I don't think it is. With some thorough investigation we might be able to find out exactly what the problem is and display an appropriate error, but so far, this seems to be an isolated incident.