instructorCourseEdit: Null pointer exception #2242

for #2242