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

Non compatible with java 17 #12

Open
mariohosmar opened this issue Jul 20, 2022 · 2 comments
Open

Non compatible with java 17 #12

mariohosmar opened this issue Jul 20, 2022 · 2 comments

Comments

@mariohosmar
Copy link

Wrapped by: com.google.gson.JsonIOException: Failed making field 'java.lang.Throwable#detailMessage' accessible; either change its visibility or write a custom TypeAdapter for its declaring type
at com.google.gson.internal.reflect.ReflectionHelper.makeAccessible(ReflectionHelper.java:22)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getBoundFields(ReflectiveTypeAdapterFactory.java:158)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.create(ReflectiveTypeAdapterFactory.java:101)
at com.google.gson.Gson.getAdapter(Gson.java:501)
at com.google.gson.Gson.fromJson(Gson.java:990)
at com.google.gson.Gson.fromJson(Gson.java:956)
at com.google.gson.Gson.fromJson(Gson.java:905)
at com.google.gson.Gson.fromJson(Gson.java:876)
at mx.openpay.client.core.impl.DefaultSerializer.deserialize(DefaultSerializer.java:58)
at mx.openpay.client.core.JsonServiceClient.checkForErrors(JsonServiceClient.java:191)
at mx.openpay.client.core.JsonServiceClient.postString(JsonServiceClient.java:173)
at mx.openpay.client.core.JsonServiceClient.postObjectAsJson(JsonServiceClient.java:167)
at mx.openpay.client.core.JsonServiceClient.post(JsonServiceClient.java:147)
at mx.openpay.client.core.operations.ChargeOperations.createCharge(ChargeOperations.java:92)
at

@Akumanokaze
Copy link

Akumanokaze commented Sep 7, 2023

ni con java 8 ni 11 ni nada por el estilo, la api en java no es funcional usa htttpOk o httpclient de java y as la petición cURL, te dará un resultado positivo. tu comentario lleva mas de un año.

@cmoralesheras
Copy link

Buenas tardes, confirmo, falla totalmente, fue una perdida de tiempo el intentar implementar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants