Program: 8345
Project: 8345
Buggy source:
public View getView(final int position,View convertView,ViewGroup parent){
  if (convertView == null) {
    convertView=mInflater.inflate(R.layout.view_key_adv_user_id_item,null);
    final ViewHolder holder=new ViewHolder();
    holder.vAddress=(TextView)convertView.findViewById(R.id.user_id_item_address);
    holder.vName=(TextView)convertView.findViewById(R.id.user_id_item_name);
    holder.vComment=(TextView)convertView.findViewById(R.id.user_id_item_comment);
    holder.vDelete=(ImageButton)convertView.findViewById(R.id.user_id_item_delete_button);
    holder.vDelete.setVisibility(View.VISIBLE);
    CheckBox checkBox=(CheckBox)convertView.findViewById(R.id.user_id_item_check_box);
    View certifiedLayout=convertView.findViewById(R.id.user_id_item_certified_layout);
    ImageView editImage=(ImageView)convertView.findViewById(R.id.user_id_item_edit_image);
    checkBox.setVisibility(View.GONE);
    certifiedLayout.setVisibility(View.GONE);
    editImage.setVisibility(View.GONE);
    convertView.setTag(holder);
    holder.vDelete.setOnClickListener(new View.OnClickListener(){
      @Override public void onClick(      View v){
        UserIdsAddedAdapter.this.remove(holder.mModel);
      }
    }
);
  }
  final ViewHolder holder=(ViewHolder)convertView.getTag();
  holder.mModel=getItem(position);
  String[] splitUserId=KeyRing.splitUserId(holder.mModel);
  if (splitUserId[0] != null) {
    holder.vName.setText(splitUserId[0]);
  }
 else {
    holder.vName.setText(R.string.user_id_no_name);
  }
  if (splitUserId[1] != null) {
    holder.vAddress.setText(splitUserId[1]);
    holder.vAddress.setVisibility(View.VISIBLE);
  }
 else {
    holder.vAddress.setVisibility(View.GONE);
  }
  if (splitUserId[2] != null) {
    holder.vComment.setText(splitUserId[2]);
    holder.vComment.setVisibility(View.VISIBLE);
  }
 else {
    holder.vComment.setVisibility(View.GONE);
  }
  boolean isPrimary=mNewKeyring && position == 0;
  if (isPrimary) {
    holder.vName.setTypeface(null,Typeface.BOLD);
    holder.vAddress.setTypeface(null,Typeface.BOLD);
  }
 else {
    holder.vName.setTypeface(null,Typeface.NORMAL);
    holder.vAddress.setTypeface(null,Typeface.NORMAL);
  }
  return convertView;
}

Fixed version (ground truth):
public View getView(final int position,View convertView,ViewGroup parent){
  if (convertView == null) {
    convertView=mInflater.inflate(R.layout.view_key_adv_user_id_item,null);
    final ViewHolder holder=new ViewHolder();
    holder.vAddress=(TextView)convertView.findViewById(R.id.user_id_item_address);
    holder.vName=(TextView)convertView.findViewById(R.id.user_id_item_name);
    holder.vComment=(TextView)convertView.findViewById(R.id.user_id_item_comment);
    holder.vDelete=(ImageButton)convertView.findViewById(R.id.user_id_item_delete_button);
    holder.vDelete.setVisibility(View.VISIBLE);
    View certifiedLayout=convertView.findViewById(R.id.user_id_item_certified_layout);
    ImageView editImage=(ImageView)convertView.findViewById(R.id.user_id_item_edit_image);
    certifiedLayout.setVisibility(View.GONE);
    editImage.setVisibility(View.GONE);
    convertView.setTag(holder);
    holder.vDelete.setOnClickListener(new View.OnClickListener(){
      @Override public void onClick(      View v){
        UserIdsAddedAdapter.this.remove(holder.mModel);
      }
    }
);
  }
  final ViewHolder holder=(ViewHolder)convertView.getTag();
  holder.mModel=getItem(position);
  String[] splitUserId=KeyRing.splitUserId(holder.mModel);
  if (splitUserId[0] != null) {
    holder.vName.setText(splitUserId[0]);
  }
 else {
    holder.vName.setText(R.string.user_id_no_name);
  }
  if (splitUserId[1] != null) {
    holder.vAddress.setText(splitUserId[1]);
    holder.vAddress.setVisibility(View.VISIBLE);
  }
 else {
    holder.vAddress.setVisibility(View.GONE);
  }
  if (splitUserId[2] != null) {
    holder.vComment.setText(splitUserId[2]);
    holder.vComment.setVisibility(View.VISIBLE);
  }
 else {
    holder.vComment.setVisibility(View.GONE);
  }
  boolean isPrimary=mNewKeyring && position == 0;
  if (isPrimary) {
    holder.vName.setTypeface(null,Typeface.BOLD);
    holder.vAddress.setTypeface(null,Typeface.BOLD);
  }
 else {
    holder.vName.setTypeface(null,Typeface.NORMAL);
    holder.vAddress.setTypeface(null,Typeface.NORMAL);
  }
  return convertView;
}