Program: 30736
Project: 30736
Buggy source:
public AEConfig(String path){
  super(new File(path + "String_Node_Str"));
  final double DEFAULT_BC_EXCHANGE=5.0;
  final double DEFAULT_IC2_EXCHANGE=2.0;
  final double DEFAULT_RTC_EXCHANGE=1.0 / 11256.0;
  final double DEFAULT_RF_EXCHANGE=0.5;
  PowerUnits.MJ.conversionRatio=get("String_Node_Str","String_Node_Str",DEFAULT_BC_EXCHANGE).getDouble(DEFAULT_BC_EXCHANGE);
  PowerUnits.EU.conversionRatio=get("String_Node_Str","String_Node_Str",DEFAULT_IC2_EXCHANGE).getDouble(DEFAULT_IC2_EXCHANGE);
  PowerUnits.WA.conversionRatio=get("String_Node_Str","String_Node_Str",DEFAULT_RTC_EXCHANGE).getDouble(DEFAULT_RTC_EXCHANGE);
  PowerUnits.RF.conversionRatio=get("String_Node_Str","String_Node_Str",DEFAULT_RF_EXCHANGE).getDouble(DEFAULT_RF_EXCHANGE);
  double usageEffective=get("String_Node_Str","String_Node_Str",1.0).getDouble(1.0);
  PowerMultiplier.CONFIG.multiplier=Math.max(0.01,usageEffective);
  CondenserOuput.MATTER_BALLS.requiredPower=get("String_Node_Str","String_Node_Str",256).getInt(256);
  CondenserOuput.SINGULARITY.requiredPower=get("String_Node_Str","String_Node_Str",256000).getInt(256000);
  grinderOres=get("String_Node_Str","String_Node_Str",grinderOres).getStringList();
  oreDoublePercentage=get("String_Node_Str","String_Node_Str",oreDoublePercentage).getDouble(oreDoublePercentage);
  enableEffects=get("String_Node_Str","String_Node_Str",true).getBoolean(true);
  useLargeFonts=get("String_Node_Str","String_Node_Str",false).getBoolean(false);
  settings.registerSetting(Settings.SEARCH_TOOLTIPS,YesNo.YES);
  settings.registerSetting(Settings.TERMINAL_STYLE,TerminalStyle.TALL);
  settings.registerSetting(Settings.SEARCH_MODE,SearchBoxMode.AUTOSEARCH);
  spawnChargedChance=(float)(1.0 - get("String_Node_Str","String_Node_Str",1.0 - spawnChargedChance).getDouble(1.0 - spawnChargedChance));
  minMeteoriteDistance=get("String_Node_Str","String_Node_Str",minMeteoriteDistance).getInt(minMeteoriteDistance);
  quartzOresPerCluster=get("String_Node_Str","String_Node_Str",quartzOresPerCluster).getInt(quartzOresPerCluster);
  minMeteoriteDistanceSq=minMeteoriteDistance * minMeteoriteDistance;
  WirelessBaseCost=get("String_Node_Str","String_Node_Str",WirelessBaseCost).getDouble(WirelessBaseCost);
  WirelessCostMultiplier=get("String_Node_Str","String_Node_Str",WirelessCostMultiplier).getDouble(WirelessCostMultiplier);
  WirelessBaseRange=get("String_Node_Str","String_Node_Str",WirelessBaseRange).getDouble(WirelessBaseRange);
  WirelessBoosterRangeMultiplier=get("String_Node_Str","String_Node_Str",WirelessBoosterRangeMultiplier).getDouble(WirelessBoosterRangeMultiplier);
  WirelessBoosterExp=get("String_Node_Str","String_Node_Str",WirelessBoosterExp).getDouble(WirelessBoosterExp);
  WirelessTerminalDrainMultiplier=get("String_Node_Str","String_Node_Str",WirelessTerminalDrainMultiplier).getDouble(WirelessTerminalDrainMultiplier);
  wireless_battery=get("String_Node_Str","String_Node_Str",wireless_battery).getInt(wireless_battery);
  staff_battery=get("String_Node_Str","String_Node_Str",staff_battery).getInt(staff_battery);
  manipulator_battery=get("String_Node_Str","String_Node_Str",manipulator_battery).getInt(manipulator_battery);
  portablecell_battery=get("String_Node_Str","String_Node_Str",portablecell_battery).getInt(portablecell_battery);
  mattercannon_battery=get("String_Node_Str","String_Node_Str",mattercannon_battery).getInt(mattercannon_battery);
  for (  AEFeature feature : AEFeature.values()) {
    if (feature.isVisible()) {
      if (get("String_Node_Str" + feature.getCategory(),feature.name(),feature.defaultVaue()).getBoolean(feature.defaultVaue()))       featureFlags.add(feature);
    }
 else     featureFlags.add(feature);
  }
  if (featureFlags.contains(AEFeature.WebsiteRecipes))   featureFlags.add(AEFeature.DuplicateItems);
  for (  Enum e : settings.getSettings()) {
    String Category=e.getClass().getSimpleName();
    this.get(Category,e.name(),settings.getSetting(e).name());
  }
  try {
    selectedPowerUnit=PowerUnits.valueOf(get("String_Node_Str","String_Node_Str",selectedPowerUnit.name()).getString());
  }
 catch (  Throwable t) {
    selectedPowerUnit=PowerUnits.AE;
  }
  for (  TickRates tr : TickRates.values()) {
    tr.Load(this);
  }
  if (isFeatureEnabled(AEFeature.SpatialIO)) {
    storageBiomeID=get("String_Node_Str","String_Node_Str",storageBiomeID).getInt(storageBiomeID);
    storageProviderID=get("String_Node_Str","String_Node_Str",storageProviderID).getInt(storageProviderID);
  }
  if (isFeatureEnabled(AEFeature.VersionChecker)) {
    try {
      latestVersion=get("String_Node_Str","String_Node_Str","String_Node_Str").getString();
      latestTimeStamp=Long.parseLong(get("String_Node_Str","String_Node_Str","String_Node_Str").getString());
    }
 catch (    NumberFormatException err) {
      latestTimeStamp=0;
    }
  }
}

