Error on validateData() method solved.