SkyDemon Forums

Error after upgrading to 3.15.0.0

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

By bjornbostrom - 2/16/2021 2:33:38 PM

Hi, after upgrading to the latest version 3.15.0.0 on PC i get the following errormessage when starting SkyDemon. Any suggestion what might be wrong?
br // björn

Microsoft .NET Framework Exception

System.InvalidOperationException: Åtgärden är ogiltig på grund av objektets aktuella tillstånd.
 vid Divelements.SkyDemon.Drawing.IndependentText.CreateMeasurementGraphics()
 vid Divelements.SkyDemon.Drawing.IndependentText.CreateFontToFitHeight(String fontName, Single height, String text)
 vid Divelements.SkyDemon.Briefing.WeatherDrawing.DrawVfrConditionsImage(DrawingContext context, RectangleF bounds, VfrConditionsType conditions, Int32 opacity)
 vid Divelements.SkyDemon.Briefing.WeatherDrawing.<>c__DisplayClass23_0.<GetOrCreateConditionsImage>b__0(DrawingContext context, Rectangle bounds)
 vid Divelements.SkyDemon.Mapping.ExampleMapImages.CreateExampleImage(Int32 width, Int32 height, DrawPreviewDelegate d)
 vid Divelements.SkyDemon.Briefing.WeatherDrawing.GetOrCreateConditionsImage(VfrConditionsType conditions, Image& image)
 vid Divelements.SkyDemon.Briefing.WeatherHtmlOutput.GenerateWeatherConditionsStyle(VfrConditionsType type)
 vid Divelements.SkyDemon.Briefing.WeatherHtmlOutput.get_IconsCss()
 vid Divelements.SkyDemon.Briefing.AirfieldHtmlOutput2.GenerateListHtmlOutput(PlanningServices planningServices, TafMetarContainer tafMetarContainer, AirfieldLiveExtendedDataManager feedbackManager, Aerodrome[]& displayingAirfields)
 vid Divelements.SkyDemon.Briefing.AirfieldListHtmlOutputInteraction.GenerateHtml()
 vid Divelements.SkyDemon.Briefing.AirfieldsListScreen..ctor(ApplicationEnvironment environment)
 vid Divelements.SkyDemon.Briefing.PlateListwindow.AttachToEnvironment()
 vid Divelements.SkyDemon.UI.Environmentwindow.SetEnvironment(ApplicationEnvironment environment)
 vid Divelements.SkyDemon.frmMain.Form1_Load(Object sender, EventArgs e)
 vid System.EventHandler.Invoke(Object sender, EventArgs e)
 vid System.Windows.Forms.Form.OnLoad(EventArgs e)
 vid System.Windows.Forms.Form.OnCreateControl()
 vid System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
 vid System.Windows.Forms.Control.CreateControl()
 vid System.Windows.Forms.Control.WmShowWindow(Message& m)
 vid System.Windows.Forms.Control.WndProc(Message& m)
 vid System.Windows.Forms.Form.WmShowWindow(Message& m)
 vid System.Windows.Forms.Nativewindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Inlästa sammansättningar **************
mscorlib
  Sammansättningsversion: 4.0.0.0
  Win32-version: 4.8.4300.0 built by: NET48REL1LAST_C
  CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
SkyDemon
  Sammansättningsversion: 3.15.0.29226
  Win32-version:
  CodeBase: file:///D:/Program%20Files%20(x86)/SkyDemon/SkyDemon.exe
----------------------------------------
Divelements.Aviation
  Sammansättningsversion: 3.15.0.29225
  Win32-version: 3.15.0.0
  CodeBase: file:///D:/Program%20Files%20(x86)/SkyDemon/Divelements.Aviation.DLL
----------------------------------------
System.Windows.Forms
  Sammansättningsversion: 4.0.0.0
  Win32-version: 4.8.4270.0 built by: NET48REL1LAST_C
  CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
  Sammansättningsversion: 4.0.0.0
  Win32-version: 4.8.4300.0 built by: NET48REL1LAST_C
  CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
  Sammansättningsversion: 4.0.0.0
  Win32-version: 4.8.4084.0 built by: NET48REL1
  CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Divelements.SandGrid
  Sammansättningsversion: 2.2.4.1
  Win32-version: 2.2.4.1
  CodeBase: file:///D:/Program%20Files%20(x86)/SkyDemon/Divelements.SandGrid.DLL
----------------------------------------
SandDock
  Sammansättningsversion: 3.0.6.1
  Win32-version: 3.0.6.1
  CodeBase: file:///D:/Program%20Files%20(x86)/SkyDemon/SandDock.DLL
----------------------------------------
TallComponents.PDF.Rasterizer
  Sammansättningsversion: 3.0.179.0
  Win32-version: 3.0.179.0
  CodeBase: file:///D:/Program%20Files%20(x86)/SkyDemon/TallComponents.PDF.Rasterizer.DLL
----------------------------------------
System.Configuration
  Sammansättningsversion: 4.0.0.0
  Win32-version: 4.8.4190.0 built by: NET48REL1LAST_B
  CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
  Sammansättningsversion: 4.0.0.0
  Win32-version: 4.8.4320.0 built by: NET48REL1LAST_C
  CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
  Sammansättningsversion: 4.0.0.0
  Win32-version: 4.8.4084.0 built by: NET48REL1
  CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Divelements.Mapping
  Sammansättningsversion: 3.15.0.29225
  Win32-version: 3.15.0.0
  CodeBase: file:///D:/Program%20Files%20(x86)/SkyDemon/Divelements.Mapping.DLL
----------------------------------------
System.Speech
  Sammansättningsversion: 4.0.0.0
  Win32-version: 4.8.4200.0 built by: NET48REL1LAST_C
  CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Speech/v4.0_4.0.0.0__31bf3856ad364e35/System.Speech.dll
----------------------------------------
mscorlib.resources
  Sammansättningsversion: 4.0.0.0
  Win32-version: 4.8.4084.0 built by: NET48REL1
  CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_sv_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
Microsoft.mshtml
  Sammansättningsversion: 7.0.3300.0
  Win32-version: 7.0.3300.0
  CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/Microsoft.mshtml.dll
----------------------------------------
System.Windows.Forms.resources
  Sammansättningsversion: 4.0.0.0
  Win32-version: 4.8.4084.0 built by: NET48REL1
  CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_sv_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
System.Web
  Sammansättningsversion: 4.0.0.0
  Win32-version: 4.8.4330.0 built by: NET48REL1LAST_B
  CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------

************** JIT-felsökning **************
För att aktivera JIT-felsökning (just-in-time ) måste .config-filen för det här
tillämpningsprogrammet eller datorn (machine.config) ha
jitDebugging-värdet angivet i avsnittet system.windows.forms.
Tillämpningsprogrammet måste också vara kompilerat med felsökning
aktiverat.

Till exempel:

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

När JIT-felsökning är aktiverad kommer alla undantag som inte hanteras
att skickas till JIT-felsökningsprogrammet som är registrerat på datorn
snarare än att hanteras av den här dialogrutan.



By florianj - 2/22/2021 9:37:41 AM

Tim Dawson - 2/17/2021 11:49:59 AM
We've posted a beta this morning which we think will resolve the bug:


Once we've had a few people confirm it works for them we'll update the published version.


I had the same issue - since updating to the Beta it all works fine. Thanks!