diff --git a/src/main/java/org/olat/course/run/navigation/NavigationHandler.java b/src/main/java/org/olat/course/run/navigation/NavigationHandler.java index 71f90a75c06002bcacfae96ca0104fd8b625c621..4f5facdf7c085dd28e51c322cb8fe96ac6c50bbf 100644 --- a/src/main/java/org/olat/course/run/navigation/NavigationHandler.java +++ b/src/main/java/org/olat/course/run/navigation/NavigationHandler.java @@ -359,7 +359,7 @@ public class NavigationHandler implements Disposable { // calculate the NodeClickedRef // 1. get the correct (new) nodeevaluation NodeEvaluation nodeEval = (NodeEvaluation) newCalledTreeNode.getUserObject(); - if (nodeEval.getCourseNode() != courseNode) { + if (nodeEval.getCourseNode() != null && !nodeEval.getCourseNode().equals(courseNode)) { throw new AssertException("error in structure"); } if (!nodeEval.isVisible()) {