corda - CURRENT_RPC_CONTEXT.get() must not be null -


written integration test case testing corda flows through api class as:

val api=projectapi(mocknode1.rpcops) val message = "some input message" val resp: response=api.publishssi(message) assertequals(resp.status, 201,"failed publish ssi") 

but getting current_rpc_context.get() must not null exception while starting corda flow inside api.publishssi() method. cause?

you need use rpc client api connect node. can find more details here: https://docs.corda.net/tutorial-clientrpc-api.html


Comments

Popular posts from this blog

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -