Giving your commander a command "solves" this. Also, setting a factory's default command for constructed units prevents this error from occurring for newly constructed constructors.