Question about invokeChaincode api #fabric-chaincode


Environment: fabric release-2.2
My chaincode named vulnerable is as follows:

When I invoke helloworld directly, it gives me responce "helloworld", everything works fine.

But when I invoke invokeChaincode method, it gives me

and chaincode docker container logging is as follows:

It seems like
(1) the statement System.out.printf("\n%s\n", chaincodeName) works fine.
(2) org.hyperledger.fabric.shim.impl.InvocationStubImpl.invokeChaincode also finds the registered method helloworld, but it encountered another exception half way the invocation.

Does anyone met this problem before?
Thanks in advance.

Join to automatically receive all group messages.