Skip to content

Fix StackOverflowError introduced by MongoDbAtlasLocalContainerConnectionDetails.getSslBundle() #4149

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

Merged
merged 1 commit into from
Aug 15, 2025

Conversation

quaff
Copy link
Contributor

@quaff quaff commented Aug 14, 2025

Closes GH-4133

@sobychacko sobychacko added this to the 1.1.0.M1 milestone Aug 15, 2025
@sobychacko sobychacko added the bug Something isn't working label Aug 15, 2025
@sobychacko sobychacko merged commit 7aea093 into spring-projects:main Aug 15, 2025
2 checks passed
spring-builds pushed a commit that referenced this pull request Aug 15, 2025
…ctionDetails.getSslBundle()` (#4149)

Fixes #4133

Signed-off-by: Yanming Zhou <[email protected]>
(cherry picked from commit 7aea093)
quaff added a commit to quaff/spring-ai that referenced this pull request Aug 18, 2025
```
Caused by: java.lang.IllegalAccessException: no private access for invokespecial: interface org.springframework.boot.autoconfigure.mongo.MongoConnectionDetails, from interface org.springframework.boot.autoconfigure.mongo.MongoConnectionDetails (unnamed module @fcd6521)
        at java.base/java.lang.invoke.MemberName.makeAccessException(MemberName.java:889)
        at java.base/java.lang.invoke.MethodHandles$Lookup.checkSpecialCaller(MethodHandles.java:3801)
        at java.base/java.lang.invoke.MethodHandles$Lookup.unreflectSpecial(MethodHandles.java:3315)
        at org.springframework.ai.testcontainers.service.connection.mongo.MongoDbAtlasLocalContainerConnectionDetailsFactory$MongoDbAtlasLocalContainerConnectionDetails.getSslBundle(MongoDbAtlasLocalContainerConnectionDetailsFactory.java:88)
```

Introduced by spring-projectsGH-4149

Signed-off-by: Yanming Zhou <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MongoDBAtlasLocalContainer triggers a StackOverflowError
2 participants