Program: 44162
Project: 44162
Buggy source:
public static void main(String[] args){
  try {
    timeSlicerToKML.setAnalysisType(TimeSlicerToKML.FIRST_ANALYSIS);
    timeSlicerToKML.setTreePath("String_Node_Str");
    timeSlicerToKML.setMrsdString("String_Node_Str");
    timeSlicerToKML.setTreesPath("String_Node_Str");
    timeSlicerToKML.setHPD(0.80);
    timeSlicerToKML.setGridSize(100);
    timeSlicerToKML.setBurnIn(500);
    timeSlicerToKML.setLocationAttributeName("String_Node_Str");
    timeSlicerToKML.setRateAttributeName("String_Node_Str");
    timeSlicerToKML.setPrecisionAttName("String_Node_Str");
    timeSlicerToKML.setUseTrueNoise(true);
    timeSlicerToKML.setTimescaler(1);
    timeSlicerToKML.setKmlWriterPath("String_Node_Str");
    timeSlicerToKML.setMinPolygonRedMapping(0);
    timeSlicerToKML.setMinPolygonGreenMapping(0);
    timeSlicerToKML.setMinPolygonBlueMapping(0);
    timeSlicerToKML.setMinPolygonOpacityMapping(100);
    timeSlicerToKML.setMaxPolygonRedMapping(50);
    timeSlicerToKML.setMaxPolygonGreenMapping(255);
    timeSlicerToKML.setMaxPolygonBlueMapping(255);
    timeSlicerToKML.setMaxPolygonOpacityMapping(255);
    timeSlicerToKML.setMinBranchRedMapping(0);
    timeSlicerToKML.setMinBranchGreenMapping(0);
    timeSlicerToKML.setMinBranchBlueMapping(0);
    timeSlicerToKML.setMinBranchOpacityMapping(255);
    timeSlicerToKML.setMaxBranchRedMapping(255);
    timeSlicerToKML.setMaxBranchGreenMapping(5);
    timeSlicerToKML.setMaxBranchBlueMapping(50);
    timeSlicerToKML.setMaxBranchOpacityMapping(255);
    timeSlicerToKML.setMaxAltitudeMapping(500000);
    timeSlicerToKML.setBranchWidth(4);
    timeSlicerToKML.GenerateKML();
    System.out.println("String_Node_Str" + timeSlicerToKML.time + "String_Node_Str");
  }
 catch (  OutOfMemoryError e) {
    e.printStackTrace();
  }
catch (  IOException e) {
    e.printStackTrace();
  }
catch (  RuntimeException e) {
    e.printStackTrace();
  }
catch (  ImportException e) {
    e.printStackTrace();
  }
catch (  ParseException e) {
    e.printStackTrace();
  }
catch (  Exception e) {
    e.printStackTrace();
  }
}

Fixed version (ground truth):
public static void main(String[] args){
  try {
    if (FIRST_ANALYSIS) {
      timeSlicerToKML.setAnalysisType(TimeSlicerToKML.FIRST_ANALYSIS);
      timeSlicerToKML.setTreePath("String_Node_Str");
      timeSlicerToKML.setNumberOfIntervals(10);
    }
 else {
      timeSlicerToKML.setAnalysisType(TimeSlicerToKML.SECOND_ANALYSIS);
      timeSlicerToKML.setCustomSliceHeightsPath("String_Node_Str");
    }
    timeSlicerToKML.setTreesPath("String_Node_Str");
    timeSlicerToKML.setBurnIn(500);
    timeSlicerToKML.setLocationAttributeName("String_Node_Str");
    timeSlicerToKML.setMrsdString("String_Node_Str");
    timeSlicerToKML.setHPD(0.80);
    timeSlicerToKML.setGridSize(100);
    timeSlicerToKML.setRateAttributeName("String_Node_Str");
    timeSlicerToKML.setPrecisionAttName("String_Node_Str");
    timeSlicerToKML.setUseTrueNoise(true);
    timeSlicerToKML.setTimescaler(1);
    timeSlicerToKML.setKmlWriterPath("String_Node_Str");
    timeSlicerToKML.setMinPolygonRedMapping(0);
    timeSlicerToKML.setMinPolygonGreenMapping(0);
    timeSlicerToKML.setMinPolygonBlueMapping(0);
    timeSlicerToKML.setMinPolygonOpacityMapping(100);
    timeSlicerToKML.setMaxPolygonRedMapping(50);
    timeSlicerToKML.setMaxPolygonGreenMapping(255);
    timeSlicerToKML.setMaxPolygonBlueMapping(255);
    timeSlicerToKML.setMaxPolygonOpacityMapping(255);
    timeSlicerToKML.setMinBranchRedMapping(0);
    timeSlicerToKML.setMinBranchGreenMapping(0);
    timeSlicerToKML.setMinBranchBlueMapping(0);
    timeSlicerToKML.setMinBranchOpacityMapping(255);
    timeSlicerToKML.setMaxBranchRedMapping(255);
    timeSlicerToKML.setMaxBranchGreenMapping(5);
    timeSlicerToKML.setMaxBranchBlueMapping(50);
    timeSlicerToKML.setMaxBranchOpacityMapping(255);
    timeSlicerToKML.setMaxAltitudeMapping(500000);
    timeSlicerToKML.setBranchWidth(4);
    timeSlicerToKML.GenerateKML();
    System.out.println("String_Node_Str" + timeSlicerToKML.time + "String_Node_Str");
  }
 catch (  OutOfMemoryError e) {
    e.printStackTrace();
  }
catch (  IOException e) {
    e.printStackTrace();
  }
catch (  RuntimeException e) {
    e.printStackTrace();
  }
catch (  ImportException e) {
    e.printStackTrace();
  }
catch (  ParseException e) {
    e.printStackTrace();
  }
catch (  Exception e) {
    e.printStackTrace();
  }
}