Skip to content

空指针异常 #62

Description

@sky007z
BrokerTraffic clusterTraffic = new BrokerTraffic();
    for (BrokerGroup brokerGroup : brokerGroupList) {
        BrokerTraffic brokerTraffic = brokerGroup.getMaster().getBrokerTraffic();
        if (brokerTraffic == null) {
            continue;
        }
        clusterTraffic.add(brokerTraffic);
    }

查询集群拓扑时brokerGroup.getMaster()为null导致空指针,这个一般什么原因会导致Master为空

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions