You've tagged this MV but the error messages are for MZ plugins. Which are you using?
Is it only with a specific enemy/troop?
Yes but it's also the only enemy/troop with 3 actions instead of the usual 1.
If you give a different enemy 3 actions instead of 1 do you get the same issue?
Sorry for double post but it seems using normal turn-based battle system (from the database) instead of CTB creates no glitch. So it seems the problem is with CTB.
If the problem disappears when CTB is deactivated then it's related to CTB, yes. However, does it occur with only CTB (and its minimum required plugins) active?
I'm not very familiar with the VisuStella library, but I notice there's an "AutoSkillTriggers" plugin in that traceback, so I'm wondering if the problem is that something is trying to force an action from a non-existent battler. Screenshot(s) of your Plugin Manager, showing all plugins you're using, might be helpful.
null (rather than undefined) makes me wonder if something has confused ID (starts at 1) with index (starts at 0), because index 0 of all database arrays is null.