Communication
: Add icons to conversation options
#8889
2699 passed, 3798 failed and 2 skipped
Annotations
Check failure on line 219 in src/test/java/de/tum/in/www1/artemis/course/CourseUtilService.java
github-actions / MySQL Tests
de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest ► testAsInstructorOfOtherCourse(String, HttpStatus) [1] endpoint=testEnforceAtLeastStudentInCourseExplicit, expectedStatus=403 FORBIDDEN
Failed test found in:
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInCourseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.aspects.EnforceRoleInExerciseTest.xml
Error:
org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction
Raw output
org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction
at app//org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:466)
at app//org.springframework.transaction.support.AbstractPlatformTransactionManager.startTransaction(AbstractPlatformTransactionManager.java:532)
at app//org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:405)
at app//org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:617)
at app//org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:386)
at app//org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:165)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:223)
at app/jdk.proxy3/jdk.proxy3.$Proxy383.save(Unknown Source)
at java.base@21.0.3/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base@21.0.3/java.lang.reflect.Method.invoke(Method.java:580)
at app//org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:354)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at app//org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:223)
at app/jdk.proxy3/jdk.proxy3.$Proxy383.save(Unknown Source)
at app//de.tum.in.www1.artemis.course.CourseUtilService.createCourseWithUserPrefix(CourseUtilService.java:219)
at app//de.tum.in.www1.artemis.aspects.AbstractEnforceRoleInResourceTest.defaultSetup(AbstractEnforceRoleInResourceTest.java:47)
at app//de.tum.in.www1.artemis.aspects.AbstractEnforceRoleInResourceTest.setup(AbstractEnforceRoleInResourceTest.java:34)
at java.base@21.0.3/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base@21.0.3/java.lang.reflect.Method.invoke(Method.java:580)
at app//org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:728)
at app//org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
at app//org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
at app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptLifecycleMethod(TimeoutExtension.java:128)
at app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptBeforeEachMethod(TimeoutExtension.java:78)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
at app//org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeMethodInExtensionContext(ClassBasedTestDescriptor.java:521)
at app//org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$synthesizeBeforeEachMethodAdapter$23(ClassBasedTestDescriptor.java:506)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeBeforeEachMethods$3(TestMethodTestDescriptor.java:175)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeBeforeMethodsOrCallbacksUntilExceptionOccurs$6(TestMethodTestDescriptor.java:203)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeBeforeMethodsOrCallbacksUntilExceptionOccurs(TestMethodTestDescriptor.java:203)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeBeforeEachMethods(TestMethodTestDescriptor.java:172)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:135)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:69)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService$ExclusiveTask.compute(ForkJoinPoolHierarchicalTestExecutorService.java:202)
at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.submit(ForkJoinPoolHierarchicalTestExecutorService.java:135)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask$DefaultDynamicTestExecutor.execute(NodeTestTask.java:226)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask$DefaultDynamicTestExecutor.execute(NodeTestTask.java:204)
at app//org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.execute(TestTemplateTestDescriptor.java:142)
at app//org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.lambda$execute$2(TestTemplateTestDescriptor.java:110)
at java.base@21.0.3/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
at java.base@21.0.3/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base@21.0.3/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
at java.base@21.0.3/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base@21.0.3/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
at java.base@21.0.3/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base@21.0.3/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base@21.0.3/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base@21.0.3/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
at java.base@21.0.3/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base@21.0.3/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:1024)
at java.base@21.0.3/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762)
at java.base@21.0.3/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:276)
at java.base@21.0.3/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base@21.0.3/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base@21.0.3/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base@21.0.3/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:1024)
at java.base@21.0.3/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base@21.0.3/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base@21.0.3/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.base@21.0.3/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.base@21.0.3/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base@21.0.3/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
at java.base@21.0.3/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:276)
at java.base@21.0.3/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base@21.0.3/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base@21.0.3/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base@21.0.3/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1708)
at java.base@21.0.3/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base@21.0.3/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base@21.0.3/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.base@21.0.3/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.base@21.0.3/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base@21.0.3/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
at java.base@21.0.3/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:276)
at java.base@21.0.3/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1708)
at java.base@21.0.3/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base@21.0.3/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base@21.0.3/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.base@21.0.3/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.base@21.0.3/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base@21.0.3/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
at app//org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.execute(TestTemplateTestDescriptor.java:110)
at app//org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.execute(TestTemplateTestDescriptor.java:44)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService$ExclusiveTask.compute(ForkJoinPoolHierarchicalTestExecutorService.java:202)
at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.executeNonConcurrentTasks(ForkJoinPoolHierarchicalTestExecutorService.java:172)
at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.invokeAll(ForkJoinPoolHierarchicalTestExecutorService.java:152)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService$ExclusiveTask.compute(ForkJoinPoolHierarchicalTestExecutorService.java:202)
at java.base@21.0.3/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
at java.base@21.0.3/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
at java.base@21.0.3/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
at java.base@21.0.3/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
at java.base@21.0.3/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
at java.base@21.0.3/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
Caused by: com.hazelcast.core.HazelcastInstanceNotActiveException: Hazelcast instance is not active!
at app//com.hazelcast.instance.impl.HazelcastInstanceProxy.getOriginal(HazelcastInstanceProxy.java:322)
at app//com.hazelcast.instance.impl.HazelcastInstanceProxy.getCluster(HazelcastInstanceProxy.java:194)
at app//com.hazelcast.hibernate.HazelcastTimestamper.nextTimestamp(HazelcastTimestamper.java:32)
at app//com.hazelcast.hibernate.HazelcastLocalCacheRegionFactory.nextTimestamp(HazelcastLocalCacheRegionFactory.java:91)
at app//org.hibernate.cache.spi.AbstractCacheTransactionSynchronization.<init>(AbstractCacheTransactionSynchronization.java:19)
at app//org.hibernate.cache.spi.StandardCacheTransactionSynchronization.<init>(StandardCacheTransactionSynchronization.java:14)
at app//org.hibernate.cache.spi.AbstractRegionFactory.createTransactionContext(AbstractRegionFactory.java:143)
at app//org.hibernate.internal.AbstractSharedSessionContract.<init>(AbstractSharedSessionContract.java:185)
at app//org.hibernate.internal.SessionImpl.<init>(SessionImpl.java:230)
at app//org.hibernate.internal.SessionFactoryImpl$SessionBuilderImpl.openSession(SessionFactoryImpl.java:1364)
at app//org.hibernate.internal.SessionFactoryImpl$SessionBuilderImpl.openSession(SessionFactoryImpl.java:1230)
at app//org.hibernate.internal.SessionFactoryImpl.buildEntityManager(SessionFactoryImpl.java:757)
at app//org.hibernate.internal.SessionFactoryImpl.createEntityManager(SessionFactoryImpl.java:740)
at app//org.hibernate.internal.SessionFactoryImpl.createEntityManager(SessionFactoryImpl.java:164)
at app//org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.createNativeEntityManager(AbstractEntityManagerFactoryBean.java:584)
at java.base@21.0.3/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base@21.0.3/java.lang.reflect.Method.invoke(Method.java:580)
at app//org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.invokeProxyMethod(AbstractEntityManagerFactoryBean.java:487)
at app//org.springframework.orm.jpa.AbstractEntityManagerFactoryBean$ManagedEntityManagerFactoryInvocationHandler.invoke(AbstractEntityManagerFactoryBean.java:735)
at app/jdk.proxy3/jdk.proxy3.$Proxy363.createNativeEntityManager(Unknown Source)
at app//org.springframework.orm.jpa.JpaTransactionManager.createEntityManagerForTransaction(JpaTransactionManager.java:484)
at app//org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:409)
... 135 more
Check failure on line 300 in src/test/java/de/tum/in/www1/artemis/user/UserUtilService.java
github-actions / MySQL Tests
de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest ► getComplaintsByExerciseId_tutor_sensitiveDataHidden()
Failed test found in:
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.xml
Error:
org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction
Raw output
org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction
at app//org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:466)
at app//org.springframework.transaction.support.AbstractPlatformTransactionManager.startTransaction(AbstractPlatformTransactionManager.java:532)
at app//org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:405)
at app//org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:617)
at app//org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:386)
at app//org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:165)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:223)
at app/jdk.proxy3/jdk.proxy3.$Proxy371.count(Unknown Source)
at app//de.tum.in.www1.artemis.user.UserUtilService.addUsers(UserUtilService.java:300)
at app//de.tum.in.www1.artemis.assessment.AssessmentComplaintIntegrationTest.initTestCase(AssessmentComplaintIntegrationTest.java:125)
at java.base@21.0.3/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base@21.0.3/java.lang.reflect.Method.invoke(Method.java:580)
at app//org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:728)
at app//org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
at app//org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
at app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptLifecycleMethod(TimeoutExtension.java:128)
at app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptBeforeEachMethod(TimeoutExtension.java:78)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
at app//org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeMethodInExtensionContext(ClassBasedTestDescriptor.java:521)
at app//org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$synthesizeBeforeEachMethodAdapter$23(ClassBasedTestDescriptor.java:506)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeBeforeEachMethods$3(TestMethodTestDescriptor.java:175)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeBeforeMethodsOrCallbacksUntilExceptionOccurs$6(TestMethodTestDescriptor.java:203)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeBeforeMethodsOrCallbacksUntilExceptionOccurs(TestMethodTestDescriptor.java:203)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeBeforeEachMethods(TestMethodTestDescriptor.java:172)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:135)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:69)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService$ExclusiveTask.compute(ForkJoinPoolHierarchicalTestExecutorService.java:202)
at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.executeNonConcurrentTasks(ForkJoinPoolHierarchicalTestExecutorService.java:172)
at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.invokeAll(ForkJoinPoolHierarchicalTestExecutorService.java:152)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService$ExclusiveTask.compute(ForkJoinPoolHierarchicalTestExecutorService.java:202)
at java.base@21.0.3/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
at java.base@21.0.3/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
at java.base@21.0.3/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
at java.base@21.0.3/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
at java.base@21.0.3/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
at java.base@21.0.3/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
Caused by: com.hazelcast.core.HazelcastInstanceNotActiveException: Hazelcast instance is not active!
at app//com.hazelcast.instance.impl.HazelcastInstanceProxy.getOriginal(HazelcastInstanceProxy.java:322)
at app//com.hazelcast.instance.impl.HazelcastInstanceProxy.getCluster(HazelcastInstanceProxy.java:194)
at app//com.hazelcast.hibernate.HazelcastTimestamper.nextTimestamp(HazelcastTimestamper.java:32)
at app//com.hazelcast.hibernate.HazelcastLocalCacheRegionFactory.nextTimestamp(HazelcastLocalCacheRegionFactory.java:91)
at app//org.hibernate.cache.spi.AbstractCacheTransactionSynchronization.<init>(AbstractCacheTransactionSynchronization.java:19)
at app//org.hibernate.cache.spi.StandardCacheTransactionSynchronization.<init>(StandardCacheTransactionSynchronization.java:14)
at app//org.hibernate.cache.spi.AbstractRegionFactory.createTransactionContext(AbstractRegionFactory.java:143)
at app//org.hibernate.internal.AbstractSharedSessionContract.<init>(AbstractSharedSessionContract.java:185)
at app//org.hibernate.internal.SessionImpl.<init>(SessionImpl.java:230)
at app//org.hibernate.internal.SessionFactoryImpl$SessionBuilderImpl.openSession(SessionFactoryImpl.java:1364)
at app//org.hibernate.internal.SessionFactoryImpl$SessionBuilderImpl.openSession(SessionFactoryImpl.java:1230)
at app//org.hibernate.internal.SessionFactoryImpl.buildEntityManager(SessionFactoryImpl.java:757)
at app//org.hibernate.internal.SessionFactoryImpl.createEntityManager(SessionFactoryImpl.java:740)
at app//org.hibernate.internal.SessionFactoryImpl.createEntityManager(SessionFactoryImpl.java:164)
at app//org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.createNativeEntityManager(AbstractEntityManagerFactoryBean.java:584)
at java.base@21.0.3/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base@21.0.3/java.lang.reflect.Method.invoke(Method.java:580)
at app//org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.invokeProxyMethod(AbstractEntityManagerFactoryBean.java:487)
at app//org.springframework.orm.jpa.AbstractEntityManagerFactoryBean$ManagedEntityManagerFactoryInvocationHandler.invoke(AbstractEntityManagerFactoryBean.java:735)
at app/jdk.proxy3/jdk.proxy3.$Proxy363.createNativeEntityManager(Unknown Source)
at app//org.springframework.orm.jpa.JpaTransactionManager.createEntityManagerForTransaction(JpaTransactionManager.java:484)
at app//org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:409)
... 67 more
Check failure on line 300 in src/test/java/de/tum/in/www1/artemis/user/UserUtilService.java
github-actions / MySQL Tests
de.tum.in.www1.artemis.assessment.AssessmentTeamComplaintIntegrationTest ► getComplaintByResultId_studentAndNotPartOfTeam_forbidden()
Failed test found in:
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentTeamComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentTeamComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentTeamComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentTeamComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentTeamComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentTeamComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentTeamComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentTeamComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentTeamComplaintIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.AssessmentTeamComplaintIntegrationTest.xml
Error:
org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction
Raw output
org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction
at app//org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:466)
at app//org.springframework.transaction.support.AbstractPlatformTransactionManager.startTransaction(AbstractPlatformTransactionManager.java:532)
at app//org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:405)
at app//org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:617)
at app//org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:386)
at app//org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:165)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:223)
at app/jdk.proxy3/jdk.proxy3.$Proxy371.count(Unknown Source)
at app//de.tum.in.www1.artemis.user.UserUtilService.addUsers(UserUtilService.java:300)
at app//de.tum.in.www1.artemis.assessment.AssessmentTeamComplaintIntegrationTest.initTestCase(AssessmentTeamComplaintIntegrationTest.java:101)
at java.base@21.0.3/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base@21.0.3/java.lang.reflect.Method.invoke(Method.java:580)
at app//org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:728)
at app//org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
at app//org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
at app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptLifecycleMethod(TimeoutExtension.java:128)
at app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptBeforeEachMethod(TimeoutExtension.java:78)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
at app//org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeMethodInExtensionContext(ClassBasedTestDescriptor.java:521)
at app//org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$synthesizeBeforeEachMethodAdapter$23(ClassBasedTestDescriptor.java:506)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeBeforeEachMethods$3(TestMethodTestDescriptor.java:175)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeBeforeMethodsOrCallbacksUntilExceptionOccurs$6(TestMethodTestDescriptor.java:203)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeBeforeMethodsOrCallbacksUntilExceptionOccurs(TestMethodTestDescriptor.java:203)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeBeforeEachMethods(TestMethodTestDescriptor.java:172)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:135)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:69)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService$ExclusiveTask.compute(ForkJoinPoolHierarchicalTestExecutorService.java:202)
at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.executeNonConcurrentTasks(ForkJoinPoolHierarchicalTestExecutorService.java:172)
at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.invokeAll(ForkJoinPoolHierarchicalTestExecutorService.java:152)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService$ExclusiveTask.compute(ForkJoinPoolHierarchicalTestExecutorService.java:202)
at java.base@21.0.3/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
at java.base@21.0.3/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
at java.base@21.0.3/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
at java.base@21.0.3/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
at java.base@21.0.3/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
at java.base@21.0.3/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
Caused by: com.hazelcast.core.HazelcastInstanceNotActiveException: Hazelcast instance is not active!
at app//com.hazelcast.instance.impl.HazelcastInstanceProxy.getOriginal(HazelcastInstanceProxy.java:322)
at app//com.hazelcast.instance.impl.HazelcastInstanceProxy.getCluster(HazelcastInstanceProxy.java:194)
at app//com.hazelcast.hibernate.HazelcastTimestamper.nextTimestamp(HazelcastTimestamper.java:32)
at app//com.hazelcast.hibernate.HazelcastLocalCacheRegionFactory.nextTimestamp(HazelcastLocalCacheRegionFactory.java:91)
at app//org.hibernate.cache.spi.AbstractCacheTransactionSynchronization.<init>(AbstractCacheTransactionSynchronization.java:19)
at app//org.hibernate.cache.spi.StandardCacheTransactionSynchronization.<init>(StandardCacheTransactionSynchronization.java:14)
at app//org.hibernate.cache.spi.AbstractRegionFactory.createTransactionContext(AbstractRegionFactory.java:143)
at app//org.hibernate.internal.AbstractSharedSessionContract.<init>(AbstractSharedSessionContract.java:185)
at app//org.hibernate.internal.SessionImpl.<init>(SessionImpl.java:230)
at app//org.hibernate.internal.SessionFactoryImpl$SessionBuilderImpl.openSession(SessionFactoryImpl.java:1364)
at app//org.hibernate.internal.SessionFactoryImpl$SessionBuilderImpl.openSession(SessionFactoryImpl.java:1230)
at app//org.hibernate.internal.SessionFactoryImpl.buildEntityManager(SessionFactoryImpl.java:757)
at app//org.hibernate.internal.SessionFactoryImpl.createEntityManager(SessionFactoryImpl.java:740)
at app//org.hibernate.internal.SessionFactoryImpl.createEntityManager(SessionFactoryImpl.java:164)
at app//org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.createNativeEntityManager(AbstractEntityManagerFactoryBean.java:584)
at java.base@21.0.3/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base@21.0.3/java.lang.reflect.Method.invoke(Method.java:580)
at app//org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.invokeProxyMethod(AbstractEntityManagerFactoryBean.java:487)
at app//org.springframework.orm.jpa.AbstractEntityManagerFactoryBean$ManagedEntityManagerFactoryInvocationHandler.invoke(AbstractEntityManagerFactoryBean.java:735)
at app/jdk.proxy3/jdk.proxy3.$Proxy363.createNativeEntityManager(Unknown Source)
at app//org.springframework.orm.jpa.JpaTransactionManager.createEntityManagerForTransaction(JpaTransactionManager.java:484)
at app//org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:409)
... 67 more
Check failure on line 300 in src/test/java/de/tum/in/www1/artemis/user/UserUtilService.java
github-actions / MySQL Tests
de.tum.in.www1.artemis.assessment.ComplaintResponseIntegrationTest ► createLock_sameAsAssessor_shouldThrowAccessForbiddenException()
Failed test found in:
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ComplaintResponseIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ComplaintResponseIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ComplaintResponseIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ComplaintResponseIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ComplaintResponseIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ComplaintResponseIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ComplaintResponseIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ComplaintResponseIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ComplaintResponseIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ComplaintResponseIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ComplaintResponseIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ComplaintResponseIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ComplaintResponseIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ComplaintResponseIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ComplaintResponseIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ComplaintResponseIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ComplaintResponseIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ComplaintResponseIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ComplaintResponseIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ComplaintResponseIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ComplaintResponseIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ComplaintResponseIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ComplaintResponseIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ComplaintResponseIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ComplaintResponseIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ComplaintResponseIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ComplaintResponseIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ComplaintResponseIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ComplaintResponseIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ComplaintResponseIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ComplaintResponseIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ComplaintResponseIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ComplaintResponseIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ComplaintResponseIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ComplaintResponseIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ComplaintResponseIntegrationTest.xml
Error:
org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction
Raw output
org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction
at app//org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:466)
at app//org.springframework.transaction.support.AbstractPlatformTransactionManager.startTransaction(AbstractPlatformTransactionManager.java:532)
at app//org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:405)
at app//org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:617)
at app//org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:386)
at app//org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:165)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:223)
at app/jdk.proxy3/jdk.proxy3.$Proxy371.count(Unknown Source)
at app//de.tum.in.www1.artemis.user.UserUtilService.addUsers(UserUtilService.java:300)
at app//de.tum.in.www1.artemis.assessment.ComplaintResponseIntegrationTest.initTestCase(ComplaintResponseIntegrationTest.java:81)
at java.base@21.0.3/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base@21.0.3/java.lang.reflect.Method.invoke(Method.java:580)
at app//org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:728)
at app//org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
at app//org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
at app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptLifecycleMethod(TimeoutExtension.java:128)
at app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptBeforeEachMethod(TimeoutExtension.java:78)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
at app//org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeMethodInExtensionContext(ClassBasedTestDescriptor.java:521)
at app//org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$synthesizeBeforeEachMethodAdapter$23(ClassBasedTestDescriptor.java:506)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeBeforeEachMethods$3(TestMethodTestDescriptor.java:175)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeBeforeMethodsOrCallbacksUntilExceptionOccurs$6(TestMethodTestDescriptor.java:203)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeBeforeMethodsOrCallbacksUntilExceptionOccurs(TestMethodTestDescriptor.java:203)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeBeforeEachMethods(TestMethodTestDescriptor.java:172)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:135)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:69)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService$ExclusiveTask.compute(ForkJoinPoolHierarchicalTestExecutorService.java:202)
at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.executeNonConcurrentTasks(ForkJoinPoolHierarchicalTestExecutorService.java:172)
at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.invokeAll(ForkJoinPoolHierarchicalTestExecutorService.java:152)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService$ExclusiveTask.compute(ForkJoinPoolHierarchicalTestExecutorService.java:202)
at java.base@21.0.3/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
at java.base@21.0.3/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
at java.base@21.0.3/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
at java.base@21.0.3/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
at java.base@21.0.3/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
at java.base@21.0.3/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
Caused by: com.hazelcast.core.HazelcastInstanceNotActiveException: Hazelcast instance is not active!
at app//com.hazelcast.instance.impl.HazelcastInstanceProxy.getOriginal(HazelcastInstanceProxy.java:322)
at app//com.hazelcast.instance.impl.HazelcastInstanceProxy.getCluster(HazelcastInstanceProxy.java:194)
at app//com.hazelcast.hibernate.HazelcastTimestamper.nextTimestamp(HazelcastTimestamper.java:32)
at app//com.hazelcast.hibernate.HazelcastLocalCacheRegionFactory.nextTimestamp(HazelcastLocalCacheRegionFactory.java:91)
at app//org.hibernate.cache.spi.AbstractCacheTransactionSynchronization.<init>(AbstractCacheTransactionSynchronization.java:19)
at app//org.hibernate.cache.spi.StandardCacheTransactionSynchronization.<init>(StandardCacheTransactionSynchronization.java:14)
at app//org.hibernate.cache.spi.AbstractRegionFactory.createTransactionContext(AbstractRegionFactory.java:143)
at app//org.hibernate.internal.AbstractSharedSessionContract.<init>(AbstractSharedSessionContract.java:185)
at app//org.hibernate.internal.SessionImpl.<init>(SessionImpl.java:230)
at app//org.hibernate.internal.SessionFactoryImpl$SessionBuilderImpl.openSession(SessionFactoryImpl.java:1364)
at app//org.hibernate.internal.SessionFactoryImpl$SessionBuilderImpl.openSession(SessionFactoryImpl.java:1230)
at app//org.hibernate.internal.SessionFactoryImpl.buildEntityManager(SessionFactoryImpl.java:757)
at app//org.hibernate.internal.SessionFactoryImpl.createEntityManager(SessionFactoryImpl.java:740)
at app//org.hibernate.internal.SessionFactoryImpl.createEntityManager(SessionFactoryImpl.java:164)
at app//org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.createNativeEntityManager(AbstractEntityManagerFactoryBean.java:584)
at java.base@21.0.3/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base@21.0.3/java.lang.reflect.Method.invoke(Method.java:580)
at app//org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.invokeProxyMethod(AbstractEntityManagerFactoryBean.java:487)
at app//org.springframework.orm.jpa.AbstractEntityManagerFactoryBean$ManagedEntityManagerFactoryInvocationHandler.invoke(AbstractEntityManagerFactoryBean.java:735)
at app/jdk.proxy3/jdk.proxy3.$Proxy363.createNativeEntityManager(Unknown Source)
at app//org.springframework.orm.jpa.JpaTransactionManager.createEntityManagerForTransaction(JpaTransactionManager.java:484)
at app//org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:409)
... 67 more
Check failure on line 300 in src/test/java/de/tum/in/www1/artemis/user/UserUtilService.java
github-actions / MySQL Tests
de.tum.in.www1.artemis.assessment.ExampleSubmissionIntegrationTest ► createAndUpdateExampleModelingSubmissionTutorial(boolean) [1] usedForTutorial=true
Failed test found in:
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ExampleSubmissionIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ExampleSubmissionIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ExampleSubmissionIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ExampleSubmissionIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ExampleSubmissionIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ExampleSubmissionIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ExampleSubmissionIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ExampleSubmissionIntegrationTest.xml
Error:
org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction
Raw output
org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction
at app//org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:466)
at app//org.springframework.transaction.support.AbstractPlatformTransactionManager.startTransaction(AbstractPlatformTransactionManager.java:532)
at app//org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:405)
at app//org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:617)
at app//org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:386)
at app//org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:165)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:223)
at app/jdk.proxy3/jdk.proxy3.$Proxy371.count(Unknown Source)
at app//de.tum.in.www1.artemis.user.UserUtilService.addUsers(UserUtilService.java:300)
at app//de.tum.in.www1.artemis.assessment.ExampleSubmissionIntegrationTest.initTestCase(ExampleSubmissionIntegrationTest.java:108)
at java.base@21.0.3/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base@21.0.3/java.lang.reflect.Method.invoke(Method.java:580)
at app//org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:728)
at app//org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
at app//org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
at app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptLifecycleMethod(TimeoutExtension.java:128)
at app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptBeforeEachMethod(TimeoutExtension.java:78)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
at app//org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeMethodInExtensionContext(ClassBasedTestDescriptor.java:521)
at app//org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$synthesizeBeforeEachMethodAdapter$23(ClassBasedTestDescriptor.java:506)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeBeforeEachMethods$3(TestMethodTestDescriptor.java:175)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeBeforeMethodsOrCallbacksUntilExceptionOccurs$6(TestMethodTestDescriptor.java:203)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeBeforeMethodsOrCallbacksUntilExceptionOccurs(TestMethodTestDescriptor.java:203)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeBeforeEachMethods(TestMethodTestDescriptor.java:172)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:135)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:69)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService$ExclusiveTask.compute(ForkJoinPoolHierarchicalTestExecutorService.java:202)
at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.submit(ForkJoinPoolHierarchicalTestExecutorService.java:135)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask$DefaultDynamicTestExecutor.execute(NodeTestTask.java:226)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask$DefaultDynamicTestExecutor.execute(NodeTestTask.java:204)
at app//org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.execute(TestTemplateTestDescriptor.java:142)
at app//org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.lambda$execute$2(TestTemplateTestDescriptor.java:110)
at java.base@21.0.3/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
at java.base@21.0.3/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base@21.0.3/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
at java.base@21.0.3/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base@21.0.3/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
at java.base@21.0.3/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base@21.0.3/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base@21.0.3/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base@21.0.3/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
at java.base@21.0.3/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base@21.0.3/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:1024)
at java.base@21.0.3/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base@21.0.3/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base@21.0.3/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.base@21.0.3/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.base@21.0.3/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base@21.0.3/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
at java.base@21.0.3/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:276)
at java.base@21.0.3/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base@21.0.3/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base@21.0.3/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base@21.0.3/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1708)
at java.base@21.0.3/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base@21.0.3/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base@21.0.3/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.base@21.0.3/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.base@21.0.3/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base@21.0.3/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
at java.base@21.0.3/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:276)
at java.base@21.0.3/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1708)
at java.base@21.0.3/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base@21.0.3/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base@21.0.3/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.base@21.0.3/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.base@21.0.3/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base@21.0.3/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
at app//org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.execute(TestTemplateTestDescriptor.java:110)
at app//org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.execute(TestTemplateTestDescriptor.java:44)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService$ExclusiveTask.compute(ForkJoinPoolHierarchicalTestExecutorService.java:202)
at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.executeNonConcurrentTasks(ForkJoinPoolHierarchicalTestExecutorService.java:172)
at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.invokeAll(ForkJoinPoolHierarchicalTestExecutorService.java:152)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService$ExclusiveTask.compute(ForkJoinPoolHierarchicalTestExecutorService.java:202)
at java.base@21.0.3/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
at java.base@21.0.3/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
at java.base@21.0.3/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
at java.base@21.0.3/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
at java.base@21.0.3/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
at java.base@21.0.3/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
Caused by: com.hazelcast.core.HazelcastInstanceNotActiveException: Hazelcast instance is not active!
at app//com.hazelcast.instance.impl.HazelcastInstanceProxy.getOriginal(HazelcastInstanceProxy.java:322)
at app//com.hazelcast.instance.impl.HazelcastInstanceProxy.getCluster(HazelcastInstanceProxy.java:194)
at app//com.hazelcast.hibernate.HazelcastTimestamper.nextTimestamp(HazelcastTimestamper.java:32)
at app//com.hazelcast.hibernate.HazelcastLocalCacheRegionFactory.nextTimestamp(HazelcastLocalCacheRegionFactory.java:91)
at app//org.hibernate.cache.spi.AbstractCacheTransactionSynchronization.<init>(AbstractCacheTransactionSynchronization.java:19)
at app//org.hibernate.cache.spi.StandardCacheTransactionSynchronization.<init>(StandardCacheTransactionSynchronization.java:14)
at app//org.hibernate.cache.spi.AbstractRegionFactory.createTransactionContext(AbstractRegionFactory.java:143)
at app//org.hibernate.internal.AbstractSharedSessionContract.<init>(AbstractSharedSessionContract.java:185)
at app//org.hibernate.internal.SessionImpl.<init>(SessionImpl.java:230)
at app//org.hibernate.internal.SessionFactoryImpl$SessionBuilderImpl.openSession(SessionFactoryImpl.java:1364)
at app//org.hibernate.internal.SessionFactoryImpl$SessionBuilderImpl.openSession(SessionFactoryImpl.java:1230)
at app//org.hibernate.internal.SessionFactoryImpl.buildEntityManager(SessionFactoryImpl.java:757)
at app//org.hibernate.internal.SessionFactoryImpl.createEntityManager(SessionFactoryImpl.java:740)
at app//org.hibernate.internal.SessionFactoryImpl.createEntityManager(SessionFactoryImpl.java:164)
at app//org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.createNativeEntityManager(AbstractEntityManagerFactoryBean.java:584)
at java.base@21.0.3/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base@21.0.3/java.lang.reflect.Method.invoke(Method.java:580)
at app//org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.invokeProxyMethod(AbstractEntityManagerFactoryBean.java:487)
at app//org.springframework.orm.jpa.AbstractEntityManagerFactoryBean$ManagedEntityManagerFactoryInvocationHandler.invoke(AbstractEntityManagerFactoryBean.java:735)
at app/jdk.proxy3/jdk.proxy3.$Proxy363.createNativeEntityManager(Unknown Source)
at app//org.springframework.orm.jpa.JpaTransactionManager.createEntityManagerForTransaction(JpaTransactionManager.java:484)
at app//org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:409)
... 119 more
Check failure on line 300 in src/test/java/de/tum/in/www1/artemis/user/UserUtilService.java
github-actions / MySQL Tests
de.tum.in.www1.artemis.assessment.ExampleSubmissionIntegrationTest ► createExampleModelingSubmission_asStudent_forbidden()
Failed test found in:
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ExampleSubmissionIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ExampleSubmissionIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ExampleSubmissionIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ExampleSubmissionIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ExampleSubmissionIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ExampleSubmissionIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ExampleSubmissionIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ExampleSubmissionIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ExampleSubmissionIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ExampleSubmissionIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ExampleSubmissionIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ExampleSubmissionIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ExampleSubmissionIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ExampleSubmissionIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ExampleSubmissionIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ExampleSubmissionIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ExampleSubmissionIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ExampleSubmissionIntegrationTest.xml
Error:
org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction
Raw output
org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction
at app//org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:466)
at app//org.springframework.transaction.support.AbstractPlatformTransactionManager.startTransaction(AbstractPlatformTransactionManager.java:532)
at app//org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:405)
at app//org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:617)
at app//org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:386)
at app//org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:165)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:223)
at app/jdk.proxy3/jdk.proxy3.$Proxy371.count(Unknown Source)
at app//de.tum.in.www1.artemis.user.UserUtilService.addUsers(UserUtilService.java:300)
at app//de.tum.in.www1.artemis.assessment.ExampleSubmissionIntegrationTest.initTestCase(ExampleSubmissionIntegrationTest.java:108)
at java.base@21.0.3/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base@21.0.3/java.lang.reflect.Method.invoke(Method.java:580)
at app//org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:728)
at app//org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
at app//org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
at app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptLifecycleMethod(TimeoutExtension.java:128)
at app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptBeforeEachMethod(TimeoutExtension.java:78)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
at app//org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeMethodInExtensionContext(ClassBasedTestDescriptor.java:521)
at app//org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$synthesizeBeforeEachMethodAdapter$23(ClassBasedTestDescriptor.java:506)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeBeforeEachMethods$3(TestMethodTestDescriptor.java:175)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeBeforeMethodsOrCallbacksUntilExceptionOccurs$6(TestMethodTestDescriptor.java:203)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeBeforeMethodsOrCallbacksUntilExceptionOccurs(TestMethodTestDescriptor.java:203)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeBeforeEachMethods(TestMethodTestDescriptor.java:172)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:135)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:69)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService$ExclusiveTask.compute(ForkJoinPoolHierarchicalTestExecutorService.java:202)
at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.executeNonConcurrentTasks(ForkJoinPoolHierarchicalTestExecutorService.java:172)
at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.invokeAll(ForkJoinPoolHierarchicalTestExecutorService.java:152)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService$ExclusiveTask.compute(ForkJoinPoolHierarchicalTestExecutorService.java:202)
at java.base@21.0.3/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
at java.base@21.0.3/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
at java.base@21.0.3/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
at java.base@21.0.3/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
at java.base@21.0.3/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
at java.base@21.0.3/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
Caused by: com.hazelcast.core.HazelcastInstanceNotActiveException: Hazelcast instance is not active!
at app//com.hazelcast.instance.impl.HazelcastInstanceProxy.getOriginal(HazelcastInstanceProxy.java:322)
at app//com.hazelcast.instance.impl.HazelcastInstanceProxy.getCluster(HazelcastInstanceProxy.java:194)
at app//com.hazelcast.hibernate.HazelcastTimestamper.nextTimestamp(HazelcastTimestamper.java:32)
at app//com.hazelcast.hibernate.HazelcastLocalCacheRegionFactory.nextTimestamp(HazelcastLocalCacheRegionFactory.java:91)
at app//org.hibernate.cache.spi.AbstractCacheTransactionSynchronization.<init>(AbstractCacheTransactionSynchronization.java:19)
at app//org.hibernate.cache.spi.StandardCacheTransactionSynchronization.<init>(StandardCacheTransactionSynchronization.java:14)
at app//org.hibernate.cache.spi.AbstractRegionFactory.createTransactionContext(AbstractRegionFactory.java:143)
at app//org.hibernate.internal.AbstractSharedSessionContract.<init>(AbstractSharedSessionContract.java:185)
at app//org.hibernate.internal.SessionImpl.<init>(SessionImpl.java:230)
at app//org.hibernate.internal.SessionFactoryImpl$SessionBuilderImpl.openSession(SessionFactoryImpl.java:1364)
at app//org.hibernate.internal.SessionFactoryImpl$SessionBuilderImpl.openSession(SessionFactoryImpl.java:1230)
at app//org.hibernate.internal.SessionFactoryImpl.buildEntityManager(SessionFactoryImpl.java:757)
at app//org.hibernate.internal.SessionFactoryImpl.createEntityManager(SessionFactoryImpl.java:740)
at app//org.hibernate.internal.SessionFactoryImpl.createEntityManager(SessionFactoryImpl.java:164)
at app//org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.createNativeEntityManager(AbstractEntityManagerFactoryBean.java:584)
at java.base@21.0.3/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base@21.0.3/java.lang.reflect.Method.invoke(Method.java:580)
at app//org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.invokeProxyMethod(AbstractEntityManagerFactoryBean.java:487)
at app//org.springframework.orm.jpa.AbstractEntityManagerFactoryBean$ManagedEntityManagerFactoryInvocationHandler.invoke(AbstractEntityManagerFactoryBean.java:735)
at app/jdk.proxy3/jdk.proxy3.$Proxy363.createNativeEntityManager(Unknown Source)
at app//org.springframework.orm.jpa.JpaTransactionManager.createEntityManagerForTransaction(JpaTransactionManager.java:484)
at app//org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:409)
... 67 more
Check failure on line 300 in src/test/java/de/tum/in/www1/artemis/user/UserUtilService.java
github-actions / MySQL Tests
de.tum.in.www1.artemis.assessment.ExerciseScoresChartIntegrationTest ► getCourseExerciseScores_asStudent_shouldReturnCorrectIndividualAverageAndMaxScores()
Failed test found in:
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ExerciseScoresChartIntegrationTest.xml
Error:
org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction
Raw output
org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction
at app//org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:466)
at app//org.springframework.transaction.support.AbstractPlatformTransactionManager.startTransaction(AbstractPlatformTransactionManager.java:532)
at app//org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:405)
at app//org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:617)
at app//org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:386)
at app//org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:165)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:223)
at app/jdk.proxy3/jdk.proxy3.$Proxy371.count(Unknown Source)
at app//de.tum.in.www1.artemis.user.UserUtilService.addUsers(UserUtilService.java:300)
at app//de.tum.in.www1.artemis.assessment.ExerciseScoresChartIntegrationTest.setupTestScenario(ExerciseScoresChartIntegrationTest.java:81)
at java.base@21.0.3/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base@21.0.3/java.lang.reflect.Method.invoke(Method.java:580)
at app//org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:728)
at app//org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
at app//org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
at app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptLifecycleMethod(TimeoutExtension.java:128)
at app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptBeforeEachMethod(TimeoutExtension.java:78)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
at app//org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeMethodInExtensionContext(ClassBasedTestDescriptor.java:521)
at app//org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$synthesizeBeforeEachMethodAdapter$23(ClassBasedTestDescriptor.java:506)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeBeforeEachMethods$3(TestMethodTestDescriptor.java:175)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeBeforeMethodsOrCallbacksUntilExceptionOccurs$6(TestMethodTestDescriptor.java:203)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeBeforeMethodsOrCallbacksUntilExceptionOccurs(TestMethodTestDescriptor.java:203)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeBeforeEachMethods(TestMethodTestDescriptor.java:172)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:135)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:69)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService$ExclusiveTask.compute(ForkJoinPoolHierarchicalTestExecutorService.java:202)
at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.invokeAll(ForkJoinPoolHierarchicalTestExecutorService.java:146)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService$ExclusiveTask.compute(ForkJoinPoolHierarchicalTestExecutorService.java:202)
at java.base@21.0.3/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
at java.base@21.0.3/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
at java.base@21.0.3/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
at java.base@21.0.3/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
at java.base@21.0.3/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
at java.base@21.0.3/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
Caused by: com.hazelcast.core.HazelcastInstanceNotActiveException: Hazelcast instance is not active!
at app//com.hazelcast.instance.impl.HazelcastInstanceProxy.getOriginal(HazelcastInstanceProxy.java:322)
at app//com.hazelcast.instance.impl.HazelcastInstanceProxy.getCluster(HazelcastInstanceProxy.java:194)
at app//com.hazelcast.hibernate.HazelcastTimestamper.nextTimestamp(HazelcastTimestamper.java:32)
at app//com.hazelcast.hibernate.HazelcastLocalCacheRegionFactory.nextTimestamp(HazelcastLocalCacheRegionFactory.java:91)
at app//org.hibernate.cache.spi.AbstractCacheTransactionSynchronization.<init>(AbstractCacheTransactionSynchronization.java:19)
at app//org.hibernate.cache.spi.StandardCacheTransactionSynchronization.<init>(StandardCacheTransactionSynchronization.java:14)
at app//org.hibernate.cache.spi.AbstractRegionFactory.createTransactionContext(AbstractRegionFactory.java:143)
at app//org.hibernate.internal.AbstractSharedSessionContract.<init>(AbstractSharedSessionContract.java:185)
at app//org.hibernate.internal.SessionImpl.<init>(SessionImpl.java:230)
at app//org.hibernate.internal.SessionFactoryImpl$SessionBuilderImpl.openSession(SessionFactoryImpl.java:1364)
at app//org.hibernate.internal.SessionFactoryImpl$SessionBuilderImpl.openSession(SessionFactoryImpl.java:1230)
at app//org.hibernate.internal.SessionFactoryImpl.buildEntityManager(SessionFactoryImpl.java:757)
at app//org.hibernate.internal.SessionFactoryImpl.createEntityManager(SessionFactoryImpl.java:740)
at app//org.hibernate.internal.SessionFactoryImpl.createEntityManager(SessionFactoryImpl.java:164)
at app//org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.createNativeEntityManager(AbstractEntityManagerFactoryBean.java:584)
at java.base@21.0.3/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base@21.0.3/java.lang.reflect.Method.invoke(Method.java:580)
at app//org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.invokeProxyMethod(AbstractEntityManagerFactoryBean.java:487)
at app//org.springframework.orm.jpa.AbstractEntityManagerFactoryBean$ManagedEntityManagerFactoryInvocationHandler.invoke(AbstractEntityManagerFactoryBean.java:735)
at app/jdk.proxy3/jdk.proxy3.$Proxy363.createNativeEntityManager(Unknown Source)
at app//org.springframework.orm.jpa.JpaTransactionManager.createEntityManagerForTransaction(JpaTransactionManager.java:484)
at app//org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:409)
... 66 more
Check failure on line 300 in src/test/java/de/tum/in/www1/artemis/user/UserUtilService.java
github-actions / MySQL Tests
de.tum.in.www1.artemis.assessment.GradeStepIntegrationTest ► testGetGradeStepByPercentageForExamForbidden()
Failed test found in:
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradeStepIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradeStepIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradeStepIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradeStepIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradeStepIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradeStepIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradeStepIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradeStepIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradeStepIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradeStepIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradeStepIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradeStepIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradeStepIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradeStepIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradeStepIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradeStepIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradeStepIntegrationTest.xml
Error:
org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction
Raw output
org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction
at app//org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:466)
at app//org.springframework.transaction.support.AbstractPlatformTransactionManager.startTransaction(AbstractPlatformTransactionManager.java:532)
at app//org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:405)
at app//org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:617)
at app//org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:386)
at app//org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:165)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:223)
at app/jdk.proxy3/jdk.proxy3.$Proxy371.count(Unknown Source)
at app//de.tum.in.www1.artemis.user.UserUtilService.addUsers(UserUtilService.java:300)
at app//de.tum.in.www1.artemis.assessment.GradeStepIntegrationTest.init(GradeStepIntegrationTest.java:83)
at java.base@21.0.3/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base@21.0.3/java.lang.reflect.Method.invoke(Method.java:580)
at app//org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:728)
at app//org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
at app//org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
at app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptLifecycleMethod(TimeoutExtension.java:128)
at app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptBeforeEachMethod(TimeoutExtension.java:78)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
at app//org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeMethodInExtensionContext(ClassBasedTestDescriptor.java:521)
at app//org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$synthesizeBeforeEachMethodAdapter$23(ClassBasedTestDescriptor.java:506)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeBeforeEachMethods$3(TestMethodTestDescriptor.java:175)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeBeforeMethodsOrCallbacksUntilExceptionOccurs$6(TestMethodTestDescriptor.java:203)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeBeforeMethodsOrCallbacksUntilExceptionOccurs(TestMethodTestDescriptor.java:203)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeBeforeEachMethods(TestMethodTestDescriptor.java:172)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:135)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:69)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService$ExclusiveTask.compute(ForkJoinPoolHierarchicalTestExecutorService.java:202)
at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.executeNonConcurrentTasks(ForkJoinPoolHierarchicalTestExecutorService.java:172)
at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.invokeAll(ForkJoinPoolHierarchicalTestExecutorService.java:152)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService$ExclusiveTask.compute(ForkJoinPoolHierarchicalTestExecutorService.java:202)
at java.base@21.0.3/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
at java.base@21.0.3/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
at java.base@21.0.3/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
at java.base@21.0.3/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
at java.base@21.0.3/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
at java.base@21.0.3/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
Caused by: com.hazelcast.core.HazelcastInstanceNotActiveException: Hazelcast instance is not active!
at app//com.hazelcast.instance.impl.HazelcastInstanceProxy.getOriginal(HazelcastInstanceProxy.java:322)
at app//com.hazelcast.instance.impl.HazelcastInstanceProxy.getCluster(HazelcastInstanceProxy.java:194)
at app//com.hazelcast.hibernate.HazelcastTimestamper.nextTimestamp(HazelcastTimestamper.java:32)
at app//com.hazelcast.hibernate.HazelcastLocalCacheRegionFactory.nextTimestamp(HazelcastLocalCacheRegionFactory.java:91)
at app//org.hibernate.cache.spi.AbstractCacheTransactionSynchronization.<init>(AbstractCacheTransactionSynchronization.java:19)
at app//org.hibernate.cache.spi.StandardCacheTransactionSynchronization.<init>(StandardCacheTransactionSynchronization.java:14)
at app//org.hibernate.cache.spi.AbstractRegionFactory.createTransactionContext(AbstractRegionFactory.java:143)
at app//org.hibernate.internal.AbstractSharedSessionContract.<init>(AbstractSharedSessionContract.java:185)
at app//org.hibernate.internal.SessionImpl.<init>(SessionImpl.java:230)
at app//org.hibernate.internal.SessionFactoryImpl$SessionBuilderImpl.openSession(SessionFactoryImpl.java:1364)
at app//org.hibernate.internal.SessionFactoryImpl$SessionBuilderImpl.openSession(SessionFactoryImpl.java:1230)
at app//org.hibernate.internal.SessionFactoryImpl.buildEntityManager(SessionFactoryImpl.java:757)
at app//org.hibernate.internal.SessionFactoryImpl.createEntityManager(SessionFactoryImpl.java:740)
at app//org.hibernate.internal.SessionFactoryImpl.createEntityManager(SessionFactoryImpl.java:164)
at app//org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.createNativeEntityManager(AbstractEntityManagerFactoryBean.java:584)
at java.base@21.0.3/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base@21.0.3/java.lang.reflect.Method.invoke(Method.java:580)
at app//org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.invokeProxyMethod(AbstractEntityManagerFactoryBean.java:487)
at app//org.springframework.orm.jpa.AbstractEntityManagerFactoryBean$ManagedEntityManagerFactoryInvocationHandler.invoke(AbstractEntityManagerFactoryBean.java:735)
at app/jdk.proxy3/jdk.proxy3.$Proxy363.createNativeEntityManager(Unknown Source)
at app//org.springframework.orm.jpa.JpaTransactionManager.createEntityManagerForTransaction(JpaTransactionManager.java:484)
at app//org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:409)
... 67 more
Check failure on line 300 in src/test/java/de/tum/in/www1/artemis/user/UserUtilService.java
github-actions / MySQL Tests
de.tum.in.www1.artemis.assessment.GradingScaleIntegrationTest ► testGetGradingScaleForExam()
Failed test found in:
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradingScaleIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradingScaleIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradingScaleIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradingScaleIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradingScaleIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradingScaleIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradingScaleIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradingScaleIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradingScaleIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradingScaleIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradingScaleIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradingScaleIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradingScaleIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradingScaleIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradingScaleIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradingScaleIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradingScaleIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradingScaleIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradingScaleIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradingScaleIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradingScaleIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradingScaleIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradingScaleIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradingScaleIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradingScaleIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradingScaleIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradingScaleIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradingScaleIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradingScaleIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.GradingScaleIntegrationTest.xml
Error:
org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction
Raw output
org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction
at app//org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:466)
at app//org.springframework.transaction.support.AbstractPlatformTransactionManager.startTransaction(AbstractPlatformTransactionManager.java:532)
at app//org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:405)
at app//org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:617)
at app//org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:386)
at app//org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:165)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:223)
at app/jdk.proxy3/jdk.proxy3.$Proxy371.count(Unknown Source)
at app//de.tum.in.www1.artemis.user.UserUtilService.addUsers(UserUtilService.java:300)
at app//de.tum.in.www1.artemis.assessment.GradingScaleIntegrationTest.init(GradingScaleIntegrationTest.java:77)
at java.base@21.0.3/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base@21.0.3/java.lang.reflect.Method.invoke(Method.java:580)
at app//org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:728)
at app//org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
at app//org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
at app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptLifecycleMethod(TimeoutExtension.java:128)
at app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptBeforeEachMethod(TimeoutExtension.java:78)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
at app//org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeMethodInExtensionContext(ClassBasedTestDescriptor.java:521)
at app//org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$synthesizeBeforeEachMethodAdapter$23(ClassBasedTestDescriptor.java:506)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeBeforeEachMethods$3(TestMethodTestDescriptor.java:175)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeBeforeMethodsOrCallbacksUntilExceptionOccurs$6(TestMethodTestDescriptor.java:203)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeBeforeMethodsOrCallbacksUntilExceptionOccurs(TestMethodTestDescriptor.java:203)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeBeforeEachMethods(TestMethodTestDescriptor.java:172)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:135)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:69)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService$ExclusiveTask.compute(ForkJoinPoolHierarchicalTestExecutorService.java:202)
at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.executeNonConcurrentTasks(ForkJoinPoolHierarchicalTestExecutorService.java:172)
at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.invokeAll(ForkJoinPoolHierarchicalTestExecutorService.java:152)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService$ExclusiveTask.compute(ForkJoinPoolHierarchicalTestExecutorService.java:202)
at java.base@21.0.3/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
at java.base@21.0.3/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
at java.base@21.0.3/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
at java.base@21.0.3/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
at java.base@21.0.3/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
at java.base@21.0.3/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
Caused by: com.hazelcast.core.HazelcastInstanceNotActiveException: Hazelcast instance is not active!
at app//com.hazelcast.instance.impl.HazelcastInstanceProxy.getOriginal(HazelcastInstanceProxy.java:322)
at app//com.hazelcast.instance.impl.HazelcastInstanceProxy.getCluster(HazelcastInstanceProxy.java:194)
at app//com.hazelcast.hibernate.HazelcastTimestamper.nextTimestamp(HazelcastTimestamper.java:32)
at app//com.hazelcast.hibernate.HazelcastLocalCacheRegionFactory.nextTimestamp(HazelcastLocalCacheRegionFactory.java:91)
at app//org.hibernate.cache.spi.AbstractCacheTransactionSynchronization.<init>(AbstractCacheTransactionSynchronization.java:19)
at app//org.hibernate.cache.spi.StandardCacheTransactionSynchronization.<init>(StandardCacheTransactionSynchronization.java:14)
at app//org.hibernate.cache.spi.AbstractRegionFactory.createTransactionContext(AbstractRegionFactory.java:143)
at app//org.hibernate.internal.AbstractSharedSessionContract.<init>(AbstractSharedSessionContract.java:185)
at app//org.hibernate.internal.SessionImpl.<init>(SessionImpl.java:230)
at app//org.hibernate.internal.SessionFactoryImpl$SessionBuilderImpl.openSession(SessionFactoryImpl.java:1364)
at app//org.hibernate.internal.SessionFactoryImpl$SessionBuilderImpl.openSession(SessionFactoryImpl.java:1230)
at app//org.hibernate.internal.SessionFactoryImpl.buildEntityManager(SessionFactoryImpl.java:757)
at app//org.hibernate.internal.SessionFactoryImpl.createEntityManager(SessionFactoryImpl.java:740)
at app//org.hibernate.internal.SessionFactoryImpl.createEntityManager(SessionFactoryImpl.java:164)
at app//org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.createNativeEntityManager(AbstractEntityManagerFactoryBean.java:584)
at java.base@21.0.3/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base@21.0.3/java.lang.reflect.Method.invoke(Method.java:580)
at app//org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.invokeProxyMethod(AbstractEntityManagerFactoryBean.java:487)
at app//org.springframework.orm.jpa.AbstractEntityManagerFactoryBean$ManagedEntityManagerFactoryInvocationHandler.invoke(AbstractEntityManagerFactoryBean.java:735)
at app/jdk.proxy3/jdk.proxy3.$Proxy363.createNativeEntityManager(Unknown Source)
at app//org.springframework.orm.jpa.JpaTransactionManager.createEntityManagerForTransaction(JpaTransactionManager.java:484)
at app//org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:409)
... 67 more
github-actions / MySQL Tests
de.tum.in.www1.artemis.assessment.ParticipantScoreIntegrationTest ► initializationError
Failed test found in:
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.ParticipantScoreIntegrationTest.xml
Error:
java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@3651e81 testClass = de.tum.in.www1.artemis.assessment.ParticipantScoreIntegrationTest, locations = [], classes = [de.tum.in.www1.artemis.ArtemisApp, de.tum.in.www1.artemis.localvcci.TestBuildAgentConfiguration], contextInitializerClasses = [], activeProfiles = ["test", "artemis", "core", "localci", "localvc", "scheduling", "ldap-only", "lti", "aeolus", "iris", "buildagent"], propertySourceDescriptors = [PropertySourceDescriptor[locations=[], ignoreResourceNotFound=false, name=null, propertySourceFactory=null, encoding=null]], propertySourceProperties = ["server.port=49152", "artemis.version-control.url=http://localhost:49152", "artemis.user-management.use-external=false", "artemis.version-control.local-vcs-repo-path=${java.io.tmpdir}", "artemis.build-logs-path=${java.io.tmpdir}/build-logs", "artemis.continuous-integration.specify-concurrent-builds=true", "artemis.continuous-integration.concurrent-build-size=1", "artemis.continuous-integration.asynchronous=false", "artemis.continuous-integration.build.images.java.default=dummy-docker-image", "artemis.continuous-integration.image-cleanup.enabled=true", "artemis.continuous-integration.image-cleanup.disk-space-threshold-mb=1000000000", "spring.liquibase.enabled=true", "artemis.iris.health-ttl=500", "org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@4b3fa0b3, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@2200459c, [ImportsContextCustomizer@86586ab key = [org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebDriverAutoConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.client.servlet.OAuth2ClientAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.SecurityFilterAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.resource.servlet.OAuth2ResourceServerAutoConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcSecurityConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebClientAutoConfiguration, org.springframework.boot.test.autoconfigure.web.reactive.WebTestClientAutoConfiguration]], org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@696312b6, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@2f625599, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@ccfb639c, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@5acaa531, io.zonky.test.db.EmbeddedDatabaseContextCustomizerFactory$EmbeddedDatabaseContextCustomizer@5839b340, org.springframework.boot.test.context.SpringBootTestAnnotation@6960fbfc], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
Raw output
java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@3651e81 testClass = de.tum.in.www1.artemis.assessment.ParticipantScoreIntegrationTest, locations = [], classes = [de.tum.in.www1.artemis.ArtemisApp, de.tum.in.www1.artemis.localvcci.TestBuildAgentConfiguration], contextInitializerClasses = [], activeProfiles = ["test", "artemis", "core", "localci", "localvc", "scheduling", "ldap-only", "lti", "aeolus", "iris", "buildagent"], propertySourceDescriptors = [PropertySourceDescriptor[locations=[], ignoreResourceNotFound=false, name=null, propertySourceFactory=null, encoding=null]], propertySourceProperties = ["server.port=49152", "artemis.version-control.url=http://localhost:49152", "artemis.user-management.use-external=false", "artemis.version-control.local-vcs-repo-path=${java.io.tmpdir}", "artemis.build-logs-path=${java.io.tmpdir}/build-logs", "artemis.continuous-integration.specify-concurrent-builds=true", "artemis.continuous-integration.concurrent-build-size=1", "artemis.continuous-integration.asynchronous=false", "artemis.continuous-integration.build.images.java.default=dummy-docker-image", "artemis.continuous-integration.image-cleanup.enabled=true", "artemis.continuous-integration.image-cleanup.disk-space-threshold-mb=1000000000", "spring.liquibase.enabled=true", "artemis.iris.health-ttl=500", "org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@4b3fa0b3, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@2200459c, [ImportsContextCustomizer@86586ab key = [org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebDriverAutoConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.client.servlet.OAuth2ClientAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.SecurityFilterAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.resource.servlet.OAuth2ResourceServerAutoConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcSecurityConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebClientAutoConfiguration, org.springframework.boot.test.autoconfigure.web.reactive.WebTestClientAutoConfiguration]], org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@696312b6, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@2f625599, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@ccfb639c, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@5acaa531, io.zonky.test.db.EmbeddedDatabaseContextCustomizerFactory$EmbeddedDatabaseContextCustomizer@5839b340, org.springframework.boot.test.context.SpringBootTestAnnotation@6960fbfc], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:145)
at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:130)
at io.zonky.test.db.EmbeddedDatabaseTestExecutionListener.forEachDatabase(EmbeddedDatabaseTestExecutionListener.java:90)
at io.zonky.test.db.EmbeddedDatabaseTestExecutionListener.resetDatabases(EmbeddedDatabaseTestExecutionListener.java:58)
at io.zonky.test.db.EmbeddedDatabaseTestExecutionListener.beforeTestClass(EmbeddedDatabaseTestExecutionListener.java:34)
at org.springframework.test.context.TestContextManager.beforeTestClass(TestContextManager.java:220)
at org.springframework.test.context.junit.jupiter.SpringExtension.beforeAll(SpringExtension.java:133)
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeBeforeAllCallbacks$12(ClassBasedTestDescriptor.java:396)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeBeforeAllCallbacks(ClassBasedTestDescriptor.java:396)
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.before(ClassBasedTestDescriptor.java:212)
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.before(ClassBasedTestDescriptor.java:85)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:148)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService$ExclusiveTask.compute(ForkJoinPoolHierarchicalTestExecutorService.java:202)
at java.base/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
Suppressed: java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@3651e81 testClass = de.tum.in.www1.artemis.assessment.ParticipantScoreIntegrationTest, locations = [], classes = [de.tum.in.www1.artemis.ArtemisApp, de.tum.in.www1.artemis.localvcci.TestBuildAgentConfiguration], contextInitializerClasses = [], activeProfiles = ["test", "artemis", "core", "localci", "localvc", "scheduling", "ldap-only", "lti", "aeolus", "iris", "buildagent"], propertySourceDescriptors = [PropertySourceDescriptor[locations=[], ignoreResourceNotFound=false, name=null, propertySourceFactory=null, encoding=null]], propertySourceProperties = ["server.port=49152", "artemis.version-control.url=http://localhost:49152", "artemis.user-management.use-external=false", "artemis.version-control.local-vcs-repo-path=${java.io.tmpdir}", "artemis.build-logs-path=${java.io.tmpdir}/build-logs", "artemis.continuous-integration.specify-concurrent-builds=true", "artemis.continuous-integration.concurrent-build-size=1", "artemis.continuous-integration.asynchronous=false", "artemis.continuous-integration.build.images.java.default=dummy-docker-image", "artemis.continuous-integration.image-cleanup.enabled=true", "artemis.continuous-integration.image-cleanup.disk-space-threshold-mb=1000000000", "spring.liquibase.enabled=true", "artemis.iris.health-ttl=500", "org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@4b3fa0b3, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@2200459c, [ImportsContextCustomizer@86586ab key = [org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebDriverAutoConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.client.servlet.OAuth2ClientAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.SecurityFilterAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.resource.servlet.OAuth2ResourceServerAutoConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcSecurityConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebClientAutoConfiguration, org.springframework.boot.test.autoconfigure.web.reactive.WebTestClientAutoConfiguration]], org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@696312b6, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@2f625599, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@ccfb639c, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@5acaa531, io.zonky.test.db.EmbeddedDatabaseContextCustomizerFactory$EmbeddedDatabaseContextCustomizer@5839b340, org.springframework.boot.test.context.SpringBootTestAnnotation@6960fbfc], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:145)
at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:130)
at io.zonky.test.db.EmbeddedDatabaseTestExecutionListener.forEachDatabase(EmbeddedDatabaseTestExecutionListener.java:90)
at io.zonky.test.db.EmbeddedDatabaseTestExecutionListener.resetDatabases(EmbeddedDatabaseTestExecutionListener.java:58)
at io.zonky.test.db.EmbeddedDatabaseTestExecutionListener.afterTestClass(EmbeddedDatabaseTestExecutionListener.java:54)
at org.springframework.test.context.TestContextManager.afterTestClass(TestContextManager.java:538)
at org.springframework.test.context.junit.jupiter.SpringExtension.afterAll(SpringExtension.java:144)
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeAfterAllCallbacks$18(ClassBasedTestDescriptor.java:462)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeAfterAllCallbacks$19(ClassBasedTestDescriptor.java:462)
at org.junit.platform.commons.util.CollectionUtils.forEachInReverseOrder(CollectionUtils.java:221)
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeAfterAllCallbacks(ClassBasedTestDescriptor.java:461)
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.after(ClassBasedTestDescriptor.java:236)
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.after(ClassBasedTestDescriptor.java:85)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:161)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:161)
... 12 more
Check failure on line 300 in src/test/java/de/tum/in/www1/artemis/user/UserUtilService.java
github-actions / MySQL Tests
de.tum.in.www1.artemis.assessment.RatingResourceIntegrationTest ► testCreateRating_asUser()
Failed test found in:
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.RatingResourceIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.RatingResourceIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.RatingResourceIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.RatingResourceIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.RatingResourceIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.RatingResourceIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.RatingResourceIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.RatingResourceIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.RatingResourceIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.RatingResourceIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.RatingResourceIntegrationTest.xml
build/test-results/test/TEST-de.tum.in.www1.artemis.assessment.RatingResourceIntegrationTest.xml
Error:
org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction
Raw output
org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction
at app//org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:466)
at app//org.springframework.transaction.support.AbstractPlatformTransactionManager.startTransaction(AbstractPlatformTransactionManager.java:532)
at app//org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:405)
at app//org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:617)
at app//org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:386)
at app//org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:165)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:223)
at app/jdk.proxy3/jdk.proxy3.$Proxy371.count(Unknown Source)
at app//de.tum.in.www1.artemis.user.UserUtilService.addUsers(UserUtilService.java:300)
at app//de.tum.in.www1.artemis.assessment.RatingResourceIntegrationTest.initTestCase(RatingResourceIntegrationTest.java:57)
at java.base@21.0.3/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base@21.0.3/java.lang.reflect.Method.invoke(Method.java:580)
at app//org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:728)
at app//org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
at app//org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
at app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptLifecycleMethod(TimeoutExtension.java:128)
at app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptBeforeEachMethod(TimeoutExtension.java:78)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
at app//org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeMethodInExtensionContext(ClassBasedTestDescriptor.java:521)
at app//org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$synthesizeBeforeEachMethodAdapter$23(ClassBasedTestDescriptor.java:506)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeBeforeEachMethods$3(TestMethodTestDescriptor.java:175)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeBeforeMethodsOrCallbacksUntilExceptionOccurs$6(TestMethodTestDescriptor.java:203)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeBeforeMethodsOrCallbacksUntilExceptionOccurs(TestMethodTestDescriptor.java:203)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeBeforeEachMethods(TestMethodTestDescriptor.java:172)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:135)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:69)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService$ExclusiveTask.compute(ForkJoinPoolHierarchicalTestExecutorService.java:202)
at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.executeNonConcurrentTasks(ForkJoinPoolHierarchicalTestExecutorService.java:172)
at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.invokeAll(ForkJoinPoolHierarchicalTestExecutorService.java:152)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService$ExclusiveTask.compute(ForkJoinPoolHierarchicalTestExecutorService.java:202)
at java.base@21.0.3/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
at java.base@21.0.3/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
at java.base@21.0.3/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
at java.base@21.0.3/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
at java.base@21.0.3/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
at java.base@21.0.3/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
Caused by: com.hazelcast.core.HazelcastInstanceNotActiveException: Hazelcast instance is not active!
at app//com.hazelcast.instance.impl.HazelcastInstanceProxy.getOriginal(HazelcastInstanceProxy.java:322)
at app//com.hazelcast.instance.impl.HazelcastInstanceProxy.getCluster(HazelcastInstanceProxy.java:194)
at app//com.hazelcast.hibernate.HazelcastTimestamper.nextTimestamp(HazelcastTimestamper.java:32)
at app//com.hazelcast.hibernate.HazelcastLocalCacheRegionFactory.nextTimestamp(HazelcastLocalCacheRegionFactory.java:91)
at app//org.hibernate.cache.spi.AbstractCacheTransactionSynchronization.<init>(AbstractCacheTransactionSynchronization.java:19)
at app//org.hibernate.cache.spi.StandardCacheTransactionSynchronization.<init>(StandardCacheTransactionSynchronization.java:14)
at app//org.hibernate.cache.spi.AbstractRegionFactory.createTransactionContext(AbstractRegionFactory.java:143)
at app//org.hibernate.internal.AbstractSharedSessionContract.<init>(AbstractSharedSessionContract.java:185)
at app//org.hibernate.internal.SessionImpl.<init>(SessionImpl.java:230)
at app//org.hibernate.internal.SessionFactoryImpl$SessionBuilderImpl.openSession(SessionFactoryImpl.java:1364)
at app//org.hibernate.internal.SessionFactoryImpl$SessionBuilderImpl.openSession(SessionFactoryImpl.java:1230)
at app//org.hibernate.internal.SessionFactoryImpl.buildEntityManager(SessionFactoryImpl.java:757)
at app//org.hibernate.internal.SessionFactoryImpl.createEntityManager(SessionFactoryImpl.java:740)
at app//org.hibernate.internal.SessionFactoryImpl.createEntityManager(SessionFactoryImpl.java:164)
at app//org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.createNativeEntityManager(AbstractEntityManagerFactoryBean.java:584)
at java.base@21.0.3/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base@21.0.3/java.lang.reflect.Method.invoke(Method.java:580)
at app//org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.invokeProxyMethod(AbstractEntityManagerFactoryBean.java:487)
at app//org.springframework.orm.jpa.AbstractEntityManagerFactoryBean$ManagedEntityManagerFactoryInvocationHandler.invoke(AbstractEntityManagerFactoryBean.java:735)
at app/jdk.proxy3/jdk.proxy3.$Proxy363.createNativeEntityManager(Unknown Source)
at app//org.springframework.orm.jpa.JpaTransactionManager.createEntityManagerForTransaction(JpaTransactionManager.java:484)
at app//org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:409)
... 67 more