Program: 116664
Project: 116664
Buggy source:
public void listMembersOfCluster(String cartridgeType,String alias) throws CommandException {
  DefaultHttpClient httpClient=new DefaultHttpClient();
  try {
    Member[] members=getMembers(cartridgeType,alias,httpClient);
    if (members.length == 0) {
      if (logger.isDebugEnabled()) {
        logger.debug("String_Node_Str");
      }
      System.out.println("String_Node_Str");
      return;
    }
    RowMapper<Member> memberMapper=new RowMapper<Member>(){
      public String[] getData(      Member member){
        String[] data=new String[8];
        data[0]=member.getServiceName();
        data[1]=member.getClusterId();
        data[2]=member.getNetworkPartitionId();
        data[3]=member.getPartitionId();
        data[4]=member.getMemberIp();
        data[5]=member.getStatus().toString();
        data[6]=member.getLbClusterId() != null ? member.getLbClusterId() : "String_Node_Str";
        data[7]=member.getMemberPublicIp().toString();
        return data;
      }
    }
;
    List<String> headers=new ArrayList<String>();
    headers.add("String_Node_Str");
    headers.add("String_Node_Str");
    headers.add("String_Node_Str");
    headers.add("String_Node_Str");
    headers.add("String_Node_Str");
    headers.add("String_Node_Str");
    headers.add("String_Node_Str");
    headers.add("String_Node_Str");
    System.out.println("String_Node_Str" + alias);
    CommandLineUtils.printTable(members,memberMapper,headers.toArray(new String[headers.size()]));
    System.out.println("String_Node_Str" + "String_Node_Str");
    for (    Member m : members) {
      HttpResponse responseCluster=restClientService.doGet(httpClient,restClientService.getUrl() + listClusterRestEndpoint + "String_Node_Str"+ m.getLbClusterId(),restClientService.getUsername(),restClientService.getPassword());
      String resultStringCluster=getHttpResponseString(responseCluster);
      printLBs(resultStringCluster);
    }
  }
 catch (  Exception e) {
    handleException("String_Node_Str",e);
  }
 finally {
    httpClient.getConnectionManager().shutdown();
  }
}

Fixed version (ground truth):
public void listMembersOfCluster(String cartridgeType,String alias) throws CommandException {
  DefaultHttpClient httpClient=new DefaultHttpClient();
  try {
    Member[] members=getMembers(cartridgeType,alias,httpClient);
    if (members.length == 0) {
      if (logger.isDebugEnabled()) {
        logger.debug("String_Node_Str");
      }
      System.out.println("String_Node_Str");
      return;
    }
    System.out.println("String_Node_Str" + alias);
    for (    Member member : members) {
      System.out.println("String_Node_Str" + member.getServiceName());
      System.out.println("String_Node_Str" + member.getClusterId());
      System.out.println("String_Node_Str" + member.getNetworkPartitionId());
      System.out.println("String_Node_Str" + member.getPartitionId());
      System.out.println("String_Node_Str" + member.getStatus());
      if (member.getLbClusterId() != null) {
        System.out.println("String_Node_Str" + member.getLbClusterId());
      }
      System.out.println("String_Node_Str" + member.getMemberIp());
      System.out.println("String_Node_Str" + member.getMemberPublicIp());
      System.out.println("String_Node_Str");
    }
    System.out.println("String_Node_Str");
    System.out.println("String_Node_Str" + alias);
    for (    Member m : members) {
      HttpResponse responseCluster=restClientService.doGet(httpClient,restClientService.getUrl() + listClusterRestEndpoint + "String_Node_Str"+ m.getLbClusterId(),restClientService.getUsername(),restClientService.getPassword());
      String resultStringCluster=getHttpResponseString(responseCluster);
      printLBs(resultStringCluster);
    }
  }
 catch (  Exception e) {
    handleException("String_Node_Str",e);
  }
 finally {
    httpClient.getConnectionManager().shutdown();
  }
}