致命错误: Call to a member function getData() on null