replace ambiguous assert.  If commandDescriptor is null, let it throw a
null pointer exception.