graymon32 Posted December 23, 2020 Posted December 23, 2020 sometimes when I open plhex i get the errors below: Exception Details: System.InvalidCastException: Unable to cast object of type 'AutoModPlugins.ExportBoxToShowdown' to type 'PKHeX.Core.IPlugin'. at PKHeX.WinForms.PluginLoader.<LoadPlugins>d__1`1.MoveNext() at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection) at PKHeX.WinForms.Main.FormLoadPlugins() at PKHeX.WinForms.Main..ctor() at PKHeX.WinForms.Program.Main() Loaded Assemblies: -------------------- mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll PKHeX, Version=20.11.28.0, Culture=neutral, PublicKeyToken=null C:\Users\Blood\Desktop\newest pkhex\pkhex\PKHeX (20.06.22)\PKHeX.exe System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll PKHeX.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null PKHeX.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null PKHeX.Drawing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null AutoModPlugins, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null C:\Users\Blood\Desktop\newest pkhex\pkhex\PKHeX (20.06.22)\plugins\AutoModPlugins.dll -------------------- User Message: An unhandled exception has occurred. PKHeX must now close. Then with my shield save I get this one: Exception Details: System.IndexOutOfRangeException: Index was outside the bounds of the array. at PKHeX_Raid_Plugin.RaidManager.InitializeDenList(RaidSpawnList8 raids, RaidSpawnList8 raidsArmor, RaidSpawnList8 raidsCrown) at PKHeX_Raid_Plugin.RaidManager..ctor(SaveBlockAccessor8SWSH blocks, GameVersion game, Int32 badges, UInt32 tid, UInt32 sid) at PKHeX_Raid_Plugin.RaidList..ctor(SaveBlockAccessor8SWSH blocks, GameVersion game, Int32 badges, Int32 tid, Int32 sid) at PKHeX_Raid_Plugin.RaidPlugin.Open() at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ToolStrip.WndProc(Message& m) at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) Loaded Assemblies: -------------------- mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll PKHeX, Version=20.11.28.0, Culture=neutral, PublicKeyToken=null C:\Users\Blood\Desktop\newest pkhex\pkhex\PKHeX (20.06.22)\PKHeX.exe System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll PKHeX.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null PKHeX.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null PKHeX.Drawing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null AutoModPlugins, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null C:\Users\Blood\Desktop\newest pkhex\pkhex\PKHeX (20.06.22)\plugins\AutoModPlugins.dll DynamaxAdventureReset, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null C:\Users\Blood\Desktop\newest pkhex\pkhex\PKHeX (20.06.22)\plugins\DynamaxAdventureReset.dll PKHeX_Raid_Plugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null C:\Users\Blood\Desktop\newest pkhex\pkhex\PKHeX (20.06.22)\plugins\PKHeX_Raid_Plugin.dll QRPlugins, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null C:\Users\Blood\Desktop\newest pkhex\pkhex\PKHeX (20.06.22)\plugins\QRPlugins.dll PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 C:\WINDOWS\Microsoft.Net\assembly\GAC_64\PresentationCore\v4.0_4.0.0.0__31bf3856ad364e35\PresentationCore.dll WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\WindowsBase\v4.0_4.0.0.0__31bf3856ad364e35\WindowsBase.dll -------------------- User Message: An unhandled exception has occurred. You can continue running PKHeX, but please report this error. any ideas?
graymon32 Posted December 23, 2020 Author Posted December 23, 2020 ok solved the other error now the only 1 I get it seems is for the exportbox to showdown?? Exception Details: System.InvalidCastException: Unable to cast object of type 'AutoModPlugins.ExportBoxToShowdown' to type 'PKHeX.Core.IPlugin'. at PKHeX.WinForms.PluginLoader.<LoadPlugins>d__1`1.MoveNext() at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection) at PKHeX.WinForms.Main.FormLoadPlugins() at PKHeX.WinForms.Main..ctor() at PKHeX.WinForms.Program.Main() Loaded Assemblies: -------------------- mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll PKHeX, Version=20.11.28.0, Culture=neutral, PublicKeyToken=null C:\Users\Blood\Desktop\newest pkhex\pkhex\PKHeX (20.11.28.0)\PKHeX.exe System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll PKHeX.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null PKHeX.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null PKHeX.Drawing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null AutoModPlugins, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null C:\Users\Blood\Desktop\newest pkhex\pkhex\PKHeX (20.11.28.0)\plugins\AutoModPlugins.dll -------------------- User Message: An unhandled exception has occurred. PKHeX must now close.
Mr Noctowl Posted December 23, 2020 Posted December 23, 2020 If you not using jus the regular pkhex then jus download it and try it again. Besides by now at the moment it kinda needs to be updated so you gonna have to wait for an update anyway unless you go have the correct back-up you cant do anything.
Kaphotics Posted December 23, 2020 Posted December 23, 2020 Not an issue with PKHeX. Your plugins are out of date. 1
Recommended Posts