Program: 161928
Project: 161928
Buggy source:
private void saveSettings(){
  log.fine("String_Node_Str");
  String[] resolution=((String)view.getCmbResolution().getSelectedItem()).split("String_Node_Str");
  if (resolution.length == 2) {
    settings.setWidth(Integer.parseInt(resolution[0]));
    settings.setHeight(Integer.parseInt(resolution[1]));
  }
 else {
    log.fine("String_Node_Str");
    view.getCmbResolution().setSelectedItem(settings.getWidth() + "String_Node_Str" + settings.getHeight());
  }
  String framerate=(String)view.getCmbFramerate().getSelectedItem();
  settings.setFramerate(Integer.parseInt(framerate));
  settings.setHud(Key.Hud.getAllowedValues().get(view.getCmbHud().getSelectedIndex()));
  settings.setViewmodelSwitch(Key.ViewmodelSwitch.getAllowedValues().get(view.getCmbViewmodel().getSelectedIndex()));
  settings.setViewmodelFov((int)view.getSpinnerViewmodelFov().getValue());
  settings.setDxlevel(Key.DxLevel.getAllowedValues().get(view.getCmbQuality().getSelectedIndex()));
  settings.setMotionBlur(view.getEnableMotionBlur().isSelected());
  settings.setCombattext(!view.getDisableCombatText().isSelected());
  settings.setCrosshair(!view.getDisableCrosshair().isSelected());
  settings.setCrosshairSwitch(!view.getDisableCrosshairSwitch().isSelected());
  settings.setHitsounds(!view.getDisableHitSounds().isSelected());
  settings.setVoice(!view.getDisableVoiceChat().isSelected());
  settings.setSkybox((String)view.getCmbSkybox().getSelectedItem());
  settings.setCondebug(view.getChckbxUsecondebug().isSelected());
  Path tfpath=settings.getTfPath();
  List<String> selected=new ArrayList<>();
  for (  CustomPath cp : customPaths.getList()) {
    Path path=cp.getPath();
    if (!cp.getContents().contains(PathContents.READONLY) && cp.isSelected()) {
      String key=(path.startsWith(tfpath) ? "String_Node_Str" : "String_Node_Str");
      key+=path.getFileName().toString();
      selected.add(key);
    }
  }
  settings.setCustomResources(selected);
  settings.save();
}

Fixed version (ground truth):
private void saveSettings(){
  String[] resolution=((String)view.getCmbResolution().getSelectedItem()).split("String_Node_Str");
  if (resolution.length == 2) {
    settings.setWidth(Integer.parseInt(resolution[0]));
    settings.setHeight(Integer.parseInt(resolution[1]));
  }
 else {
    log.fine("String_Node_Str");
    view.getCmbResolution().setSelectedItem(settings.getWidth() + "String_Node_Str" + settings.getHeight());
  }
  String framerate=(String)view.getCmbFramerate().getSelectedItem();
  settings.setFramerate(Integer.parseInt(framerate));
  settings.setHud(Key.Hud.getAllowedValues().get(view.getCmbHud().getSelectedIndex()));
  settings.setViewmodelSwitch(Key.ViewmodelSwitch.getAllowedValues().get(view.getCmbViewmodel().getSelectedIndex()));
  settings.setViewmodelFov((int)view.getSpinnerViewmodelFov().getValue());
  settings.setDxlevel(Key.DxLevel.getAllowedValues().get(view.getCmbQuality().getSelectedIndex()));
  settings.setMotionBlur(view.getEnableMotionBlur().isSelected());
  settings.setCombattext(!view.getDisableCombatText().isSelected());
  settings.setCrosshair(!view.getDisableCrosshair().isSelected());
  settings.setCrosshairSwitch(!view.getDisableCrosshairSwitch().isSelected());
  settings.setHitsounds(!view.getDisableHitSounds().isSelected());
  settings.setVoice(!view.getDisableVoiceChat().isSelected());
  settings.setSkybox((String)view.getCmbSkybox().getSelectedItem());
  settings.setCondebug(view.getChckbxUsecondebug().isSelected());
  Path tfpath=settings.getTfPath();
  List<String> selected=new ArrayList<>();
  for (  CustomPath cp : customPaths.getList()) {
    Path path=cp.getPath();
    if (!cp.getContents().contains(PathContents.READONLY) && cp.isSelected()) {
      String key=(path.startsWith(tfpath) ? "String_Node_Str" : "String_Node_Str");
      key+=path.getFileName().toString();
      selected.add(key);
    }
  }
  settings.setCustomResources(selected);
  settings.save();
  log.fine("String_Node_Str");
}