系统发生错误

错误信息:Call to a member function isEmpty() on null