Application: Terminate when trying to set nonexisting state