You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What operating system are you using, and which version?
Linux / Ubuntu
Steps to Reproduce
Using the latest version of the koios-java-client 1.15.1 I saw some NPE in my bot logs when the koios (mainnet) endpoint is not available
Here's the stack trace
ava.lang.NullPointerException: null
at rest.koios.client.backend.api.address.impl.AddressServiceImpl.getAddressTransactions(AddressServiceImpl.java:75) ~[koios-java-client-1.15.1.jar!/:na]
at com.devpool.thothBot.scheduler.TransactionCheckerTask.checkTransactionsForUsers(TransactionCheckerTask.java:169) ~[classes!/:1.0.0-rc1]
at com.devpool.thothBot.scheduler.TransactionCheckerTask.run(TransactionCheckerTask.java:147) ~[classes!/:1.0.0-rc1]
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[na:na]
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) ~[na:na]
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[na:na]
at java.base/java.lang.Thread.run(Thread.java:829) ~[na:na]
I also found the following while digging the logs
Requested endpoint with provided parameters was not found! Please verify syntax referring to examples from <a href="https://api.koios.rest">API Documentations</a> !!
</body></html>
(404)
The text was updated successfully, but these errors were encountered:
Hi @edridudi, I realised it's an issue on my side. Basically my previous call to get the account addresses fails due to unavailability of Koios backend and I'm passing a null list to the rest.koios.client.backend.api.address.impl.AddressServiceImpl.getAddressTransactions() method. I will investigate
What operating system are you using, and which version?
Steps to Reproduce
Using the latest version of the koios-java-client 1.15.1 I saw some NPE in my bot logs when the koios (mainnet) endpoint is not available
Here's the stack trace
I also found the following while digging the logs
The text was updated successfully, but these errors were encountered: