I use the current master version with jdk1.8.
This question occurs when I query the vault by the interface "/vault-query".
The backend error is "Unexpected exception de-serializing throwable: net.corda.core.node.services.VaultQueryException. Converting to CordaRuntimeException."
My http-body is the following.
{
"notaries": [
""
],
"offset": 0,
"pageSize": 10000,
"parties": [
"O=PartyB, L=New York, C=US",
"O=PartyC, L=CHIAN, C=CN",
"O=PartyA, L=London, C=GB",
"O=PartyD, L=CHIAN, C=CN",
"O=Notary, L=London, C=GB"
],
"relevancies": [
"RELEVANT",
"NOT_RELEVANT"
],
"stateTypes": [
"class com.template.states.AuctionState"
],
"statuses": [
"UNCONSUMED",
"CONSUMED"
]
}
But when the "stateTypes" is null, the httprequest can get the right response.