Skip to content

Unrecognized field "role" (class org.web3j.quorum.methods.response.raft.RaftPeer), not marked as ignorable (6 known properties: "hostname", "nodeActive", "nodeId", "raftPort", "p2pPort", "raftId"]) at [Source: (okio.RealBufferedSource$1); line: 1, column: 283] (through reference chain: org.web3j.quorum.methods.response.raft.RaftPeer["role"]) (through reference chain: org.web3j.quorum.methods.response.raft.RaftCluster["result"]) #251

Description

@RockWu1108

System information

  1. Geth version: Geth/v1.9.7

  2. OS & Version: Linux

  3. Environment: docker

4.Error Message

Unrecognized field "role" (class org.web3j.quorum.methods.response.raft.RaftPeer), not marked as ignorable (6 known properties: "hostname", "nodeActive", "nodeId", "raftPort", "p2pPort", "raftId"]) at [Source: (okio.RealBufferedSource$1); line: 1, column: 283] (through reference chain: org.web3j.quorum.methods.response.raft.RaftPeer["role"]) (through reference chain: org.web3j.quorum.methods.response.raft.RaftCluster["result"])

  1. Java Code
public void getPeerInfo() throws IOException {
        quorum.raftGetCluster().send().getCluster().get();
    }
}

I dont know how to solve this problem

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions