diff --git a/src/main/java/org/olat/modules/qpool/ui/QuestionPoolMainEditorController.java b/src/main/java/org/olat/modules/qpool/ui/QuestionPoolMainEditorController.java index a22164ff3fec433654fe333148f36f69180477c8..103c40ca91f3abfc27bda5827444ace4fe8b6007 100644 --- a/src/main/java/org/olat/modules/qpool/ui/QuestionPoolMainEditorController.java +++ b/src/main/java/org/olat/modules/qpool/ui/QuestionPoolMainEditorController.java @@ -156,7 +156,7 @@ public class QuestionPoolMainEditorController extends BasicController implements } private TreeNode getDelegate(TreeNode node) { - if (node.getDelegate() != null) { + if (node != null && node.getDelegate() != null) { getDelegate(node.getDelegate()); } return node;