Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Communication: Add shortcut to private messages on usernames #10007

Merged

Merge branch 'develop' into feature/communication/add-shortcut-to-pri…

c48ef44
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Communication: Add shortcut to private messages on usernames #10007

Merge branch 'develop' into feature/communication/add-shortcut-to-pri…
c48ef44
Select commit
Loading
Failed to load commit list.
GitHub Actions / Junit Results failed Dec 20, 2024 in 0s

Junit Results

Junit Results ran 8559 in 1338.0319999999997 seconds 0 Errored, 1 Failed, 1 Skipped

Annotations

Check failure on line 0 in test

See this annotation in the file changed.

@github-actions github-actions / Junit Results

test#L0

Junit Results ran 8559 in 1338.0319999999997 seconds 0 Errored, 1 Failed, 1 Skipped

Check failure on line 417 in /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/icl/LocalVCLocalCIIntegrationTest.java

See this annotation in the file changed.

@github-actions github-actions / Junit Results

testPush_studentAssignmentRepository_tooManySubmissions()

Junit test testPush_studentAssignmentRepository_tooManySubmissions() failed org.thymeleaf.exceptions.TemplateProcessingException: Exception evaluating SpringEL expression: "reason.getMessage()" (template: "mail/dataExportFailedAdminEmail" - line 16, col 8)
Raw output
org.thymeleaf.exceptions.TemplateProcessingException: Exception evaluating SpringEL expression: "reason.getMessage()" (template: "mail/dataExportFailedAdminEmail" - line 16, col 8)
	at app//org.thymeleaf.spring6.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:292)
	at app//org.thymeleaf.standard.expression.VariableExpression.executeVariableExpression(VariableExpression.java:166)
	at app//org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:66)
	at app//org.thymeleaf.standard.expression.Expression.execute(Expression.java:109)
	at app//org.thymeleaf.standard.expression.Expression.execute(Expression.java:138)
	at app//org.thymeleaf.standard.expression.MessageExpression.executeMessageExpression(MessageExpression.java:256)
	at app//org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:69)
	at app//org.thymeleaf.standard.expression.Expression.execute(Expression.java:109)
	at app//org.thymeleaf.standard.expression.Expression.execute(Expression.java:138)
	at app//org.thymeleaf.standard.processor.AbstractStandardExpressionAttributeTagProcessor.doProcess(AbstractStandardExpressionAttributeTagProcessor.java:144)
	at app//org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74)
	at app//org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95)
	at app//org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633)
	at app//org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1314)
	at app//org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205)
	at app//org.thymeleaf.engine.TemplateModel.process(TemplateModel.java:136)
	at app//org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:661)
	at app//org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1103)
	at app//org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1064)
	at app//org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1053)
	at app//de.tum.cit.aet.artemis.communication.service.notifications.MailService.prepareTemplateAndSendEmailWithArgumentInSubject(MailService.java:152)
	at app//de.tum.cit.aet.artemis.communication.service.notifications.MailService.sendDataExportFailedEmailForAdmin(MailService.java:135)
	at app//de.tum.cit.aet.artemis.communication.service.notifications.MailService.sendDataExportFailedEmailForAdmin(MailService.java:131)
	at app//de.tum.cit.aet.artemis.communication.service.notifications.MailService.sendDataExportFailedEmailToAdmin(MailService.java:181)
	at app//de.tum.cit.aet.artemis.communication.service.notifications.MailService.sendDataExportFailedEmailToAdmin(MailService.java:180)
	at [email protected]/java.lang.reflect.Method.invoke(Method.java:580)
	at app//org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:359)
	at app//org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:723)
	at app//de.tum.cit.aet.artemis.communication.service.notifications.MailService$$SpringCGLIB$$0.sendDataExportFailedEmailToAdmin(<generated>)
	at app//de.tum.cit.aet.artemis.core.service.export.DataExportCreationService.handleCreationFailure(DataExportCreationService.java:174)
	at app//de.tum.cit.aet.artemis.core.service.export.DataExportCreationService.createDataExport(DataExportCreationService.java:142)
	at app//de.tum.cit.aet.artemis.core.service.DataExportScheduleService.createDataExport(DataExportScheduleService.java:106)
	at app//de.tum.cit.aet.artemis.core.service.DataExportScheduleService.lambda$createDataExportsAndDeleteOldOnes$0(DataExportScheduleService.java:76)
	at [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at [email protected]/java.lang.Thread.run(Thread.java:1583)
Caused by: org.springframework.expression.EvaluationException: Calling method 'getMessage' is forbidden for type 'class java.lang.RuntimeException' in this expression context.
	at app//org.thymeleaf.spring6.expression.ThymeleafEvaluationContext$ThymeleafEvaluationContextACLMethodResolver.resolve(ThymeleafEvaluationContext.java:276)
	at app//org.springframework.expression.spel.ast.MethodReference.findAccessorForMethod(MethodReference.java:218)
	at app//org.springframework.expression.spel.ast.MethodReference.getValueInternal(MethodReference.java:148)
	at app//org.springframework.expression.spel.ast.MethodReference$MethodValueRef.getValue(MethodReference.java:398)
	at app//org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:97)
	at app//org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:116)
	at app//org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:338)
	at app//org.thymeleaf.spring6.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:265)
	at app//org.thymeleaf.standard.expression.VariableExpression.executeVariableExpression(VariableExpression.java:166)
	at app//org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:66)
	at app//org.thymeleaf.standard.expression.Expression.execute(Expression.java:109)
	at app//org.thymeleaf.standard.expression.Expression.execute(Expression.java:138)
	at app//org.thymeleaf.standard.expression.MessageExpression.executeMessageExpression(MessageExpression.java:256)
	at app//org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:69)
	at app//org.thymeleaf.standard.expression.Expression.execute(Expression.java:109)
	at app//org.thymeleaf.standard.expression.Expression.execute(Expression.java:138)
	at app//org.thymeleaf.standard.processor.AbstractStandardExpressionAttributeTagProcessor.doProcess(AbstractStandardExpressionAttributeTagProcessor.java:144)
	at app//org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74)
	at app//org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95)
	at app//org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633)
	at app//org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1314)
	at app//org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205)
	at app//org.thymeleaf.engine.TemplateModel.process(TemplateModel.java:136)
	at app//org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:661)
	at app//org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1103)
	at app//org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1064)
	at app//org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1053)
	at app//de.tum.cit.aet.artemis.communication.service.notifications.MailService.prepareTemplateAndSendEmailWithArgumentInSubject(MailService.java:152)
	at app//de.tum.cit.aet.artemis.communication.service.notifications.MailService.sendDataExportFailedEmailForAdmin(MailService.java:135)
	at [email protected]/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:733)
	at org.mockito.internal.util.reflection.InstrumentationMemberAccessor$Dispatcher$ByteBuddy$91M4Bxm8.invokeWithArguments(Unknown Source)
	at app//org.mockito.internal.util.reflection.InstrumentationMemberAccessor.invoke(InstrumentationMemberAccessor.java:251)
	at app//org.mockito.internal.util.reflection.ModuleMemberAccessor.invoke(ModuleMemberAccessor.java:55)
	at app//org.mockito.internal.creation.bytebuddy.MockMethodAdvice.tryInvoke(MockMethodAdvice.java:314)
	at app//org.mockito.internal.creation.bytebuddy.MockMethodAdvice$RealMethodCall.invoke(MockMethodAdvice.java:234)
	at app//org.mockito.internal.invocation.InterceptedInvocation.callRealMethod(InterceptedInvocation.java:142)
	at app//org.mockito.internal.stubbing.answers.CallsRealMethods.answer(CallsRealMethods.java:45)
	at app//org.mockito.Answers.answer(Answers.java:90)
	at app//org.mockito.internal.handler.MockHandlerImpl.handle(MockHandlerImpl.java:111)
	at app//org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29)
	at app//org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:34)
	at app//org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:82)
	at app//org.mockito.internal.creation.bytebuddy.MockMethodAdvice.handle(MockMethodAdvice.java:134)
	at app//de.tum.cit.aet.artemis.communication.service.notifications.MailService.sendDataExportFailedEmailForAdmin(MailService.java:131)
	at app//de.tum.cit.aet.artemis.communication.service.notifications.MailService.sendDataExportFailedEmailToAdmin(MailService.java:181)
	at [email protected]/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:733)
	at org.mockito.internal.util.reflection.InstrumentationMemberAccessor$Dispatcher$ByteBuddy$91M4Bxm8.invokeWithArguments(Unknown Source)
	at app//org.mockito.internal.util.reflection.InstrumentationMemberAccessor.invoke(InstrumentationMemberAccessor.java:251)
	at app//org.mockito.internal.util.reflection.ModuleMemberAccessor.invoke(ModuleMemberAccessor.java:55)
	at app//org.mockito.internal.creation.bytebuddy.MockMethodAdvice.tryInvoke(MockMethodAdvice.java:314)
	at app//org.mockito.internal.creation.bytebuddy.MockMethodAdvice$RealMethodCall.invoke(MockMethodAdvice.java:234)
	at app//org.mockito.internal.invocation.InterceptedInvocation.callRealMethod(InterceptedInvocation.java:142)
	at app//org.mockito.internal.stubbing.answers.CallsRealMethods.answer(CallsRealMethods.java:45)
	at app//org.mockito.Answers.answer(Answers.java:90)
	at app//org.mockito.internal.handler.MockHandlerImpl.handle(MockHandlerImpl.java:111)
	at app//org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29)
	at app//org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:34)
	at app//org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:82)
	at app//org.mockito.internal.creation.bytebuddy.MockMethodAdvice.handle(MockMethodAdvice.java:134)
	... 12 more