It should not exists such a student as a class membership is mandatory for a student, but tracebacks are not the best way to break. ;-) I think this problem should be mentioned.
*** This bug has been marked as a duplicate of bug 52335 ***