Skip to content
This repository was archived by the owner on Dec 22, 2021. It is now read-only.
This repository was archived by the owner on Dec 22, 2021. It is now read-only.

Proposal response is invalid error when I invoke chaincode #42

Open
@heyxingtang

Description

@heyxingtang

when i execute java -cp blockchain-client.jar org.example.chaincode.invocation.InvokeChaincode, then
root@fabric-VirtualBox:~/go/src/IBM/blockchain-application-using-fabric-java-sdk/network_resources# java -cp blockchain-client.jar org.example.chaincode.invocation.InvokeChaincode Oct 03, 2019 9:38:44 PM org.example.util.Util deleteDirectory INFO: Deleting - admin.ser Oct 03, 2019 9:38:45 PM org.example.util.Util deleteDirectory INFO: Deleting - user1570109909538.ser Oct 03, 2019 9:38:45 PM org.example.util.Util deleteDirectory INFO: Deleting - org1 Oct 03, 2019 9:38:45 PM org.example.util.Util deleteDirectory INFO: Deleting - users log4j:WARN No appenders could be found for logger (org.hyperledger.fabric.sdk.helper.Config). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Oct 03, 2019 9:38:47 PM org.example.client.CAClient enrollAdminUser INFO: CA -http://localhost:7054 Enrolled Admin. Oct 03, 2019 9:38:50 PM org.example.client.ChannelClient sendTransactionProposal INFO: Sending transaction proposal on channel mychannel org.hyperledger.fabric.sdk.exception.InvalidArgumentException: Proposal response is invalid. at org.hyperledger.fabric.sdk.ProposalResponse.getChaincodeActionResponsePayload(ProposalResponse.java:272) at org.example.client.ChannelClient.sendTransactionProposal(ChannelClient.java:121) at org.example.chaincode.invocation.InvokeChaincode.main(InvokeChaincode.java:88)

InvokeChaincode.java line 51 Util.cleanUp() empty the network_resources/users/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions