-
Notifications
You must be signed in to change notification settings - Fork 37
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
Create Account SDK throws exception - despite successful execution #148
Comments
Hi @r1jsheth , Thank you for the interest in improving the SDK. |
Moreover, I tried with JDK 17 - the same issue persists. |
We are running into the same exact issue described above. |
Looks like failures were allowed for jdk17 (which we are using) amongst others from this commit |
Prior to this commit we were not testing with JDK 17, this commit added the test, but also allowed for the tests to fail since we had not comprehensively tested with JDK 17. We are currently investigating the JDK 17 issues to add full support for this version |
Thanks for investing @jonathancouchman. Do you have an estimate for when JDK 17 will be fully supported? We're going through a build at the moment and would like to understand how this timeline would affect it. |
It seems the issue is with one of the dependencies, https://github.com/cglib/cglib, that does not support JDK 17 and is no longer in active development. We will need to implement an alternative solution to resolve the issue. As a short term work around you can set the following JVM argument at runtime (if that is possible for you) --add-opens java.base/java.lang=ALL-UNNAMED We will update the ticket once we have found a suitable solution |
Thanks for the suggestion Jonathan, that did the trick to unblock us 🎉 |
Hi , as I also have the same problem I would like to ask if you have another solution or for the time being the fix remains with adding the |
I am facing issue in
currencyCloudClient.createAccount(account)
It is throwing exception (exception attached below) and despite on the demo account it creates a sub account.
I am using this file
src/test/java/com/currencycloud/examples/CurrencyCloudCookbook.java
And added these few lines of code.
Code
Exception
Screenshot of account created from the dashboard
The text was updated successfully, but these errors were encountered: