Program: 168346
Project: 168346
Buggy source:
@Override public void onBindViewHolder(VisitViewHolder visitViewHolder,final int position){
  Visit visit=mVisits.get(position);
  visitViewHolder.mVisitStart.setText(DateUtils.convertTime1(visit.getStartDatetime(),DateUtils.DATE_WITH_TIME_FORMAT));
  if (DateUtils.convertTime(visit.getStopDatetime()) != null) {
    visitViewHolder.mVisitEnd.setVisibility(View.VISIBLE);
    visitViewHolder.mVisitEnd.setText(DateUtils.convertTime1((visit.getStopDatetime()),DateUtils.DATE_WITH_TIME_FORMAT));
    visitViewHolder.mVisitStatusIcon.setImageBitmap(ImageUtils.decodeBitmapFromResource(mContext.getResources(),R.drawable.past_visit_dot,visitViewHolder.mVisitStatusIcon.getLayoutParams().width,visitViewHolder.mVisitStatusIcon.getLayoutParams().height));
    visitViewHolder.mVisitStatus.setText(mContext.getString(R.string.past_visit_label));
  }
 else {
    visitViewHolder.mVisitEnd.setVisibility(View.INVISIBLE);
    visitViewHolder.mVisitStatusIcon.setImageBitmap(ImageUtils.decodeBitmapFromResource(mContext.getResources(),R.drawable.active_visit_dot,visitViewHolder.mVisitStatusIcon.getLayoutParams().width,visitViewHolder.mVisitStatusIcon.getLayoutParams().height));
    visitViewHolder.mVisitStatus.setText(mContext.getString(R.string.active_visit_label));
  }
  visitViewHolder.mVisitPlace.setText(mContext.getString(R.string.visit_in,visit.getLocation().getDisplay()));
  visitViewHolder.mRelativeLayout.setOnClickListener(new View.OnClickListener(){
    @Override public void onClick(    View v){
      mContext.goToVisitDashboard(mVisits.get(position).getId());
    }
  }
);
}

Fixed version (ground truth):
@Override public void onBindViewHolder(VisitViewHolder visitViewHolder,final int position){
  Visit visit=mVisits.get(position);
  visitViewHolder.mVisitStart.setText(DateUtils.convertTime1(visit.getStartDatetime(),DateUtils.DATE_WITH_TIME_FORMAT));
  if (DateUtils.convertTime(visit.getStopDatetime()) != null) {
    visitViewHolder.mVisitEnd.setVisibility(View.VISIBLE);
    visitViewHolder.mVisitEnd.setText(DateUtils.convertTime1((visit.getStopDatetime()),DateUtils.DATE_WITH_TIME_FORMAT));
    visitViewHolder.mVisitStatusIcon.setImageBitmap(ImageUtils.decodeBitmapFromResource(mContext.getResources(),R.drawable.past_visit_dot,visitViewHolder.mVisitStatusIcon.getLayoutParams().width,visitViewHolder.mVisitStatusIcon.getLayoutParams().height));
    visitViewHolder.mVisitStatus.setText(mContext.getString(R.string.past_visit_label));
  }
 else {
    visitViewHolder.mVisitEnd.setVisibility(View.INVISIBLE);
    visitViewHolder.mVisitStatusIcon.setImageBitmap(ImageUtils.decodeBitmapFromResource(mContext.getResources(),R.drawable.active_visit_dot,visitViewHolder.mVisitStatusIcon.getLayoutParams().width,visitViewHolder.mVisitStatusIcon.getLayoutParams().height));
    visitViewHolder.mVisitStatus.setText(mContext.getString(R.string.active_visit_label));
  }
  if (visit.getLocation() != null) {
    visitViewHolder.mVisitPlace.setText(mContext.getString(R.string.visit_in,visit.getLocation().getDisplay()));
  }
  visitViewHolder.mRelativeLayout.setOnClickListener(new View.OnClickListener(){
    @Override public void onClick(    View v){
      mContext.goToVisitDashboard(mVisits.get(position).getId());
    }
  }
);
}