Jump to content

PKHaX Mode Error


Pocket Monsters

Recommended Posts

When I open the Gen5 save file in PkHeX in PkHaX Mode. This error occurs.

 

Exception Details:
System.InvalidCastException: Unable to cast object of type 'PKHeX.Core.PersonalInfo5B2W2' to type 'PKHeX.Core.IPersonalAbility12H'.
   at PKHeX.WinForms.Controls.PKMEditor.PreparePK5()
   at PKHeX.WinForms.Controls.PKMEditor.PreparePKM(Boolean click)
   at PKHeX.WinForms.Main.GetPreview(PictureBox pb, PKM pk)
   at PKHeX.WinForms.Controls.PKMEditor.UpdateSprite()
   at PKHeX.WinForms.Controls.PKMEditor.LoadFieldsFromPKM(PKM pk, Boolean focus, Boolean skipConversionCheck)
   at PKHeX.WinForms.Main.ResetSAVPKMEditors(SaveFile sav)
   at PKHeX.WinForms.Main.OpenSAV(SaveFile sav, String path)
   at PKHeX.WinForms.Main.OpenFile(Byte[] input, String path, String ext)
   at PKHeX.WinForms.Main.OpenFromPath(String path)

Loaded Assemblies:
--------------------
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll

PKHeX, Version=22.8.31.0, Culture=neutral, PublicKeyToken=null
C:\Users\Hiroyuki\Documents\PKHeX (220831)\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

PKHeX.Core, Version=22.6.26.0, Culture=neutral, PublicKeyToken=null


PKHeX.Core, Version=22.6.26.0, Culture=neutral, PublicKeyToken=null


System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51


System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51


System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Runtime.dll

System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a


System.Runtime.InteropServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.InteropServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Runtime.InteropServices.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.Reflection, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Reflection\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Reflection.dll

System.Runtime.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Extensions\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Runtime.Extensions.dll

Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed


System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Numerics\v4.0_4.0.0.0__b77a5c561934e089\System.Numerics.dll

System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll

System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
C:\windows\Microsoft.Net\assembly\GAC_64\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.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.Drawing.PokeSprite, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null


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.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51


System.Windows.Forms.resources, Version=4.0.0.0, Culture=pt-BR, PublicKeyToken=b77a5c561934e089
C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms.resources\v4.0_4.0.0.0_pt-BR_b77a5c561934e089\System.Windows.Forms.resources.dll

PKHeX.Drawing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null


PKHeX.Drawing.Misc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null


FeebasLocatorPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
C:\Users\Hiroyuki\Documents\PKHeX (220831)\plugins\FeebasLocator.dll

GP1Editor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
C:\Users\Hiroyuki\Documents\PKHeX (220831)\plugins\GP1Editor.dll

MirageIslandPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
C:\Users\Hiroyuki\Documents\PKHeX (220831)\plugins\MirageIslandPlugin.dll

Overworld8Searcher, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
C:\Users\Hiroyuki\Documents\PKHeX (220831)\plugins\Overworld8Searcher 1.0.9.dll

PKHeX_Raid_Plugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
C:\Users\Hiroyuki\Documents\PKHeX (220831)\plugins\PKHeX_Raid_Plugin.dll

PKHeXWC3Plugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
C:\Users\Hiroyuki\Documents\PKHeX (220831)\plugins\WC3Plugin.dll

mscorlib.resources, Version=4.0.0.0, Culture=pt-BR, PublicKeyToken=b77a5c561934e089
C:\windows\Microsoft.Net\assembly\GAC_MSIL\mscorlib.resources\v4.0_4.0.0.0_pt-BR_b77a5c561934e089\mscorlib.resources.dll

--------------------
User Message:
Unable to load file.
Path: C:\Users\Hiroyuki\Documents\PKHeX (220831)\bak\Pokemon White 2.sav [Nate (W2) - 259ː25ː23].bak
 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...