Open xvotro02 opened 2 weeks ago
Thanks for filing this issue with us, @xvotro02! If you could have a sample application showing the behavior consistently, that would greatly help us resolve this issue soon. If not, it will take some time for us to set that up. This is doable, but it would thus take longer to get to a resolution, which I want you to be aware of.
Any progress on the issue will be shared here for your convenience.
Basic information
Steps to reproduce
Define an aggreagate with aggregate member (ForwardMatchingInstances, Map<id, MemberClass>, MemberClass has all getters and no args constructor, command is record).
Run Spring Boot application in native mode: a.
mvn spring-boot:process-aot
+java -DspringAot=true -jar your-application.jar
b.org.graalvm.buildtools:native-maven-plugin
+mvn spring-boot:build-image
with mavennative
profile + run imageExpected behaviour
Aggregate member is processed as it is in normal mode (without AOT and native image).
Actual behaviour
Error appears in running application when the aggregate member is processed: