Trouble trying to use console command

Im trying to use a console command on a soldier to unapply a status effect of mind control.

I keep getting the error “Object reference not set to an instance of an object”. What exactly does that mean?