samples icon indicating copy to clipboard operation
samples copied to clipboard

Unable to run vault queries via RPC using cordapp-example

Open pandaripruthviraj opened this issue 5 years ago • 2 comments

There was an unexpected error (type=Internal Server Error, status=500). net.corda.core.utilities.Try$Success (erased) -> value() -> net.corda.core.node.services.Vault$Page (erased) -> states(java.util.List<net.corda.core.contracts.StateAndRef<net.corda.core.contracts.ContractState>>) -> java.util.List<net.corda.core.contracts.StateAndRef<>> -> net.corda.core.contracts.StateAndRef<net.corda.core.contracts.ContractState> -> state(net.corda.core.contracts.TransactionState<net.corda.core.contracts.ContractState>) -> net.corda.core.contracts.TransactionState<net.corda.core.contracts.ContractState> -> data(net.corda.core.contracts.ContractState) -> Cannot construct evolution serializer for remote type com.example.state.IOUState: net.corda.core.contracts.LinearState, net.corda.core.contracts.ContractState, net.corda.core.schemas.QueryableState borrower (optional): net.corda.core.identity.Party name: net.corda.core.identity.CordaX500Name commonName (optional): java.lang.String country: java.lang.String locality: java.lang.String organisation: java.lang.String organisationUnit (optional): java.lang.String state (optional): java.lang.String owningKey: java.security.PublicKey lender (optional): net.corda.core.identity.Party name: net.corda.core.identity.CordaX500Name commonName (optional): java.lang.String country: java.lang.String locality: java.lang.String organisation: java.lang.String organisationUnit (optional): java.lang.String state (optional): java.lang.String owningKey: java.security.PublicKey linearId: net.corda.core.contracts.UniqueIdentifier externalId (optional): java.lang.String id: java.util.UUID value (optional): java.lang.Integer Local type int of property value is not assignable from remote type class java.lang.Integer

pandaripruthviraj avatar Mar 29 '19 07:03 pandaripruthviraj

I have exactly the same issue which only happens with the Java version (nodes inside "workflows-java" folder).

waynelcw avatar Apr 03 '19 14:04 waynelcw

Any solution? Can't run simple RPC client

dmytrobr avatar Jul 11 '19 18:07 dmytrobr