If shell is null you should throw WrongAttributeValueException