Program: 114681
Project: 114681
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=(RoundedImageView)convertView.findViewById(R.id.avatar_imageview);
    holder.avatarImageView.setOval(true);
    holder.nameTextView=(TextView)convertView.findViewById(R.id.name_textview);
    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=baseActivity.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;
  final InviteFriend data=getItem(position);
  if (convertView == null) {
    convertView=layoutInflater.inflate(R.layout.list_item_invite_friend,null);
    holder=new ViewHolder();
    holder.contentRelativeLayout=(RelativeLayout)convertView.findViewById(R.id.contentRelativeLayout);
    holder.avatarImageView=(RoundedImageView)convertView.findViewById(R.id.avatar_imageview);
    holder.avatarImageView.setOval(true);
    holder.nameTextView=(TextView)convertView.findViewById(R.id.name_textview);
    holder.viaTextView=(TextView)convertView.findViewById(R.id.viaTextView);
    holder.checkBox=(CheckBox)convertView.findViewById(R.id.selectUserCheckBox);
    convertView.setTag(holder);
    final ViewHolder finalHolder=holder;
    holder.checkBox.setOnClickListener(new View.OnClickListener(){
      public void onClick(      View view){
        CheckBox checkBox=(CheckBox)view;
        InviteFriend inviteFriend=(InviteFriend)checkBox.getTag();
        inviteFriend.setSelected(checkBox.isChecked());
        notifyCounterChanged(checkBox.isChecked(),inviteFriend.getViaLabelType());
        finalHolder.contentRelativeLayout.setBackgroundColor(getBackgroundColorItem(checkBox.isChecked()));
      }
    }
);
  }
 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=baseActivity.getString(R.string.inf_url_to_facebook_avatar,data.getId());
  }
  holder.contentRelativeLayout.setBackgroundColor(getBackgroundColorItem(holder.checkBox.isChecked()));
  displayImage(uri,holder.avatarImageView);
  return convertView;
}