Program: 55138
Project: 55138
Buggy source:
/** 
 * The entry point to the application.
 * @param args the command line arguments
 */
public static void main(String[] args){
  if (args.length < 7) {
    System.err.println("String_Node_Str");
    System.err.println("String_Node_Str");
    System.exit(-1);
  }
  JOB_MANAGER_ADDRESS=args[0];
  INSTANCE_TYPE=args[1];
  TOPOLOGY_TREE=args[2];
  try {
    NUMBER_OF_RUNS=Integer.parseInt(args[3]);
  }
 catch (  NumberFormatException nfe) {
    System.err.println("String_Node_Str" + args[3]);
    System.exit(-1);
  }
  if (NUMBER_OF_RUNS <= 0) {
    System.err.println("String_Node_Str");
    System.exit(-1);
  }
  try {
    NUMBER_OF_CONSUMERS=Integer.parseInt(args[4]);
  }
 catch (  NumberFormatException nfe) {
    System.err.println("String_Node_Str" + args[4]);
    System.exit(-1);
  }
  if (NUMBER_OF_CONSUMERS <= 0) {
    System.err.println("String_Node_Str");
    System.exit(-1);
  }
  try {
    NUMBER_OF_RECORDS=Integer.parseInt(args[5]);
  }
 catch (  NumberFormatException nfe) {
    System.err.println("String_Node_Str" + args[5]);
    System.exit(-1);
  }
  if (NUMBER_OF_RECORDS <= 0) {
    System.err.println("String_Node_Str");
    System.exit(-1);
  }
  OUTPUT_PATH=args[6];
  JAR_FILE=new File("String_Node_Str");
  final JarFileCreator jarFileCreator=new JarFileCreator(JAR_FILE);
  jarFileCreator.addClass(BroadcastProducer.class);
  jarFileCreator.addClass(BroadcastConsumer.class);
  jarFileCreator.addClass(BroadcastRecord.class);
  try {
    jarFileCreator.createJarFile();
  }
 catch (  IOException ioe) {
    if (JAR_FILE.exists()) {
      JAR_FILE.delete();
    }
    System.err.println("String_Node_Str" + StringUtils.stringifyException(ioe));
    System.exit(-1);
  }
  try {
    final BufferedWriter throughputWriter=new BufferedWriter(new FileWriter(getThroughputFilename()));
    final BufferedWriter durationWriter=new BufferedWriter(new FileWriter(getDurationFilename()));
    for (int i=0; i < NUMBER_OF_RUNS; ++i) {
      try {
        runJob(i,throughputWriter,durationWriter);
      }
 catch (      Exception e) {
        System.err.println("String_Node_Str" + i + "String_Node_Str"+ StringUtils.stringifyException(e));
        break;
      }
    }
    throughputWriter.close();
    durationWriter.close();
  }
 catch (  IOException ioe) {
    System.err.println("String_Node_Str" + StringUtils.stringifyException(ioe));
  }
  if (JAR_FILE.exists()) {
    JAR_FILE.delete();
  }
}

Fixed version (ground truth):
/** 
 * The entry point to the application.
 * @param args the command line arguments
 */
public static void main(String[] args){
  if (args.length < 7) {
    System.err.println("String_Node_Str");
    System.err.println("String_Node_Str");
    System.exit(-1);
  }
  JOB_MANAGER_ADDRESS=args[0];
  INSTANCE_TYPE=args[1];
  TOPOLOGY_TREE=args[2];
  try {
    NUMBER_OF_RUNS=Integer.parseInt(args[3]);
  }
 catch (  NumberFormatException nfe) {
    System.err.println("String_Node_Str" + args[3]);
    System.exit(-1);
  }
  if (NUMBER_OF_RUNS <= 0) {
    System.err.println("String_Node_Str");
    System.exit(-1);
  }
  try {
    NUMBER_OF_CONSUMERS=Integer.parseInt(args[4]);
  }
 catch (  NumberFormatException nfe) {
    System.err.println("String_Node_Str" + args[4]);
    System.exit(-1);
  }
  if (NUMBER_OF_CONSUMERS <= 0) {
    System.err.println("String_Node_Str");
    System.exit(-1);
  }
  try {
    NUMBER_OF_RECORDS=Integer.parseInt(args[5]);
  }
 catch (  NumberFormatException nfe) {
    System.err.println("String_Node_Str" + args[5]);
    System.exit(-1);
  }
  if (NUMBER_OF_RECORDS <= 0) {
    System.err.println("String_Node_Str");
    System.exit(-1);
  }
  OUTPUT_PATH=args[6];
  JAR_FILE=new File(Path.constructTestPath("String_Node_Str") + "String_Node_Str");
  final JarFileCreator jarFileCreator=new JarFileCreator(JAR_FILE);
  jarFileCreator.addClass(BroadcastProducer.class);
  jarFileCreator.addClass(BroadcastConsumer.class);
  jarFileCreator.addClass(BroadcastRecord.class);
  try {
    jarFileCreator.createJarFile();
  }
 catch (  IOException ioe) {
    if (JAR_FILE.exists()) {
      JAR_FILE.delete();
    }
    System.err.println("String_Node_Str" + StringUtils.stringifyException(ioe));
    System.exit(-1);
  }
  try {
    final BufferedWriter throughputWriter=new BufferedWriter(new FileWriter(getThroughputFilename()));
    final BufferedWriter durationWriter=new BufferedWriter(new FileWriter(getDurationFilename()));
    for (int i=0; i < NUMBER_OF_RUNS; ++i) {
      try {
        runJob(i,throughputWriter,durationWriter);
      }
 catch (      Exception e) {
        System.err.println("String_Node_Str" + i + "String_Node_Str"+ StringUtils.stringifyException(e));
        break;
      }
    }
    throughputWriter.close();
    durationWriter.close();
  }
 catch (  IOException ioe) {
    System.err.println("String_Node_Str" + StringUtils.stringifyException(ioe));
  }
  if (JAR_FILE.exists()) {
    JAR_FILE.delete();
  }
}