Program: 24592
Project: 24592
Buggy source:
public Void doInBackground(){
  try {
    generateProcessing.setEnabled(false);
    progressBar.setIndeterminate(true);
    rateIndicatorBFToProcessing.setLogFilePath(logFilename,burnInParser.getValue() / 100);
    rateIndicatorBFToProcessing.setBfCutoff(Double.valueOf(bfCutoffParser.getText()));
    rateIndicatorBFToProcessing.setLocationFilePath(locationsFilename);
    rateIndicatorBFToProcessing.setMinBranchRedMapping(branchesMinColor.getRed());
    rateIndicatorBFToProcessing.setMinBranchGreenMapping(branchesMinColor.getGreen());
    rateIndicatorBFToProcessing.setMinBranchBlueMapping(branchesMinColor.getBlue());
    rateIndicatorBFToProcessing.setMinBranchOpacityMapping(branchesMinColor.getAlpha());
    rateIndicatorBFToProcessing.setMaxBranchRedMapping(branchesMaxColor.getRed());
    rateIndicatorBFToProcessing.setMaxBranchGreenMapping(branchesMaxColor.getGreen());
    rateIndicatorBFToProcessing.setMaxBranchBlueMapping(branchesMaxColor.getBlue());
    rateIndicatorBFToProcessing.setMaxBranchOpacityMapping(branchesMaxColor.getAlpha());
    rateIndicatorBFToProcessing.setBranchWidth(branchesWidthParser.getValue() / 2);
    if (meanPoissonPriorParser.getSelectedIndex() == 0) {
      rateIndicatorBFToProcessing.setDefaultMeanPoissonPrior();
    }
 else {
      rateIndicatorBFToProcessing.setUserMeanPoissonPrior(Double.valueOf(meanPoissonPriorParser.getSelectedItem().toString()));
    }
    if (poissonPriorOffsetParser.getSelectedIndex() == 0) {
      rateIndicatorBFToProcessing.setDefaultPoissonPriorOffset();
    }
 else {
      rateIndicatorBFToProcessing.setUserPoissonPriorOffset(Double.valueOf(poissonPriorOffsetParser.getSelectedItem().toString()));
    }
    rateIndicatorBFToProcessing.init();
    System.out.println("String_Node_Str");
  }
 catch (  Exception e) {
    e.printStackTrace();
    String msg=String.format("String_Node_Str",e.toString());
    JOptionPane.showMessageDialog(Utils.getActiveFrame(),msg,"String_Node_Str",JOptionPane.ERROR_MESSAGE,errorIcon);
  }
  return null;
}

Fixed version (ground truth):
public Void doInBackground(){
  try {
    generateProcessing.setEnabled(false);
    progressBar.setIndeterminate(true);
    rateIndicatorBFToProcessing.setLogFilePath(logFilename,burnInParser.getValue() / 100.0);
    rateIndicatorBFToProcessing.setBfCutoff(Double.valueOf(bfCutoffParser.getText()));
    rateIndicatorBFToProcessing.setLocationFilePath(locationsFilename);
    rateIndicatorBFToProcessing.setMinBranchRedMapping(branchesMinColor.getRed());
    rateIndicatorBFToProcessing.setMinBranchGreenMapping(branchesMinColor.getGreen());
    rateIndicatorBFToProcessing.setMinBranchBlueMapping(branchesMinColor.getBlue());
    rateIndicatorBFToProcessing.setMinBranchOpacityMapping(branchesMinColor.getAlpha());
    rateIndicatorBFToProcessing.setMaxBranchRedMapping(branchesMaxColor.getRed());
    rateIndicatorBFToProcessing.setMaxBranchGreenMapping(branchesMaxColor.getGreen());
    rateIndicatorBFToProcessing.setMaxBranchBlueMapping(branchesMaxColor.getBlue());
    rateIndicatorBFToProcessing.setMaxBranchOpacityMapping(branchesMaxColor.getAlpha());
    rateIndicatorBFToProcessing.setBranchWidth(branchesWidthParser.getValue() / 2);
    if (meanPoissonPriorParser.getSelectedIndex() == 0) {
      rateIndicatorBFToProcessing.setDefaultMeanPoissonPrior();
    }
 else {
      rateIndicatorBFToProcessing.setUserMeanPoissonPrior(Double.valueOf(meanPoissonPriorParser.getSelectedItem().toString()));
    }
    if (poissonPriorOffsetParser.getSelectedIndex() == 0) {
      rateIndicatorBFToProcessing.setDefaultPoissonPriorOffset();
    }
 else {
      rateIndicatorBFToProcessing.setUserPoissonPriorOffset(Double.valueOf(poissonPriorOffsetParser.getSelectedItem().toString()));
    }
    rateIndicatorBFToProcessing.init();
    System.out.println("String_Node_Str");
  }
 catch (  Exception e) {
    e.printStackTrace();
    String msg=String.format("String_Node_Str",e.toString());
    JOptionPane.showMessageDialog(Utils.getActiveFrame(),msg,"String_Node_Str",JOptionPane.ERROR_MESSAGE,errorIcon);
  }
  return null;
}