Artemis Export: Fails with "server error" if not Authorized?
2021-10-08 10:42:36.926 INFO 572 --- [nio-8081-exec-7] w.a.s.p.ProgrammingExerciseExportService : Request to export instructor repository of type exercise of programming exercise ProgrammingExercise{id=433, templateRepositoryUrl='https://git.codeability-austria.uibk.ac.at/ARTEMISTUTORIALTUTORIAL/artemistutorialtutorial-exercise.git', solutionRepositoryUrl='https://git.codeability-austria.uibk.ac.at/ARTEMISTUTORIALTUTORIAL/artemistutorialtutorial-solution.git', templateBuildPlanId='ARTEMISTUTORIALTUTORIAL-BASE', solutionBuildPlanId='ARTEMISTUTORIALTUTORIAL-SOLUTION', publishBuildPlanUrl='false', allowOnlineEditor='true', programmingLanguage='JAVA', packageName='tutorial.codeability', testCasesChanged='false'} with title 'tutorial'
2021-10-08 10:42:37.023 INFO 572 --- [nio-8081-exec-7] w.a.s.p.ProgrammingExerciseExportService : Failed to export instructor repository exercise for programming exercise 'tutorial' (id: 433): org.eclipse.jgit.api.errors.TransportException: https://git.codeability-austria.uibk.ac.at/ARTEMISTUTORIALTUTORIAL/artemistutorialtutorial-exercise.git: connection failed
2021-10-08 10:42:37.026 ERROR 572 --- [nio-8081-exec-7] o.z.problem.spring.common.AdviceTraits : Internal Server Error
java.lang.NullPointerException: Cannot invoke "java.util.List.add(Object)" because "exportErrors" is null
at de.tum.in.www1.artemis.service.programming.ProgrammingExerciseExportService.exportRepository(ProgrammingExerciseExportService.java:363)
at de.tum.in.www1.artemis.service.programming.ProgrammingExerciseExportService.exportInstructorRepositoryForExercise(ProgrammingExerciseExportService.java:301)