Closed marklee1972 closed 2 years ago
Hello, thanks for the issue, I will look into it and thanks for the details and provided code!
Can you please tell what is endpoint/method library fails and what JDK version you used?
Can you please tell what is endpoint/method library fails and what JDK version you used?
Yep JDK JavaSE-1.8(jdk17.0.1) Both MAINNET and ROPSTEN are the same error. When querying for a transaction, it happens.
List
Thanks for the info! Investigating and will release fix soon as possible
Since use com.google.gson.Gson to parse the json of Etherscan's api response. However the error will appear: io.api.etherscan.error.ParseException: Unable to make field private final java.time.LocalDate java.time.LocalDateTime.date accessible: module java.base does not "opens java.time" to unnamed module @38d8f54a
The reason is at: io.api.etherscan.core.impl.BasicProvider
Line 47: this.gson = new Gson();
I change the below code to fix this issuse:
Maybe the best way is either update the source code or supply a custom features.