Program: 168210
Project: 168210
Buggy source:
public void train_Test(ArrayList<String> trainingClasses,ArrayList<String> testingClasses,String outputDir,boolean removeStopwords,boolean doLowercase) throws FileNotFoundException, IOException, EvalError {
  Calendar cal=Calendar.getInstance();
  String dateString="String_Node_Str" + (cal.get(Calendar.MONTH) + 1) + "String_Node_Str"+ cal.get(Calendar.DATE)+ "String_Node_Str"+ cal.get(Calendar.YEAR);
  String tempOutputPath="String_Node_Str";
  String tempTrainDirs="String_Node_Str";
  for (  String classPath : trainingClasses) {
    tempOutputPath+=classPath.substring(classPath.lastIndexOf(System.getProperty("String_Node_Str")) + 1) + "String_Node_Str";
    tempTrainDirs+=classPath + "String_Node_Str";
  }
  String outputPath=outputDir + System.getProperty("String_Node_Str") + tempOutputPath.substring(0,tempOutputPath.length() - 1)+ dateString+ "String_Node_Str"+ System.currentTimeMillis();
  String tempTestDirs="String_Node_Str";
  for (  String classPath : testingClasses) {
    tempTestDirs+=classPath + "String_Node_Str";
  }
  String keepSeq="String_Node_Str", stopWords="String_Node_Str", preserveCase="String_Node_Str";
  if (removeStopwords) {
    stopWords="String_Node_Str";
  }
  if (doLowercase) {
    preserveCase="String_Node_Str";
  }
  tempTrainDirs=tempTrainDirs.substring(0,tempTrainDirs.length() - 1);
  String trainDirs[]=tempTrainDirs.split("String_Node_Str");
  tempTestDirs=tempTestDirs.substring(0,tempTestDirs.length() - 1);
  String testDirs[]=tempTestDirs.split("String_Node_Str");
  ArrayList<String> tempT2vArgs=new ArrayList<String>(Arrays.asList("String_Node_Str","String_Node_Str",outputPath + "String_Node_Str","String_Node_Str",keepSeq,"String_Node_Str",stopWords,"String_Node_Str",preserveCase));
  tempT2vArgs.addAll(1,Arrays.asList(trainDirs));
  String[] t2vArgs=Arrays.copyOf(tempT2vArgs.toArray(),tempT2vArgs.toArray().length,String[].class);
  ArrayList<String> tempT2vArgsTest=new ArrayList<String>(Arrays.asList("String_Node_Str","String_Node_Str",outputPath + "String_Node_Str","String_Node_Str",keepSeq,"String_Node_Str",stopWords,"String_Node_Str",preserveCase,"String_Node_Str",outputPath + "String_Node_Str"));
  tempT2vArgsTest.addAll(1,Arrays.asList(testDirs));
  String[] t2vArgs_test=Arrays.copyOf(tempT2vArgsTest.toArray(),tempT2vArgsTest.toArray().length,String[].class);
  String[] v2cArgs={"String_Node_Str",outputPath + "String_Node_Str","String_Node_Str",outputPath + "String_Node_Str","String_Node_Str",outputPath + "String_Node_Str"};
  Text2Vectors.main(t2vArgs);
  System.out.println("String_Node_Str" + outputPath + "String_Node_Str");
  Text2Vectors.main(t2vArgs_test);
  System.out.println("String_Node_Str" + outputPath + "String_Node_Str");
  ArrayList<String> result=Vectors2Classify.main(v2cArgs);
  System.out.println("String_Node_Str" + outputPath + "String_Node_Str");
  System.out.println(result.get(0));
  writeReadMe(outputPath);
}

Fixed version (ground truth):
public void train_Test(ArrayList<String> trainingClasses,ArrayList<String> testingClasses,String outputDir,boolean removeStopwords,boolean doLowercase) throws FileNotFoundException, IOException, EvalError {
  Calendar cal=Calendar.getInstance();
  String dateString="String_Node_Str" + (cal.get(Calendar.MONTH) + 1) + "String_Node_Str"+ cal.get(Calendar.DATE)+ "String_Node_Str"+ cal.get(Calendar.YEAR);
  String tempOutputPath="String_Node_Str";
  String tempTrainDirs="String_Node_Str";
  for (  String classPath : trainingClasses) {
    tempOutputPath+=classPath.substring(classPath.lastIndexOf(System.getProperty("String_Node_Str")) + 1) + "String_Node_Str";
    tempTrainDirs+=classPath + "String_Node_Str";
  }
  String outputPath=outputDir + System.getProperty("String_Node_Str") + tempOutputPath.substring(0,tempOutputPath.length() - 1)+ dateString+ "String_Node_Str"+ System.currentTimeMillis();
  String tempTestDirs="String_Node_Str";
  for (  String classPath : testingClasses) {
    if (!classPath.isEmpty())     tempTestDirs+=classPath + "String_Node_Str";
  }
  String keepSeq="String_Node_Str", stopWords="String_Node_Str", preserveCase="String_Node_Str";
  if (removeStopwords) {
    stopWords="String_Node_Str";
  }
  if (doLowercase) {
    preserveCase="String_Node_Str";
  }
  tempTrainDirs=tempTrainDirs.substring(0,tempTrainDirs.length() - 1);
  String trainDirs[]=tempTrainDirs.split("String_Node_Str");
  tempTestDirs=tempTestDirs.substring(0,tempTestDirs.length() - 1);
  String testDirs[]=tempTestDirs.split("String_Node_Str");
  ArrayList<String> tempT2vArgs=new ArrayList<String>(Arrays.asList("String_Node_Str","String_Node_Str",outputPath + "String_Node_Str","String_Node_Str",keepSeq,"String_Node_Str",stopWords,"String_Node_Str",preserveCase));
  tempT2vArgs.addAll(1,Arrays.asList(trainDirs));
  String[] t2vArgs=Arrays.copyOf(tempT2vArgs.toArray(),tempT2vArgs.toArray().length,String[].class);
  ArrayList<String> tempT2vArgsTest=new ArrayList<String>(Arrays.asList("String_Node_Str","String_Node_Str",outputPath + "String_Node_Str","String_Node_Str",keepSeq,"String_Node_Str",stopWords,"String_Node_Str",preserveCase,"String_Node_Str",outputPath + "String_Node_Str"));
  tempT2vArgsTest.addAll(1,Arrays.asList(testDirs));
  String[] t2vArgs_test=Arrays.copyOf(tempT2vArgsTest.toArray(),tempT2vArgsTest.toArray().length,String[].class);
  String[] v2cArgs={"String_Node_Str",outputPath + "String_Node_Str","String_Node_Str",outputPath + "String_Node_Str","String_Node_Str",outputPath + "String_Node_Str"};
  Text2Vectors.main(t2vArgs);
  System.out.println("String_Node_Str" + outputPath + "String_Node_Str");
  Text2Vectors.main(t2vArgs_test);
  System.out.println("String_Node_Str" + outputPath + "String_Node_Str");
  ArrayList<String> result=Vectors2Classify.main(v2cArgs);
  System.out.println("String_Node_Str" + outputPath + "String_Node_Str");
  System.out.println(result.get(0));
  writeReadMe(outputPath);
}