Program: 114715
Project: 114715
Buggy source:
@Override public View getView(int position,View convertView,ViewGroup parent){
  ViewHolder holder=null;
  final InviteFriend data=getItem(position);
  if (convertView == null) {
    convertView=layoutInflater.inflate(R.layout.list_item_invite_friend,null);
    holder=new ViewHolder();
    holder.avatarImageView=(ImageView)convertView.findViewById(R.id.avatarImageView);
    holder.nameTextView=(TextView)convertView.findViewById(R.id.nameTextView);
    holder.viaTextView=(TextView)convertView.findViewById(R.id.viaTextView);
    holder.checkBox=(CheckBox)convertView.findViewById(R.id.selectUserCheckBox);
    convertView.setTag(holder);
    holder.checkBox.setOnClickListener(new View.OnClickListener(){
      public void onClick(      View v){
        CheckBox cb=(CheckBox)v;
        InviteFriend inviteFriend=(InviteFriend)cb.getTag();
        inviteFriend.setSelected(cb.isChecked());
        notifyCounterChanged(cb.isChecked(),inviteFriend.getViaLabelType());
      }
    }
);
  }
 else {
    holder=(ViewHolder)convertView.getTag();
  }
  holder.nameTextView.setText(data.getName());
  holder.viaTextView.setText(getViaLabelById(data.getViaLabelType()));
  holder.checkBox.setChecked(data.isSelected());
  holder.checkBox.setTag(data);
  String uri="String_Node_Str";
  if (data.getViaLabelType() == InviteFriend.VIA_CONTACTS_TYPE) {
    uri=data.getLink();
  }
 else   if (data.getViaLabelType() == InviteFriend.VIA_FACEBOOK_TYPE) {
    uri=String.format(activity.getString(R.string.inf_url_to_facebook_avatar),data.getId());
  }
  displayImage(uri,holder.avatarImageView);
  return convertView;
}

Fixed version (ground truth):
@Override public View getView(int position,View convertView,ViewGroup parent){
  ViewHolder holder=null;
  final InviteFriend data=getItem(position);
  if (convertView == null) {
    convertView=layoutInflater.inflate(R.layout.list_item_invite_friend,null);
    holder=new ViewHolder();
    holder.avatarImageView=(ImageView)convertView.findViewById(R.id.avatarImageView);
    holder.nameTextView=(TextView)convertView.findViewById(R.id.nameTextView);
    holder.viaTextView=(TextView)convertView.findViewById(R.id.viaTextView);
    holder.checkBox=(CheckBox)convertView.findViewById(R.id.selectUserCheckBox);
    convertView.setTag(holder);
    holder.checkBox.setOnClickListener(new View.OnClickListener(){
      public void onClick(      View v){
        CheckBox cb=(CheckBox)v;
        InviteFriend inviteFriend=(InviteFriend)cb.getTag();
        inviteFriend.setSelected(cb.isChecked());
        notifyCounterChanged(cb.isChecked(),inviteFriend.getViaLabelType());
      }
    }
);
  }
 else {
    holder=(ViewHolder)convertView.getTag();
  }
  holder.nameTextView.setText(data.getName());
  holder.viaTextView.setText(getViaLabelById(data.getViaLabelType()));
  holder.checkBox.setChecked(data.isSelected());
  holder.checkBox.setTag(data);
  String uri=null;
  if (data.getViaLabelType() == InviteFriend.VIA_CONTACTS_TYPE) {
    uri=data.getUri().toString();
  }
 else   if (data.getViaLabelType() == InviteFriend.VIA_FACEBOOK_TYPE) {
    uri=String.format(activity.getString(R.string.inf_url_to_facebook_avatar),data.getId());
  }
  displayImage(uri,holder.avatarImageView);
  return convertView;
}