Cannot read property 'removeCurrentAction' of null

Hello, so when I try to get my enemy to do a force action, this error occurs:

Code:
TypeError: Cannot read property 'removeCurrentAction' of null

This is the full stack trace:
Spoiler
[IMG]https://heliopix.ml/images/2019/10/01/a4520c284581cde830978101d7b2c5c6.png[/IMG]

And this is the troop event that the error shows up on:

Spoiler
[IMG]https://heliopix.ml/images/2019/10/01/4135d4bafe650336e069110a1cfb93dd.png[/IMG]

Can anyone help me out? Thanks! 🙂
1) does that error happens if you start a new game in playtest or after you load a saved game or in both cases?
2) please give a screenshot of your plugin manager with all plugins - and check for yourself that the yanfly plugins are in exactly the order required, you simply cannot add them in a random order or it could cause a lot of problems.
1) does that error happens if you start a new game in playtest or after you load a saved game or in both cases?
2) please give a screenshot of your plugin manager with all plugins - and check for yourself that the yanfly plugins are in exactly the order required, you simply cannot add them in a random order or it could cause a lot of problems.

This error happens when I run a Battle Test against a troop that has above events triggering at 25% life or lower.

Expanded view:
Spoiler
[IMG]https://heliopix.ml/images/2019/10/02/18bdbe1f2b44e732c5673a76313b028c.png[/IMG]

Plugin List:
Spoiler
[IMG]https://heliopix.ml/images/2019/10/02/6198985a7a058b9b0ee71e46b80ed4a3.png[/IMG]
[IMG]https://heliopix.ml/images/2019/10/02/e335d76c28693a6ded944d45f4887084.png[/IMG]
[IMG]https://heliopix.ml/images/2019/10/02/f4116b0e530c144965f429fe0ba621b3.png[/IMG]
[IMG]https://heliopix.ml/images/2019/10/02/65d3bd453ae0753f435815b22831df3f.png[/IMG]
[IMG]https://heliopix.ml/images/2019/10/02/ad19b54566f77752b786bd29dee5e0b1.png[/IMG]

Could it be my plugins? I wouldn't be surprised since I am using so many, but it seems to be a bug with RPG Maker mv, at least it seems that way. :/
Please test in game, NOT with battle test.
Battle test loads only part of the plugins (depending on the plugin programmer, nothing can be done about that by the RM), so it is not reliable for bughunts.

I've moved this thread to Plug-in Support. Thank you.

it seems to be a bug with RPG Maker mv, at least it seems that way
This should be straightforward to confirm, try the same troop event on a blank project with no plugins.

If you can reproduce the error then, it could be a real bug with MV. Otherwise if you can't produce the bug, it's time to start checking the plugins you added.
Please test in game, NOT with battle test.
Battle test loads only part of the plugins (depending on the plugin programmer, nothing can be done about that by the RM), so it is not reliable for bughunts.

This should be straightforward to confirm, try the same troop event on a blank project with no plugins.

If you can reproduce the error then, it could be a real bug with MV. Otherwise if you can't produce the bug, it's time to start checking the plugins you added.

After testing ingame, it seems this error does not show up. Thank you guys for your help. Sorry if I jumped to conclusions. LMAO I didnt know that Battle Test didnt load all plugins. Now I do. Thanks again! 🙂

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/cannot-read-property-removecurrentaction-of-null.113836/