Index: /WAeUP_SRP/trunk/WAeUPTool.py
===================================================================
--- /WAeUP_SRP/trunk/WAeUPTool.py	(revision 4799)
+++ /WAeUP_SRP/trunk/WAeUPTool.py	(revision 4800)
@@ -1204,6 +1204,8 @@
         student_obj = getattr(self.portal_url.getPortalObject().campus.students,student_id)
         studycourse = getattr(student_obj,"study_course",None)
-        levels = studycourse.objectIds()
-        
+        if studycourse:
+            levels = studycourse.objectIds()
+        else:
+            levels = []
         stool = getToolByName(self, 'portal_schemas')
         schema = stool._getOb('student_study_level')
