Program: 33844
Project: 33844
Buggy source:
@Override public View getView(final Context context,LayoutInflater inflater,View convertView){
  if (convertView == null || holder == null) {
    convertView=inflater.inflate(R.layout.list_item_match,null);
    holder=new ViewHolder();
    holder.matchTitle=(TextView)convertView.findViewById(R.id.match_title);
    holder.red1=(TextView)convertView.findViewById(R.id.red1);
    holder.red2=(TextView)convertView.findViewById(R.id.red2);
    holder.red3=(TextView)convertView.findViewById(R.id.red3);
    holder.blue1=(TextView)convertView.findViewById(R.id.blue1);
    holder.blue2=(TextView)convertView.findViewById(R.id.blue2);
    holder.blue3=(TextView)convertView.findViewById(R.id.blue3);
    holder.redScore=(TextView)convertView.findViewById(R.id.red_score);
    holder.blueScore=(TextView)convertView.findViewById(R.id.blue_score);
    holder.videoIcon=(ImageView)convertView.findViewById(R.id.match_video);
  }
  if (!redScore.contains("String_Node_Str") && !blueScore.contains("String_Node_Str")) {
    try {
      int bScore=Integer.parseInt(blueScore), rScore=Integer.parseInt(redScore);
      if (bScore > rScore) {
        View blue_alliance=convertView.findViewById(R.id.blue_alliance);
        if (blue_alliance != null) {
          blue_alliance.setBackgroundResource(R.drawable.blue_border);
        }
        convertView.findViewById(R.id.blue_score).setBackgroundResource(R.drawable.blue_score_border);
      }
 else       if (bScore < rScore) {
        View red_alliance=convertView.findViewById(R.id.red_alliance);
        if (red_alliance != null) {
          red_alliance.setBackgroundResource(R.drawable.red_border);
        }
        convertView.findViewById(R.id.red_score).setBackgroundResource(R.drawable.red_score_border);
      }
    }
 catch (    NumberFormatException e) {
      Log.w(Constants.LOG_TAG,"String_Node_Str");
    }
  }
  if (videoKey != null) {
    holder.videoIcon.setVisibility(View.VISIBLE);
    holder.videoIcon.setOnClickListener(new View.OnClickListener(){
      @Override public void onClick(      View view){
        Intent intent=new Intent(Intent.ACTION_VIEW,Uri.parse("String_Node_Str" + videoKey));
        view.getContext().startActivity(intent);
      }
    }
);
  }
 else {
    holder.videoIcon.setVisibility(View.INVISIBLE);
  }
  holder.matchTitle.setText(matchTitle);
  TeamClickListener listener=new TeamClickListener(context);
  if (redTeams.length == 0) {
    holder.red1.setText("String_Node_Str");
    holder.red2.setText("String_Node_Str");
    holder.red3.setText("String_Node_Str");
  }
 else {
    holder.red1.setText(redTeams[0]);
    holder.red1.setTag("String_Node_Str" + redTeams[0]);
    holder.red1.setOnClickListener(listener);
    if (!selectedTeamKey.isEmpty() && selectedTeamKey.contains(redTeams[0])) {
      holder.red1.setTypeface(Typeface.DEFAULT_BOLD);
    }
    holder.red2.setText(redTeams[1]);
    holder.red2.setTag("String_Node_Str" + redTeams[1]);
    holder.red2.setOnClickListener(listener);
    if (!selectedTeamKey.isEmpty() && selectedTeamKey.contains(redTeams[1])) {
      holder.red2.setTypeface(Typeface.DEFAULT_BOLD);
    }
    if (redTeams.length == 2) {
      holder.red3.setVisibility(View.GONE);
    }
 else {
      holder.red3.setVisibility(View.VISIBLE);
      holder.red3.setText(redTeams[2]);
      holder.red3.setTag("String_Node_Str" + redTeams[2]);
      holder.red3.setOnClickListener(listener);
      if (!selectedTeamKey.isEmpty() && selectedTeamKey.contains(redTeams[2])) {
        holder.red3.setTypeface(Typeface.DEFAULT_BOLD);
      }
    }
  }
  if (blueTeams.length == 0) {
    holder.blue1.setText("String_Node_Str");
    holder.blue2.setText("String_Node_Str");
    holder.blue3.setText("String_Node_Str");
  }
 else {
    holder.blue1.setText(blueTeams[0]);
    holder.blue1.setTag("String_Node_Str" + blueTeams[0]);
    holder.blue1.setOnClickListener(listener);
    if (!selectedTeamKey.isEmpty() && selectedTeamKey.contains(blueTeams[0])) {
      holder.blue1.setTypeface(Typeface.DEFAULT_BOLD);
    }
    holder.blue2.setText(blueTeams[1]);
    holder.blue2.setTag("String_Node_Str" + blueTeams[1]);
    holder.blue2.setOnClickListener(listener);
    if (!selectedTeamKey.isEmpty() && selectedTeamKey.contains(blueTeams[1])) {
      holder.blue2.setTypeface(Typeface.DEFAULT_BOLD);
    }
    if (blueTeams.length == 2) {
      holder.blue3.setVisibility(View.GONE);
    }
 else {
      holder.blue3.setVisibility(View.VISIBLE);
      holder.blue3.setText(blueTeams[2]);
      holder.blue3.setTag("String_Node_Str" + blueTeams[2]);
      holder.blue3.setOnClickListener(listener);
      if (!selectedTeamKey.isEmpty() && selectedTeamKey.contains(blueTeams[2])) {
        holder.blue3.setTypeface(Typeface.DEFAULT_BOLD);
      }
    }
  }
  holder.redScore.setText(redScore);
  holder.blueScore.setText(blueScore);
  convertView.setTag(matchKey);
  return convertView;
}

