undefined method 'upcase' for nil:NilClass

I seem to have encountered a bug. I was running a cutscene when suddenly, this error came up on screen. Any ideas?

If it help, I attached the actual full error and cutscene event to the thread, with the point the error comes up at.
Please take some time to learn how to use PrintScreen to take screenshots. Trying to read from a mobile phone photo is awful.

NilClass errors typically occur when you have added or modified a script, and then resume a game that was started and saved prior to adding the script. So it depends on what those message codes are, if the error occurred when the game was supposed to display that message.

Start a new game and see if the error still happens.

Original thread: https://forums.rpgmakerweb.com/threads/undefined-method-upcase-for-nil-nilclass.86125/