diff --git a/src/main/java/edu/kit/kastel/sdq/artemis4j/client/ProgrammingSubmissionDTO.java b/src/main/java/edu/kit/kastel/sdq/artemis4j/client/ProgrammingSubmissionDTO.java index 7448bdc..352a983 100644 --- a/src/main/java/edu/kit/kastel/sdq/artemis4j/client/ProgrammingSubmissionDTO.java +++ b/src/main/java/edu/kit/kastel/sdq/artemis4j/client/ProgrammingSubmissionDTO.java @@ -75,7 +75,7 @@ public static void saveAssessment(ArtemisClient client, long participationId, bo public List nonAutomaticResults() { return this.results().stream() - .filter(r -> r.assessmentType() != AssessmentType.AUTOMATIC) + .filter(r -> r != null && r.assessmentType() != AssessmentType.AUTOMATIC) .toList(); } }