Fixed version (ground truth):
@Override public View getView(final Context context,LayoutInflater inflater,View convertView){
  if (convertView == null || holder == null) {
    convertView=inflater.inflate(R.layout.list_item_match,null);
    holder=new ViewHolder();
    holder.matchTitle=(TextView)convertView.findViewById(R.id.match_title);
    holder.red1=(TextView)convertView.findViewById(R.id.red1);
    holder.red2=(TextView)convertView.findViewById(R.id.red2);
    holder.red3=(TextView)convertView.findViewById(R.id.red3);
    holder.blue1=(TextView)convertView.findViewById(R.id.blue1);
    holder.blue2=(TextView)convertView.findViewById(R.id.blue2);
    holder.blue3=(TextView)convertView.findViewById(R.id.blue3);
    holder.redScore=(TextView)convertView.findViewById(R.id.red_score);
    holder.blueScore=(TextView)convertView.findViewById(R.id.blue_score);
    holder.videoIcon=(ImageView)convertView.findViewById(R.id.match_video);
  }
  if (!redScore.contains("String_Node_Str") && !blueScore.contains("String_Node_Str")) {
    try {
      int bScore=Integer.parseInt(blueScore), rScore=Integer.parseInt(redScore);
      if (bScore > rScore) {
        View blue_alliance=convertView.findViewById(R.id.blue_alliance);
        if (blue_alliance != null) {
          blue_alliance.setBackgroundResource(R.drawable.blue_border);
        }
        convertView.findViewById(R.id.blue_score).setBackgroundResource(R.drawable.blue_score_border);
      }
 else       if (bScore < rScore) {
        View red_alliance=convertView.findViewById(R.id.red_alliance);
        if (red_alliance != null) {
          red_alliance.setBackgroundResource(R.drawable.red_border);
        }
        convertView.findViewById(R.id.red_score).setBackgroundResource(R.drawable.red_score_border);
      }
    }
 catch (    NumberFormatException e) {
      Log.w(Constants.LOG_TAG,"String_Node_Str");
    }
  }
  if (videoKey != null) {
    holder.videoIcon.setVisibility(View.VISIBLE);
    holder.videoIcon.setOnClickListener(new View.OnClickListener(){
      @Override public void onClick(      View view){
        Intent intent=new Intent(Intent.ACTION_VIEW,Uri.parse("String_Node_Str" + videoKey));
        view.getContext().startActivity(intent);
      }
    }
);
  }
 else {
    holder.videoIcon.setVisibility(View.INVISIBLE);
  }
  holder.matchTitle.setText(matchTitle);
  TeamClickListener listener=new TeamClickListener(context);
  if (redTeams.length == 0) {
    holder.red1.setText("String_Node_Str");
    holder.red2.setText("String_Node_Str");
    holder.red3.setText("String_Node_Str");
  }
 else {
    holder.red1.setText(redTeams[0]);
    holder.red1.setTag("String_Node_Str" + redTeams[0]);
    holder.red1.setOnClickListener(listener);
    if (selectedTeamNumber.equals(redTeams[0])) {
      holder.red1.setTypeface(Typeface.DEFAULT_BOLD);
    }
    holder.red2.setText(redTeams[1]);
    holder.red2.setTag("String_Node_Str" + redTeams[1]);
    holder.red2.setOnClickListener(listener);
    if (selectedTeamNumber.equals(redTeams[1])) {
      holder.red2.setTypeface(Typeface.DEFAULT_BOLD);
    }
    if (redTeams.length == 2) {
      holder.red3.setVisibility(View.GONE);
    }
 else {
      holder.red3.setVisibility(View.VISIBLE);
      holder.red3.setText(redTeams[2]);
      holder.red3.setTag("String_Node_Str" + redTeams[2]);
      holder.red3.setOnClickListener(listener);
      if (selectedTeamNumber.equals(redTeams[2])) {
        holder.red3.setTypeface(Typeface.DEFAULT_BOLD);
      }
    }
  }
  if (blueTeams.length == 0) {
    holder.blue1.setText("String_Node_Str");
    holder.blue2.setText("String_Node_Str");
    holder.blue3.setText("String_Node_Str");
  }
 else {
    holder.blue1.setText(blueTeams[0]);
    holder.blue1.setTag("String_Node_Str" + blueTeams[0]);
    holder.blue1.setOnClickListener(listener);
    if (selectedTeamNumber.equals(blueTeams[0])) {
      holder.blue1.setTypeface(Typeface.DEFAULT_BOLD);
    }
    holder.blue2.setText(blueTeams[1]);
    holder.blue2.setTag("String_Node_Str" + blueTeams[1]);
    holder.blue2.setOnClickListener(listener);
    if (selectedTeamNumber.equals(blueTeams[1])) {
      holder.blue2.setTypeface(Typeface.DEFAULT_BOLD);
    }
    if (blueTeams.length == 2) {
      holder.blue3.setVisibility(View.GONE);
    }
 else {
      holder.blue3.setVisibility(View.VISIBLE);
      holder.blue3.setText(blueTeams[2]);
      holder.blue3.setTag("String_Node_Str" + blueTeams[2]);
      holder.blue3.setOnClickListener(listener);
      if (selectedTeamNumber.equals(blueTeams[2])) {
        holder.blue3.setTypeface(Typeface.DEFAULT_BOLD);
      }
    }
  }
  holder.redScore.setText(redScore);
  holder.blueScore.setText(blueScore);
  convertView.setTag(matchKey);
  return convertView;
}