Skip to content

Unexpected exception de-serializing throwable: net.corda.core.node.services.VaultQueryException. Converting to CordaRuntimeException. #7

@Arthersun

Description

@Arthersun

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.

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