Jump to content

Unhandled Exception when trying to remove Alternates


Recommended Posts

Hi, I keep getting the following unhandled exception error when I try to remove alternate airports in the Route Setup/Alternates tab. It finds airports and adds them fine, but once the airport is added and I try selecting the airport and clicking Remove I get the unhandled exception. It happens in both the Enroute and Destination Alternates. My friend also gets the same error. I needed to reformat my PC anyway so I have done a complete reinstall of Windows 10 and EFB and the error persists on a fresh install.

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

************** Exception Text **************
System.InvalidCastException: Unable to cast object of type 'WhereListIterator`1[AivlaSoft.Efb.Common.Objects.AirportInfo]' to type 'System.Collections.Generic.List`1[AivlaSoft.Efb.Common.Objects.AirportInfo]'.
   at y6.d()
   at y6.c(Object A_0, EventArgs A_1)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at DevExpress.XtraEditors.BaseButton.OnClick(EventArgs e)
   at DevExpress.XtraEditors.BaseButton.OnMouseUp(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at DevExpress.Utils.Controls.ControlBase.WndProc(Message& m)
   at DevExpress.XtraEditors.BaseControl.WndProc(Message& msg)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(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 Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1073.0 built by: NETFXREL3STAGE
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
AivlaSoft.Efb.DisplayUnit
    Assembly Version: 1.6.5.18357
    Win32 Version: 1.6.5.18357
    CodeBase: file:///E:/AivlaSoft%20EFB/EFB/AivlaSoft.Efb.DisplayUnit.exe
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1068.2 built by: NETFXREL3STAGE
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Castle.Windsor
    Assembly Version: 3.3.0.0
    Win32 Version: 3.3.0.2412
    CodeBase: file:///E:/AivlaSoft%20EFB/EFB/Castle.Windsor.DLL
----------------------------------------
DevExpress.BonusSkins.v15.1
    Assembly Version: 15.1.5.0
    Win32 Version: 15.1.5.0
    CodeBase: file:///E:/AivlaSoft%20EFB/EFB/DevExpress.BonusSkins.v15.1.DLL
----------------------------------------
DevExpress.Utils.v15.1
    Assembly Version: 15.1.5.0
    Win32 Version: 15.1.5.0
    CodeBase: file:///E:/AivlaSoft%20EFB/EFB/DevExpress.Utils.v15.1.DLL
----------------------------------------
AivlaSoft.Efb.Common
    Assembly Version: 1.6.5.0
    Win32 Version: 1.6.5.0
    CodeBase: file:///E:/AivlaSoft%20EFB/EFB/AivlaSoft.Efb.Common.DLL
----------------------------------------
Castle.Core
    Assembly Version: 3.3.0.0
    Win32 Version: 3.3.3.2300
    CodeBase: file:///E:/AivlaSoft%20EFB/EFB/Castle.Core.DLL
----------------------------------------
DevExpress.Data.v15.1
    Assembly Version: 15.1.5.0
    Win32 Version: 15.1.5.0
    CodeBase: file:///E:/AivlaSoft%20EFB/EFB/DevExpress.Data.v15.1.DLL
----------------------------------------
DevExpress.XtraEditors.v15.1
    Assembly Version: 15.1.5.0
    Win32 Version: 15.1.5.0
    CodeBase: file:///E:/AivlaSoft%20EFB/EFB/DevExpress.XtraEditors.v15.1.DLL
----------------------------------------
AivlaSoft.Efb.WeatherServices
    Assembly Version: 1.6.0.0
    Win32 Version: 1.6.0.0
    CodeBase: file:///E:/AivlaSoft%20EFB/EFB/AivlaSoft.Efb.WeatherServices.DLL
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1064.2 built by: NETFXREL3STAGE
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
DevExpress.XtraGrid.v15.1
    Assembly Version: 15.1.5.0
    Win32 Version: 15.1.5.0
    CodeBase: file:///E:/AivlaSoft%20EFB/EFB/DevExpress.XtraGrid.v15.1.DLL
----------------------------------------
System.ComponentModel.DataAnnotations
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ComponentModel.DataAnnotations/v4.0_4.0.0.0__31bf3856ad364e35/System.ComponentModel.DataAnnotations.dll
----------------------------------------
AivlaSoft.Efb.IFlightplanHandler
    Assembly Version: 1.6.0.0
    Win32 Version: 1.6.0.0
    CodeBase: file:///E:/AivlaSoft%20EFB/EFB/AivlaSoft.Efb.IFlightplanHandler.DLL
----------------------------------------
AivlaSoft.FlightPlanHandlers.A320Series
    Assembly Version: 1.6.0.0
    Win32 Version: 1.6.0.0
    CodeBase: file:///E:/AivlaSoft%20EFB/EFB/plugins/AivlaSoft.FlightPlanHandlers.A320Series.dll
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 10.0.0.0
    Win32 Version: 14.6.1038.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System.Web
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1073.0 built by: NETFXREL3STAGE
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
AivlaSoft.FlightPlanHandlers.AAXE
    Assembly Version: 1.6.0.0
    Win32 Version: 1.6.0.0
    CodeBase: file:///E:/AivlaSoft%20EFB/EFB/plugins/AivlaSoft.FlightPlanHandlers.AAXE.dll
----------------------------------------
AivlaSoft.FlightPlanHandlers.FSC
    Assembly Version: 1.6.0.0
    Win32 Version: 1.6.0.0
    CodeBase: file:///E:/AivlaSoft%20EFB/EFB/plugins/AivlaSoft.FlightPlanHandlers.FSC.dll
----------------------------------------
AivlaSoft.FlightPlanHandlers.iFly-747_V2
    Assembly Version: 1.6.0.0
    Win32 Version: 1.6.0.0
    CodeBase: file:///E:/AivlaSoft%20EFB/EFB/plugins/AivlaSoft.FlightPlanHandlers.iFly-747_V2.dll
----------------------------------------
AivlaSoft.FlightPlanHandlers.iFly
    Assembly Version: 1.6.0.0
    Win32 Version: 1.6.0.0
    CodeBase: file:///E:/AivlaSoft%20EFB/EFB/plugins/AivlaSoft.FlightPlanHandlers.iFly.dll
----------------------------------------
AivlaSoft.FlightPlanHandlers.ISG
    Assembly Version: 1.6.0.0
    Win32 Version: 1.6.0.0
    CodeBase: file:///E:/AivlaSoft%20EFB/EFB/plugins/AivlaSoft.FlightPlanHandlers.ISG.dll
----------------------------------------
AivlaSoft.FlightPlanHandlers.KML
    Assembly Version: 1.6.0.0
    Win32 Version: 1.6.0.0
    CodeBase: file:///E:/AivlaSoft%20EFB/EFB/plugins/AivlaSoft.FlightPlanHandlers.KML.dll
----------------------------------------
AivlaSoft.FlightPlanHandlers.LevelD
    Assembly Version: 1.6.0.0
    Win32 Version: 1.6.0.0
    CodeBase: file:///E:/AivlaSoft%20EFB/EFB/plugins/AivlaSoft.FlightPlanHandlers.LevelD.dll
----------------------------------------
AivlaSoft.FlightplanHandlers.MsFs
    Assembly Version: 1.6.0.0
    Win32 Version: 1.6.0.0
    CodeBase: file:///E:/AivlaSoft%20EFB/EFB/plugins/AivlaSoft.FlightplanHandlers.MsFs.dll
----------------------------------------
AivlaSoft.FlightplanHandlers.P3D
    Assembly Version: 1.6.0.0
    Win32 Version: 1.6.0.0
    CodeBase: file:///E:/AivlaSoft%20EFB/EFB/plugins/AivlaSoft.FlightplanHandlers.P3D.dll
----------------------------------------
AivlaSoft.FlightPlanHandlers.PmdgRte
    Assembly Version: 1.6.0.0
    Win32 Version: 1.6.0.0
    CodeBase: file:///E:/AivlaSoft%20EFB/EFB/plugins/AivlaSoft.FlightPlanHandlers.PmdgRte.dll
----------------------------------------
AivlaSoft.FlightplanHandlers.ProSim737
    Assembly Version: 1.6.0.0
    Win32 Version: 1.6.0.0
    CodeBase: file:///E:/AivlaSoft%20EFB/EFB/plugins/AivlaSoft.FlightplanHandlers.ProSim737.dll
----------------------------------------
AivlaSoft.FlightplanHandlers.SimAvionics
    Assembly Version: 1.6.0.0
    Win32 Version: 1.6.0.0
    CodeBase: file:///E:/AivlaSoft%20EFB/EFB/plugins/AivlaSoft.FlightplanHandlers.SimAvionics.dll
----------------------------------------
AivlaSoft.FlightplanHandlers.Squawkbox2
    Assembly Version: 1.6.0.0
    Win32 Version: 1.6.0.0
    CodeBase: file:///E:/AivlaSoft%20EFB/EFB/plugins/AivlaSoft.FlightplanHandlers.Squawkbox2.dll
----------------------------------------
DevExpress.XtraRichEdit.v15.1
    Assembly Version: 15.1.5.0
    Win32 Version: 15.1.5.0
    CodeBase: file:///E:/AivlaSoft%20EFB/EFB/DevExpress.XtraRichEdit.v15.1.DLL
----------------------------------------
DevExpress.RichEdit.v15.1.Core
    Assembly Version: 15.1.5.0
    Win32 Version: 15.1.5.0
    CodeBase: file:///E:/AivlaSoft%20EFB/EFB/DevExpress.RichEdit.v15.1.Core.DLL
----------------------------------------
DevExpress.Office.v15.1.Core
    Assembly Version: 15.1.5.0
    Win32 Version: 15.1.5.0
    CodeBase: file:///E:/AivlaSoft%20EFB/EFB/DevExpress.Office.v15.1.Core.DLL
----------------------------------------
DevExpress.XtraPdfViewer.v15.1
    Assembly Version: 15.1.5.0
    Win32 Version: 15.1.5.0
    CodeBase: file:///E:/AivlaSoft%20EFB/EFB/DevExpress.XtraPdfViewer.v15.1.DLL
----------------------------------------
DevExpress.Pdf.v15.1.Core
    Assembly Version: 15.1.5.0
    Win32 Version: 15.1.5.0
    CodeBase: file:///E:/AivlaSoft%20EFB/EFB/DevExpress.Pdf.v15.1.Core.DLL
----------------------------------------
DevExpress.XtraBars.v15.1
    Assembly Version: 15.1.5.0
    Win32 Version: 15.1.5.0
    CodeBase: file:///E:/AivlaSoft%20EFB/EFB/DevExpress.XtraBars.v15.1.DLL
----------------------------------------
DevExpress.Pdf.v15.1.Drawing
    Assembly Version: 15.1.5.0
    Win32 Version: 15.1.5.0
    CodeBase: file:///E:/AivlaSoft%20EFB/EFB/DevExpress.Pdf.v15.1.Drawing.DLL
----------------------------------------
DevExpress.Printing.v15.1.Core
    Assembly Version: 15.1.5.0
    Win32 Version: 15.1.5.0
    CodeBase: file:///E:/AivlaSoft%20EFB/EFB/DevExpress.Printing.v15.1.Core.DLL
----------------------------------------
WindowsBase
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1073.0 built by: NETFXREL3STAGE
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
UIAutomationClient
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationClient/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationClient.dll
----------------------------------------
UIAutomationTypes
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationTypes/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationTypes.dll
----------------------------------------
System.Data.Linq
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Data.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Data.Linq.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.


Link to comment
Share on other sites

×
×
  • Create New...