CommandReceiveTerminalText throws NullPointerException

Description

Interacting with the in-game terminal can cause CommandReceiveTerminalText to throw a Null pointer exception. It looks like the exception is thrown after the terminal receives invalid input.

Note

Might come from getTerminalCommandObject in TerminalManager.

In-game Screenshot

Screen_Shot_2022-02-02_at_4.39.37_PM

Console Message

Exception in thread "Timer-3" java.lang.NullPointerException
	at model.CommandReceiveTerminalText.execute(CommandReceiveTerminalText.java:57)
	at model.ModelFacade$ProcessCommandQueueTask.run(ModelFacade.java:80)
	at java.base/java.util.TimerThread.mainLoop(Timer.java:556)
	at java.base/java.util.TimerThread.run(Timer.java:506)
Edited by Andrew Januszko