Open yozaner1324 opened 1 year ago
Thanks for the report and for providing a sample. However, this doesn't build not for me:
> Could not get unknown property 'gemfireRepoUsername' for Credentials [username: null] of type org.gradle.internal.credentials.DefaultPasswordCredentials_Decorated.
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.
I’ve been able to reproduce with additional instructions from the OP. I suspect that the CGLIB proxy and reentrant calls are leading to this. It isn’t a cycle per se as it stops before ending up in a StackOverflow.
I have a basic Spring Boot app using web and GemFire. When I run it with aot enabled, like this:
java -Dspring.aot.enabled=true -jar build/libs/spring-native-experiment-1.0-SNAPSHOT.jar
, it breaks, but when I disabled aot, like this:java -Dspring.aot.enabled=false -jar build/libs/spring-native-experiment-1.0-SNAPSHOT.jar
, it runs as expected.Spring Boot 3.0.7 GraalVM 17.0.7+8.1 MacOs 13.4 on an M1 Mac
Stack-trace:
The full stack trace is attached as a file because it was too long. Code to reproduce: https://github.com/yozaner1324/spring-native-experiment
Steps to reproduce:
stackoverflow.txt