diff --git a/src/main/java/org/olat/course/nodes/IQSELFCourseNode.java b/src/main/java/org/olat/course/nodes/IQSELFCourseNode.java index 0fa8afb851b71fc54ef6bc1dd4399aad3a07fe92..42d584c70efcc167fe9a0e8e088c50550a475c52 100644 --- a/src/main/java/org/olat/course/nodes/IQSELFCourseNode.java +++ b/src/main/java/org/olat/course/nodes/IQSELFCourseNode.java @@ -378,7 +378,7 @@ public class IQSELFCourseNode extends AbstractAccessableCourseNode implements Se .getLastAssessmentTestSessions(courseEntry, getIdent(), referencedRepositoryEntry, assessedIdentity); if(testSession != null) { boolean fullyAssessed = (testSession.getFinishTime() != null || testSession.getTerminationTime() != null); - Float score = testSession.getScore().floatValue(); + Float score = testSession.getScore() == null ? null : testSession.getScore().floatValue(); return new ScoreEvaluation(score, testSession.getPassed(), fullyAssessed, testSession.getKey()); } } else {