The validation for null value.