Email validation

An error occured while email validation : Object reference not set to an instance of an object.