It is saying the icon index is nil.
Now, I'm not sure if this might be because something in your database does not HAVE an icon set, or if it's something in one of the custom scripts. I'd be looking at the EB Battle System first from the list above.
Did you make any changes to the battle script for customization? I see it has default icons to use for actor commands. If you've added new commands, you may need to add a new icon to that list.
If that doesn't help point you in the right direction, install
this script temporarily, play with the console on (in the Game menu), and when it crashes, scroll up so you can see the beginning of the error message in the console and take a screenshot of that. That will tell us exactly which script, and which line, is calling that method and passing a nil icon index.