Index: /main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
===================================================================
--- /main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py	(revision 15062)
+++ /main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py	(revision 15063)
@@ -932,12 +932,26 @@
     @property
     def department(self):
-        if self.context.certificate is not None:
-            return self.context.certificate.__parent__.__parent__
+        try:
+            if self.context.certificate is not None:
+                return self.context.certificate.__parent__.__parent__
+        except AttributeError:
+            # handle_certificate_removed does only clear
+            # studycourses with certificate code 'studycourse' but not
+            # 'studycourse_1' or 'studycourse_2'.These certificates do
+            # still exist but have no parents.
+            pass
         return
 
     @property
     def faculty(self):
-        if self.context.certificate is not None:
-            return self.context.certificate.__parent__.__parent__.__parent__
+        try:
+            if self.context.certificate is not None:
+                return self.context.certificate.__parent__.__parent__.__parent__
+        except AttributeError:
+            # handle_certificate_removed does only clear
+            # studycourses with certificate code 'studycourse' but not
+            # 'studycourse_1' or 'studycourse_2'.These certificates do
+            # still exist but have no parents.
+            pass
         return
 
