mgoeppner / evemon

A lightweight, easy-to-use standalone Windows application designed to assist you in keeping track of your EVE Online character progression.
https://mgoeppner.github.io/evemon/
GNU General Public License v2.0
162 stars 22 forks source link

Crash when exporting character skills to TXT format #70

Open llawwehttam opened 6 months ago

llawwehttam commented 6 months ago

When clicking "Tools" -> "Character Comparison", right clicking on a character and selecting "Export Skills as Plan" then choosing TXT as the export format, evemon crashes as follows:

EVEMon Version: 4.2.2.5058
.NET Runtime Version: 4.0.30319.42000
Operating System: Microsoft Windows NT 10.0.22631.0
Executable Path: "C:\Program Files (x86)\EVEMon\EVEMon.exe" 
System.InvalidCastException: Unable to cast object of type 'EVEMon.Common.Helpers.CharacterScratchpad' to type 'EVEMon.Common.Models.Character'.
   at EVEMon.Common.Helpers.PlanIOHelper.ExportAsText(Plan planToExport, PlanExportSettings settings, Action`3 exportActions)
   at EVEMon.Common.Controls.CopySaveOptionsWindow.OptionChange()
   at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
   at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
   at EVEMon.Common.Controls.CopySaveOptionsWindow.CopySaveOptionsWindow_Load(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at EVEMon.Common.Controls.EVEMonForm.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)