Program: 116668
Project: 116668
Buggy source:
@Override public boolean process(String type,String message,Object object){
  Topology topology=(Topology)object;
  if (InstanceSpawnedEvent.class.getName().equals(type)) {
    if (!topology.isInitialized())     return false;
    InstanceSpawnedEvent event=(InstanceSpawnedEvent)Util.jsonToObject(message,InstanceSpawnedEvent.class);
    if (TopologyServiceFilter.getInstance().isActive()) {
      if (TopologyServiceFilter.getInstance().serviceNameExcluded(event.getServiceName())) {
        if (log.isDebugEnabled()) {
          log.debug(String.format("String_Node_Str",event.getServiceName()));
        }
        return false;
      }
    }
    if (TopologyClusterFilter.getInstance().isActive()) {
      if (TopologyClusterFilter.getInstance().clusterIdExcluded(event.getClusterId())) {
        if (log.isDebugEnabled()) {
          log.debug(String.format("String_Node_Str",event.getClusterId()));
        }
        return false;
      }
    }
    if (TopologyMemberFilter.getInstance().isActive()) {
      if (TopologyMemberFilter.getInstance().lbClusterIdExcluded(event.getLbClusterId())) {
        if (log.isDebugEnabled()) {
          log.debug(String.format("String_Node_Str",event.getLbClusterId()));
        }
        return false;
      }
    }
    Service service=topology.getService(event.getServiceName());
    if (service == null) {
      if (log.isWarnEnabled()) {
        log.warn(String.format("String_Node_Str",event.getServiceName()));
      }
      return false;
    }
    Cluster cluster=service.getCluster(event.getClusterId());
    if (cluster == null) {
      if (log.isWarnEnabled()) {
        log.warn(String.format("String_Node_Str",event.getServiceName(),event.getClusterId()));
      }
      return false;
    }
    if (cluster.memberExists(event.getMemberId())) {
      if (log.isWarnEnabled()) {
        log.warn(String.format("String_Node_Str",event.getServiceName(),event.getClusterId(),event.getMemberId()));
      }
      return false;
    }
    Member member=new Member(event.getServiceName(),event.getClusterId(),event.getNetworkPartitionId(),event.getPartitionId(),event.getMemberId());
    member.setStatus(MemberStatus.Created);
    member.setLbClusterId(event.getLbClusterId());
    cluster.addMember(member);
    if (log.isInfoEnabled()) {
      log.info(String.format("String_Node_Str",event.getServiceName(),event.getClusterId(),event.getMemberId()));
    }
    notifyEventListeners(event);
    return true;
  }
 else {
    if (nextProcessor != null) {
      return nextProcessor.process(type,message,topology);
    }
 else {
      throw new RuntimeException(String.format("String_Node_Str",type,message));
    }
  }
}

Fixed version (ground truth):
@Override public boolean process(String type,String message,Object object){
  Topology topology=(Topology)object;
  if (InstanceSpawnedEvent.class.getName().equals(type)) {
    if (!topology.isInitialized())     return false;
    InstanceSpawnedEvent event=(InstanceSpawnedEvent)Util.jsonToObject(message,InstanceSpawnedEvent.class);
    if (TopologyServiceFilter.getInstance().isActive()) {
      if (TopologyServiceFilter.getInstance().serviceNameExcluded(event.getServiceName())) {
        if (log.isDebugEnabled()) {
          log.debug(String.format("String_Node_Str",event.getServiceName()));
        }
        return false;
      }
    }
    if (TopologyClusterFilter.getInstance().isActive()) {
      if (TopologyClusterFilter.getInstance().clusterIdExcluded(event.getClusterId())) {
        if (log.isDebugEnabled()) {
          log.debug(String.format("String_Node_Str",event.getClusterId()));
        }
        return false;
      }
    }
    if (TopologyMemberFilter.getInstance().isActive()) {
      if (TopologyMemberFilter.getInstance().lbClusterIdExcluded(event.getLbClusterId())) {
        if (log.isDebugEnabled()) {
          log.debug(String.format("String_Node_Str",event.getLbClusterId()));
        }
        return false;
      }
    }
    Service service=topology.getService(event.getServiceName());
    if (service == null) {
      if (log.isWarnEnabled()) {
        log.warn(String.format("String_Node_Str",event.getServiceName()));
      }
      return false;
    }
    Cluster cluster=service.getCluster(event.getClusterId());
    if (cluster == null) {
      if (log.isWarnEnabled()) {
        log.warn(String.format("String_Node_Str",event.getServiceName(),event.getClusterId()));
      }
      return false;
    }
    if (cluster.memberExists(event.getMemberId())) {
      if (log.isWarnEnabled()) {
        log.warn(String.format("String_Node_Str",event.getServiceName(),event.getClusterId(),event.getMemberId()));
      }
      return false;
    }
    Member member=new Member(event.getServiceName(),event.getClusterId(),event.getNetworkPartitionId(),event.getPartitionId(),event.getMemberId());
    member.setStatus(MemberStatus.Created);
    member.setMemberPublicIp(event.getMemberPublicIp());
    member.setMemberIp(event.getMemberIp());
    member.setLbClusterId(event.getLbClusterId());
    cluster.addMember(member);
    if (log.isInfoEnabled()) {
      log.info(String.format("String_Node_Str",event.getServiceName(),event.getClusterId(),event.getMemberId()));
    }
    notifyEventListeners(event);
    return true;
  }
 else {
    if (nextProcessor != null) {
      return nextProcessor.process(type,message,topology);
    }
 else {
      throw new RuntimeException(String.format("String_Node_Str",type,message));
    }
  }
}