Fixed version (ground truth):
public AEConfig(String path){
  super(new File(path + "String_Node_Str"));
  final double DEFAULT_BC_EXCHANGE=5.0;
  final double DEFAULT_IC2_EXCHANGE=2.0;
  final double DEFAULT_RTC_EXCHANGE=1.0 / 11256.0;
  final double DEFAULT_RF_EXCHANGE=0.5;
  PowerUnits.MJ.conversionRatio=get("String_Node_Str","String_Node_Str",DEFAULT_BC_EXCHANGE).getDouble(DEFAULT_BC_EXCHANGE);
  PowerUnits.EU.conversionRatio=get("String_Node_Str","String_Node_Str",DEFAULT_IC2_EXCHANGE).getDouble(DEFAULT_IC2_EXCHANGE);
  PowerUnits.WA.conversionRatio=get("String_Node_Str","String_Node_Str",DEFAULT_RTC_EXCHANGE).getDouble(DEFAULT_RTC_EXCHANGE);
  PowerUnits.RF.conversionRatio=get("String_Node_Str","String_Node_Str",DEFAULT_RF_EXCHANGE).getDouble(DEFAULT_RF_EXCHANGE);
  double usageEffective=get("String_Node_Str","String_Node_Str",1.0).getDouble(1.0);
  PowerMultiplier.CONFIG.multiplier=Math.max(0.01,usageEffective);
  CondenserOuput.MATTER_BALLS.requiredPower=get("String_Node_Str","String_Node_Str",256).getInt(256);
  CondenserOuput.SINGULARITY.requiredPower=get("String_Node_Str","String_Node_Str",256000).getInt(256000);
  grinderOres=get("String_Node_Str","String_Node_Str",grinderOres).getStringList();
  oreDoublePercentage=get("String_Node_Str","String_Node_Str",oreDoublePercentage).getDouble(oreDoublePercentage);
  enableEffects=get("String_Node_Str","String_Node_Str",true).getBoolean(true);
  useLargeFonts=get("String_Node_Str","String_Node_Str",false).getBoolean(false);
  settings.registerSetting(Settings.SEARCH_TOOLTIPS,YesNo.YES);
  settings.registerSetting(Settings.TERMINAL_STYLE,TerminalStyle.TALL);
  settings.registerSetting(Settings.SEARCH_MODE,SearchBoxMode.AUTOSEARCH);
  spawnChargedChance=(float)(1.0 - get("String_Node_Str","String_Node_Str",1.0 - spawnChargedChance).getDouble(1.0 - spawnChargedChance));
  minMeteoriteDistance=get("String_Node_Str","String_Node_Str",minMeteoriteDistance).getInt(minMeteoriteDistance);
  quartzOresPerCluster=get("String_Node_Str","String_Node_Str",quartzOresPerCluster).getInt(quartzOresPerCluster);
  minMeteoriteDistanceSq=minMeteoriteDistance * minMeteoriteDistance;
  WirelessBaseCost=get("String_Node_Str","String_Node_Str",WirelessBaseCost).getDouble(WirelessBaseCost);
  WirelessCostMultiplier=get("String_Node_Str","String_Node_Str",WirelessCostMultiplier).getDouble(WirelessCostMultiplier);
  WirelessBaseRange=get("String_Node_Str","String_Node_Str",WirelessBaseRange).getDouble(WirelessBaseRange);
  WirelessBoosterRangeMultiplier=get("String_Node_Str","String_Node_Str",WirelessBoosterRangeMultiplier).getDouble(WirelessBoosterRangeMultiplier);
  WirelessBoosterExp=get("String_Node_Str","String_Node_Str",WirelessBoosterExp).getDouble(WirelessBoosterExp);
  WirelessTerminalDrainMultiplier=get("String_Node_Str","String_Node_Str",WirelessTerminalDrainMultiplier).getDouble(WirelessTerminalDrainMultiplier);
  wireless_battery=get("String_Node_Str","String_Node_Str",wireless_battery).getInt(wireless_battery);
  staff_battery=get("String_Node_Str","String_Node_Str",staff_battery).getInt(staff_battery);
  manipulator_battery=get("String_Node_Str","String_Node_Str",manipulator_battery).getInt(manipulator_battery);
  portablecell_battery=get("String_Node_Str","String_Node_Str",portablecell_battery).getInt(portablecell_battery);
  mattercannon_battery=get("String_Node_Str","String_Node_Str",mattercannon_battery).getInt(mattercannon_battery);
  for (  AEFeature feature : AEFeature.values()) {
    if (feature.isVisible()) {
      if (get("String_Node_Str" + feature.getCategory(),feature.name(),feature.defaultVaue()).getBoolean(feature.defaultVaue()))       featureFlags.add(feature);
    }
 else     featureFlags.add(feature);
  }
  if (featureFlags.contains(AEFeature.WebsiteRecipes))   featureFlags.add(AEFeature.DuplicateItems);
  for (  Enum e : settings.getSettings()) {
    String Category=e.getClass().getSimpleName();
    Enum value=settings.getSetting(e);
    Property p=this.get(Category,e.name(),value.name());
    try {
      value=Enum.valueOf(value.getClass(),p.getString());
    }
 catch (    IllegalArgumentException er) {
      AELog.info("String_Node_Str" + p.getString() + "String_Node_Str"+ e.name()+ "String_Node_Str"+ value.name()+ "String_Node_Str");
    }
    settings.putSetting(e,value);
  }
  try {
    selectedPowerUnit=PowerUnits.valueOf(get("String_Node_Str","String_Node_Str",selectedPowerUnit.name()).getString());
  }
 catch (  Throwable t) {
    selectedPowerUnit=PowerUnits.AE;
  }
  for (  TickRates tr : TickRates.values()) {
    tr.Load(this);
  }
  if (isFeatureEnabled(AEFeature.SpatialIO)) {
    storageBiomeID=get("String_Node_Str","String_Node_Str",storageBiomeID).getInt(storageBiomeID);
    storageProviderID=get("String_Node_Str","String_Node_Str",storageProviderID).getInt(storageProviderID);
  }
  if (isFeatureEnabled(AEFeature.VersionChecker)) {
    try {
      latestVersion=get("String_Node_Str","String_Node_Str","String_Node_Str").getString();
      latestTimeStamp=Long.parseLong(get("String_Node_Str","String_Node_Str","String_Node_Str").getString());
    }
 catch (    NumberFormatException err) {
      latestTimeStamp=0;
    }
  }
}