Program: 115642
Project: 115642
Buggy source:
/** 
 * Describe a cartridge
 * @param cartridgeType Type of the cartridge
 * @throws CommandException
 */
public void describeCartridge(final String cartridgeType) throws CommandException {
  try {
    Type listType=new TypeToken<ArrayList<CartridgeBean>>(){
    }
.getType();
    List<CartridgeBean> cartridgeList=(List<CartridgeBean>)restClient.listEntity(ENDPOINT_LIST_CARTRIDGES,listType,"String_Node_Str");
    CartridgeBean cartridge=null;
    for (    CartridgeBean item : cartridgeList) {
      if (item.getType().equals(cartridgeType)) {
        cartridge=item;
        break;
      }
    }
    if (cartridge == null) {
      System.out.println("String_Node_Str");
      return;
    }
    System.out.println("String_Node_Str");
    System.out.println("String_Node_Str");
    System.out.println("String_Node_Str");
    System.out.println("String_Node_Str" + cartridge.getType());
    System.out.println("String_Node_Str" + cartridge.getCategory());
    System.out.println("String_Node_Str" + cartridge.getDisplayName());
    System.out.println("String_Node_Str" + cartridge.getDescription());
    System.out.println("String_Node_Str" + cartridge.getVersion());
    System.out.println("String_Node_Str" + cartridge.isMultiTenant());
    System.out.println("String_Node_Str" + cartridge.getHost());
    if (cartridge.getIaasProvider() != null) {
      RowMapper<IaasProviderBean> cartridgeMapper=new RowMapper<IaasProviderBean>(){
        public String[] getData(        IaasProviderBean row){
          String[] data=new String[4];
          data[0]=row.getProvider();
          data[1]=row.getType();
          data[2]=row.getName();
          data[3]=row.getImageId();
          return data;
        }
      }
;
      IaasProviderBean[] iaasProviders=new IaasProviderBean[cartridgeList.size()];
      iaasProviders=cartridge.getIaasProvider().toArray(iaasProviders);
      System.out.println("String_Node_Str");
      System.out.println("String_Node_Str");
      System.out.println("String_Node_Str");
      CliUtils.printTable(iaasProviders,cartridgeMapper,"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str");
    }
    System.out.println("String_Node_Str");
  }
 catch (  Exception e) {
    String message="String_Node_Str" + cartridgeType;
    printError(message,e);
  }
}

Fixed version (ground truth):
/** 
 * Describe a cartridge
 * @param cartridgeType Type of the cartridge
 * @throws CommandException
 */
public void describeCartridge(final String cartridgeType) throws CommandException {
  try {
    Type listType=new TypeToken<ArrayList<CartridgeBean>>(){
    }
.getType();
    List<CartridgeBean> cartridgeList=(List<CartridgeBean>)restClient.listEntity(ENDPOINT_LIST_CARTRIDGES,listType,"String_Node_Str");
    CartridgeBean cartridge=null;
    for (    CartridgeBean item : cartridgeList) {
      if (item.getType().equals(cartridgeType)) {
        cartridge=item;
        break;
      }
    }
    if (cartridge == null) {
      System.out.println("String_Node_Str");
      return;
    }
    System.out.println("String_Node_Str");
    System.out.println("String_Node_Str");
    System.out.println("String_Node_Str");
    System.out.println("String_Node_Str" + cartridge.getType());
    System.out.println("String_Node_Str" + cartridge.getCategory());
    System.out.println("String_Node_Str" + cartridge.getDisplayName());
    System.out.println("String_Node_Str" + cartridge.getDescription());
    System.out.println("String_Node_Str" + cartridge.getVersion());
    System.out.println("String_Node_Str" + cartridge.isMultiTenant());
    System.out.println("String_Node_Str" + cartridge.getHost());
    if (cartridge.getIaasProvider() != null) {
      RowMapper<IaasProviderBean> cartridgeMapper=new RowMapper<IaasProviderBean>(){
        public String[] getData(        IaasProviderBean row){
          String[] data=new String[2];
          data[0]=row.getType();
          data[1]=row.getImageId();
          return data;
        }
      }
;
      IaasProviderBean[] iaasProviders=new IaasProviderBean[cartridge.getIaasProvider().size()];
      iaasProviders=cartridge.getIaasProvider().toArray(iaasProviders);
      System.out.println("String_Node_Str");
      System.out.println("String_Node_Str");
      System.out.println("String_Node_Str");
      CliUtils.printTable(iaasProviders,cartridgeMapper,"String_Node_Str","String_Node_Str");
    }
    System.out.println("String_Node_Str");
  }
 catch (  Exception e) {
    String message="String_Node_Str" + cartridgeType;
    printError(message,e);
  }
}