SkyDemon Forums

Upgrade from 1.3.1 to 1.3.2

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

By LUFTY - 7/5/2010 8:54:38 PM

Hi TIm

I have done an in place upgrade from 1.3.1 to 1.3.2 and I know get an Unhandled Exception Error when first running the application as follows :-

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

************** Exception Text **************
System.ArgumentException: An item with the same key has already been added.
   at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at Divelements.Aviation.EntityData.Managers.AerodromeManager.EntitiesAdded(IEnumerable`1 entities)
   at Divelements.Mapping.Managers.SpotEntityManager`1.AddRange(IEnumerable`1 entities)
   at Divelements.Mapping.Managers.PackagedSpotEntityManager`1.Add(EntityPackage`1 package)
   at Divelements.Aviation.DataManager.<>c__DisplayClass19.<GenerateAddDataDelegate>b__f(Object , EventArgs )
   at Divelements.Aviation.DataManager.<>c__DisplayClass8.<EnqueueQueue>b__7(Object , EventArgs )
   at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
   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.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   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.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
SkyDemon
    Assembly Version: 1.3.2.18776
    Win32 Version:
    CodeBase: file:///C:/Program%20Files/Divelements%20Limited/SkyDemon/SkyDemon.exe
----------------------------------------
Divelements.Aviation
    Assembly Version: 1.0.3838.18774
    Win32 Version: 1.0.3838.18774
    CodeBase: file:///C:/Program%20Files/Divelements%20Limited/SkyDemon/Divelements.Aviation.DLL
----------------------------------------
Divelements.SandGrid
    Assembly Version: 2.2.3.1
    Win32 Version: 2.2.3.1
    CodeBase: file:///C:/Program%20Files/Divelements%20Limited/SkyDemon/Divelements.SandGrid.DLL
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    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.4927 (NetFXspW7.050727-4900)
    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.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
SandDock
    Assembly Version: 3.0.6.1
    Win32 Version: 3.0.6.1
    CodeBase: file:///C:/Program%20Files/Divelements%20Limited/SkyDemon/SandDock.DLL
----------------------------------------
Divelements.Mapping
    Assembly Version: 1.0.3838.18774
    Win32 Version: 1.0.3838.18774
    CodeBase: file:///C:/Program%20Files/Divelements%20Limited/SkyDemon/Divelements.Mapping.DLL
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
SandBar
    Assembly Version: 1.4.3.1
    Win32 Version: 1.4.3.1
    CodeBase: file:///C:/Program%20Files/Divelements%20Limited/SkyDemon/SandBar.DLL
----------------------------------------
Accessibility
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.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.

This running under Windows 7 32 Bit.

Regards

Lufty

By Tim Dawson - 7/20/2010 12:24:40 PM

We already make efforts to ensure that the official data contains entries that are unlikely to conflict with user-supplied data. However I'm sure you'll appreciate that the one item in which we cannot do this is and airport's ICAO identifier.

I must admit I don't understand the problem here; once SkyDemon release full or limited charts for a country, you would therefore no longer need any of your own custom airport data for that country, at least not for the public airports that will be covered by our own data and will include ICAO identifiers.