0 Call to a member function getData() on null