Skip to content

Commit

Permalink
fix npe (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
Feuermagier authored Sep 26, 2024
1 parent 55717cc commit e2a309d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public static void saveAssessment(ArtemisClient client, long participationId, bo

public List<ResultDTO> nonAutomaticResults() {
return this.results().stream()
.filter(r -> r.assessmentType() != AssessmentType.AUTOMATIC)
.filter(r -> r != null && r.assessmentType() != AssessmentType.AUTOMATIC)
.toList();
}
}

0 comments on commit e2a309d

Please sign in to comment.