Program: 157468
Project: 157468
Buggy source:
@Override public View getView(int position,View convertView,ViewGroup parent){
  final AddOn addOn=getItem(position);
  final View row;
  if (convertView == null) {
    LayoutInflater inflater=LayoutInflater.from(getContext());
    row=inflater.inflate(R.layout.addon_list_item_pref,parent,false);
  }
 else {
    row=convertView;
  }
  row.setTag(addOn);
  row.setOnClickListener(this);
  TextView title=(TextView)row.findViewById(R.id.addon_title);
  title.setText(addOn.getName());
  TextView description=(TextView)row.findViewById(R.id.addon_description);
  description.setText(addOn.getDescription());
  Drawable icon=null;
  if (addOn instanceof IconHolder) {
    IconHolder iconHolder=(IconHolder)addOn;
    icon=iconHolder.getIcon();
  }
  if (icon == null) {
    try {
      PackageManager packageManager=getContext().getPackageManager();
      PackageInfo packageInfo=packageManager.getPackageInfo(addOn.getPackageName(),0);
      icon=packageInfo.applicationInfo.loadIcon(packageManager);
    }
 catch (    PackageManager.NameNotFoundException e) {
      icon=null;
    }
  }
  ImageView addOnIcon=(ImageView)row.findViewById(R.id.addon_image);
  addOnIcon.setImageDrawable(icon);
  if (addOn instanceof ScreenshotHolder) {
    if (((ScreenshotHolder)addOn).hasScreenshot()) {
      addOnIcon.setOnClickListener(this);
      addOnIcon.setTag(addOn);
      row.findViewById(R.id.addon_image_more_overlay).setVisibility(View.VISIBLE);
    }
  }
  RadioButton tb=(RadioButton)row.findViewById(R.id.addon_checkbox);
  tb.setClickable(false);
  tb.setChecked(addOn.getId() == mSelectedAddOn.getId());
  return row;
}

Fixed version (ground truth):
@Override public View getView(int position,View convertView,ViewGroup parent){
  final AddOn addOn=getItem(position);
  final View row;
  if (convertView == null) {
    LayoutInflater inflater=LayoutInflater.from(getContext());
    row=inflater.inflate(R.layout.addon_list_item_pref,parent,false);
  }
 else {
    row=convertView;
  }
  row.setTag(addOn);
  row.setOnClickListener(this);
  TextView title=(TextView)row.findViewById(R.id.addon_title);
  title.setText(addOn.getName());
  TextView description=(TextView)row.findViewById(R.id.addon_description);
  description.setText(addOn.getDescription());
  Drawable icon=null;
  if (addOn instanceof IconHolder) {
    IconHolder iconHolder=(IconHolder)addOn;
    icon=iconHolder.getIcon();
  }
  if (icon == null) {
    try {
      PackageManager packageManager=getContext().getPackageManager();
      PackageInfo packageInfo=packageManager.getPackageInfo(addOn.getPackageName(),0);
      icon=packageInfo.applicationInfo.loadIcon(packageManager);
    }
 catch (    PackageManager.NameNotFoundException e) {
      icon=null;
    }
  }
  ImageView addOnIcon=(ImageView)row.findViewById(R.id.addon_image);
  addOnIcon.setImageDrawable(icon);
  if (addOn instanceof ScreenshotHolder) {
    if (((ScreenshotHolder)addOn).hasScreenshot()) {
      addOnIcon.setOnClickListener(this);
      addOnIcon.setTag(addOn);
      row.findViewById(R.id.addon_image_more_overlay).setVisibility(View.VISIBLE);
    }
  }
  RadioButton tb=(RadioButton)row.findViewById(R.id.addon_checkbox);
  tb.setClickable(false);
  tb.setChecked(addOn.getId().equals(mSelectedAddOn.getId()));
  return row;
}