If the averments as to residence are not fully proved, the hearing shall proceed no further, and the action be dismissed by the court.