Jump to content

Batch Editor Bug (System.NullReferenceException)


crazy4ever

Recommended Posts

When you go to the "Batch Editor", select "Any" and, then select "EggMetDate", PKHeX (180709) then comes up with the following error: System.NullReferenceException

Comes up in several versions of PKhex when i was looking if a previous version actually did something.

 

Also, when in the Batch Editor and you want to mass edit relearn moves to the default ones it says: 

If you would like to change a Pokemon's Relearn Moves to suggested moves (based on legality) instead use the "RelearnMoves" variable and input "$suggest" into the Batch Editor.

This doesn't seem to work, the relearn moves never get set. ".RelearnMoves=$suggest"

I have added a pokemon in the attachments which after the egglocation is set it should have "Tackle" in the relearn moves, but this isn't set. 

 

 

Knipsel.PNG

System.NullReferenceException.txt

505 - Watchog - DBBBDFA7FFDD.pk7

Link to comment
Share on other sites

2 minutes ago, Kaphotics said:

Thanks, fixed in latest commit :)

https://github.com/kwsch/PKHeX/commit/b749db10d898304df57ecc9f98449c0b3bb80ac0

The pkm doesn't have an egg met date, so the internals return 'null' for the value; null->string throws an exception

Alright, thank you!

 

As for the problem with ".RelearnMoves=$suggest"

Do you have any idea if this also is a bug or am i using the wrong input?

Link to comment
Share on other sites

45 minutes ago, crazy4ever said:

Alright, thank you!

 

As for the problem with ".RelearnMoves=$suggest"

Do you have any idea if this also is a bug or am i using the wrong input?

As for the setting suggested relearn moves, works fine for me. It applies tackle.

Try clicking the relearn moves box to do it manually, I guess.

Link to comment
Share on other sites

8 minutes ago, Kaphotics said:

As for the setting suggested relearn moves, works fine for me. It applies tackle.

 Try clicking the relearn moves box to do it manually, I guess.

Thank you for your afford, as it works for you it should be working for me. I'll just keep tinkering a bit with it.

Have a nice day!

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...