这是应该使所有学生都受累的代码:
List<Student> getStudentListByCriteria(){
List<Student> studentList= Student.list()
return studentList
}
当我运行应用程序时,它会引发一个异常,提示...
Caused by: java.lang.NullPointerException: Cannot invoke method clearTime() on null object