Program: 92644
Project: 92644
Buggy source:
public void initializeFrom(ILaunchConfiguration config){
  try {
    cacheButton.setSelection(config.getAttribute(CachegrindLaunchConstants.ATTR_CACHEGRIND_CACHE_SIM,CachegrindLaunchConstants.DEFAULT_CACHEGRIND_CACHE_SIM));
    branchButton.setSelection(config.getAttribute(CachegrindLaunchConstants.ATTR_CACHEGRIND_BRANCH_SIM,CachegrindLaunchConstants.DEFAULT_CACHEGRIND_BRANCH_SIM));
    i1Button.setSelection(config.getAttribute(CachegrindLaunchConstants.ATTR_CACHEGRIND_I1,CachegrindLaunchConstants.DEFAULT_CACHEGRIND_I1));
    i1SizeSpinner.setSelection(config.getAttribute(CachegrindLaunchConstants.ATTR_CACHEGRIND_I1_SIZE,CachegrindLaunchConstants.DEFAULT_CACHEGRIND_I1_SIZE));
    i1AssocSpinner.setSelection(config.getAttribute(CachegrindLaunchConstants.ATTR_CACHEGRIND_I1_ASSOC,CachegrindLaunchConstants.DEFAULT_CACHEGRIND_I1_ASSOC));
    i1LineSizeSpinner.setSelection(config.getAttribute(CachegrindLaunchConstants.ATTR_CACHEGRIND_I1_LSIZE,CachegrindLaunchConstants.DEFAULT_CACHEGRIND_I1_LSIZE));
    checkI1Enablement();
    d1Button.setSelection(config.getAttribute(CachegrindLaunchConstants.ATTR_CACHEGRIND_D1,CachegrindLaunchConstants.DEFAULT_CACHEGRIND_D1));
    d1SizeSpinner.setSelection(config.getAttribute(CachegrindLaunchConstants.ATTR_CACHEGRIND_D1_SIZE,CachegrindLaunchConstants.DEFAULT_CACHEGRIND_D1_SIZE));
    d1AssocSpinner.setSelection(config.getAttribute(CachegrindLaunchConstants.ATTR_CACHEGRIND_D1_ASSOC,CachegrindLaunchConstants.DEFAULT_CACHEGRIND_D1_ASSOC));
    d1LineSizeSpinner.setSelection(config.getAttribute(CachegrindLaunchConstants.ATTR_CACHEGRIND_D1_LSIZE,CachegrindLaunchConstants.DEFAULT_CACHEGRIND_D1_LSIZE));
    checkD1Enablement();
    l2Button.setSelection(config.getAttribute(CachegrindLaunchConstants.ATTR_CACHEGRIND_L2,CachegrindLaunchConstants.DEFAULT_CACHEGRIND_L2));
    l2SizeSpinner.setSelection(config.getAttribute(CachegrindLaunchConstants.ATTR_CACHEGRIND_L2_SIZE,CachegrindLaunchConstants.DEFAULT_CACHEGRIND_L2_SIZE));
    l2AssocSpinner.setSelection(config.getAttribute(CachegrindLaunchConstants.ATTR_CACHEGRIND_L2_ASSOC,CachegrindLaunchConstants.DEFAULT_CACHEGRIND_L2_ASSOC));
    l2LineSizeSpinner.setSelection(config.getAttribute(CachegrindLaunchConstants.ATTR_CACHEGRIND_L2_LSIZE,CachegrindLaunchConstants.DEFAULT_CACHEGRIND_L2_LSIZE));
    checkL2Enablement();
  }
 catch (  CoreException e) {
    e.printStackTrace();
  }
}

Fixed version (ground truth):
public void initializeFrom(ILaunchConfiguration config){
  isInitializing=true;
  try {
    cacheButton.setSelection(config.getAttribute(CachegrindLaunchConstants.ATTR_CACHEGRIND_CACHE_SIM,CachegrindLaunchConstants.DEFAULT_CACHEGRIND_CACHE_SIM));
    branchButton.setSelection(config.getAttribute(CachegrindLaunchConstants.ATTR_CACHEGRIND_BRANCH_SIM,CachegrindLaunchConstants.DEFAULT_CACHEGRIND_BRANCH_SIM));
    i1Button.setSelection(config.getAttribute(CachegrindLaunchConstants.ATTR_CACHEGRIND_I1,CachegrindLaunchConstants.DEFAULT_CACHEGRIND_I1));
    i1SizeSpinner.setSelection(config.getAttribute(CachegrindLaunchConstants.ATTR_CACHEGRIND_I1_SIZE,CachegrindLaunchConstants.DEFAULT_CACHEGRIND_I1_SIZE));
    i1AssocSpinner.setSelection(config.getAttribute(CachegrindLaunchConstants.ATTR_CACHEGRIND_I1_ASSOC,CachegrindLaunchConstants.DEFAULT_CACHEGRIND_I1_ASSOC));
    i1LineSizeSpinner.setSelection(config.getAttribute(CachegrindLaunchConstants.ATTR_CACHEGRIND_I1_LSIZE,CachegrindLaunchConstants.DEFAULT_CACHEGRIND_I1_LSIZE));
    checkI1Enablement();
    d1Button.setSelection(config.getAttribute(CachegrindLaunchConstants.ATTR_CACHEGRIND_D1,CachegrindLaunchConstants.DEFAULT_CACHEGRIND_D1));
    d1SizeSpinner.setSelection(config.getAttribute(CachegrindLaunchConstants.ATTR_CACHEGRIND_D1_SIZE,CachegrindLaunchConstants.DEFAULT_CACHEGRIND_D1_SIZE));
    d1AssocSpinner.setSelection(config.getAttribute(CachegrindLaunchConstants.ATTR_CACHEGRIND_D1_ASSOC,CachegrindLaunchConstants.DEFAULT_CACHEGRIND_D1_ASSOC));
    d1LineSizeSpinner.setSelection(config.getAttribute(CachegrindLaunchConstants.ATTR_CACHEGRIND_D1_LSIZE,CachegrindLaunchConstants.DEFAULT_CACHEGRIND_D1_LSIZE));
    checkD1Enablement();
    l2Button.setSelection(config.getAttribute(CachegrindLaunchConstants.ATTR_CACHEGRIND_L2,CachegrindLaunchConstants.DEFAULT_CACHEGRIND_L2));
    l2SizeSpinner.setSelection(config.getAttribute(CachegrindLaunchConstants.ATTR_CACHEGRIND_L2_SIZE,CachegrindLaunchConstants.DEFAULT_CACHEGRIND_L2_SIZE));
    l2AssocSpinner.setSelection(config.getAttribute(CachegrindLaunchConstants.ATTR_CACHEGRIND_L2_ASSOC,CachegrindLaunchConstants.DEFAULT_CACHEGRIND_L2_ASSOC));
    l2LineSizeSpinner.setSelection(config.getAttribute(CachegrindLaunchConstants.ATTR_CACHEGRIND_L2_LSIZE,CachegrindLaunchConstants.DEFAULT_CACHEGRIND_L2_LSIZE));
    checkL2Enablement();
  }
 catch (  CoreException e) {
    e.printStackTrace();
  }
  isInitializing=false;
}