skynetcap/solanaj

sdk not working in release mode but working in debug mode. Throwing NullPointerException while sending transaction in release mode.

grvgoel81 opened this issue · 0 comments

java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String org.p2p.solanaj.rpc.types.RecentBlockhash$Value.getBlockhash()' on a null object reference
at org.p2p.solanaj.rpc.RpcApi.getRecentBlockhash(RpcApi.java:47)
at org.p2p.solanaj.rpc.RpcApi.getRecentBlockhash(RpcApi.java:37)
at org.p2p.solanaj.rpc.RpcApi.sendTransaction(RpcApi.java:62)
at org.p2p.solanaj.rpc.RpcApi.sendTransaction(RpcApi.java:56)