An attempt was made to create ConsoleForm without a valid window reference.
Verify that the ConsoleForm is properly defined, and used within a valid ConsoleUI statement.