-
Notifications
You must be signed in to change notification settings - Fork 368
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
java.lang.reflect.InaccessibleObjectException #1190
Comments
Can you share the whole stack trace of the error? |
Sorry for the delay, but hereby the quite huge log
by simply downgrading SDK, the issue is mittigated |
I ran into the same issue: Stripe SDK Version: 20.46.0
|
Same issue with Java 16 when I updated from 20.41.0 to 20.46.0! Using Quarkus 1.13.1.Final java.lang.reflect.InaccessibleObjectException Unable to make private java.net.Proxy() accessible: module java.base does not "opens java.net" to unnamed module @366e2eef |
I think the reason is probably this: google/gson#1875 I would welcome it if you'd remove Gson altogether. The de facto standard is Jackson these days. |
Google Gson is also clearly no longer supported, which is concerning. We are forced to stay on Java 15 (which is End of Life) until there is a solution for this. |
I have also heard of moshi lib, which seems promising and maybe lighter than Jackson: https://github.com/square/moshi |
Getting the same issue. Stripe should definitely drop GSON and depend on Jackson instead. Will need to revert the build system and environments to java 14 since this is a deal breaker. |
Also try to prevent similar problems in the future by checking that we only use the reflection-based type adapter for classes in `com.stripe.`.
Also try to prevent similar problems in the future by checking that we only use the reflection-based type adapter for classes in `com.stripe.`.
Also try to prevent similar problems in the future by checking that we only use the reflection-based type adapter for classes in `com.stripe.`.
Also try to prevent similar problems in the future by checking that we only use the reflection-based type adapter for classes in `com.stripe.`.
Hi, I'm currently integrating Stripe with a Spring Boot app of mine. I'm following the documentation described here
Based of this I have a method which returns the PaymentIntentCreateParams object
Which is then used when calling a certain page
But when the actual method is called, PaymentIntent.create(params); throws an error:
java.lang.reflect.InaccessibleObjectException:
Unable to make private java.net.Proxy() accessible: module java.base does not "opens java.net" to unnamed module 7334aada`Currently running Java SE 16
The text was updated successfully, but these errors were encountered: