Program: 177887
Project: 177887
Buggy source:
@Override public View getView(int position,View view,ViewGroup parent){
  ViewHolder holder;
  Drawable defaultImage=drawables.getDrawable(SocializeUI.DEFAULT_USER_ICON,deviceUtils.getDIP(iconSize),deviceUtils.getDIP(iconSize),true);
  if (view == null) {
    CommentListItem v=commentItemViewFactory.getBean();
    holder=new ViewHolder();
    holder.time=v.getTime();
    holder.userName=v.getAuthor();
    holder.comment=v.getComment();
    holder.now=new Date();
    v.setTag(holder);
    view=v;
  }
 else {
    holder=(ViewHolder)view.getTag();
  }
  if (position >= comments.size()) {
    if (loadingView == null) {
      loadingView=listItemLoadingViewFactory.getBean();
      loadingView.setTag(holder);
    }
    view=loadingView;
  }
 else {
    Comment item=(Comment)getItem(position);
    if (item != null) {
      User currentUser=Socialize.getSocialize().getSession().getUser();
      User user=item.getUser();
      if (currentUser != null && user != null && currentUser.getId().equals(user.getId())) {
        user=currentUser;
      }
      if (holder.comment != null) {
        holder.comment.setText(item.getText());
      }
      if (holder.userName != null) {
        if (user != null) {
          holder.userName.setText(user.getDisplayName());
        }
 else {
          holder.userName.setText("String_Node_Str");
        }
      }
      if (holder.time != null) {
        Long date=item.getDate();
        if (date != null && date > 0) {
          long diff=(holder.now.getTime() - date.longValue());
          holder.time.setText(timeUtils.getTimeString(diff) + "String_Node_Str");
        }
 else {
          holder.time.setText("String_Node_Str");
        }
      }
      if (holder.userIcon != null) {
        if (user != null) {
          if (!StringUtils.isEmpty(user.getSmallImageUri())) {
            try {
              Uri uri=Uri.parse(user.getSmallImageUri());
              holder.userIcon.setImageURI(uri);
            }
 catch (            Exception e) {
              String errorMsg="String_Node_Str" + user.getSmallImageUri() + "String_Node_Str";
              if (logger != null) {
                logger.error(errorMsg,e);
              }
 else {
                System.err.println(errorMsg);
              }
              holder.userIcon.setImageDrawable(defaultImage);
            }
          }
 else           if (drawables != null && !StringUtils.isEmpty(user.getProfilePicData())) {
            try {
              Drawable drawable=drawables.getDrawable(user.getId().toString(),Base64.decode(user.getProfilePicData()),deviceUtils.getDIP(iconSize),deviceUtils.getDIP(iconSize));
              holder.userIcon.setImageDrawable(drawable);
            }
 catch (            Base64DecoderException e) {
              if (logger != null) {
                logger.error("String_Node_Str",e);
              }
 else {
                e.printStackTrace();
              }
              holder.userIcon.setImageDrawable(defaultImage);
            }
          }
 else {
            holder.userIcon.setImageDrawable(defaultImage);
          }
        }
 else {
          holder.userIcon.setImageDrawable(defaultImage);
        }
      }
    }
  }
  return view;
}

Fixed version (ground truth):
@Override public View getView(int position,View view,ViewGroup parent){
  ViewHolder holder;
  Drawable defaultImage=drawables.getDrawable(SocializeUI.DEFAULT_USER_ICON,deviceUtils.getDIP(iconSize),deviceUtils.getDIP(iconSize),true);
  if (view == null) {
    CommentListItem v=commentItemViewFactory.getBean();
    holder=new ViewHolder();
    holder.time=v.getTime();
    holder.userName=v.getAuthor();
    holder.comment=v.getComment();
    holder.now=new Date();
    v.setTag(holder);
    view=v;
  }
 else {
    holder=(ViewHolder)view.getTag();
  }
  if (position >= comments.size()) {
    if (loadingView == null) {
      loadingView=listItemLoadingViewFactory.getBean();
      loadingView.setTag(holder);
    }
    view=loadingView;
  }
 else {
    Comment item=(Comment)getItem(position);
    if (item != null) {
      User currentUser=Socialize.getSocialize().getSession().getUser();
      User user=item.getUser();
      if (currentUser != null && user != null && currentUser.getId().equals(user.getId())) {
        user=currentUser;
      }
      if (holder.comment != null) {
        holder.comment.setText(item.getText());
      }
      if (holder.userName != null) {
        if (user != null) {
          holder.userName.setText(position + "String_Node_Str" + user.getDisplayName());
        }
 else {
          holder.userName.setText("String_Node_Str");
        }
      }
      if (holder.time != null) {
        Long date=item.getDate();
        if (date != null && date > 0) {
          long diff=(holder.now.getTime() - date.longValue());
          holder.time.setText(timeUtils.getTimeString(diff) + "String_Node_Str");
        }
 else {
          holder.time.setText("String_Node_Str");
        }
      }
      if (holder.userIcon != null) {
        if (user != null) {
          if (!StringUtils.isEmpty(user.getSmallImageUri())) {
            try {
              Uri uri=Uri.parse(user.getSmallImageUri());
              holder.userIcon.setImageURI(uri);
            }
 catch (            Exception e) {
              String errorMsg="String_Node_Str" + user.getSmallImageUri() + "String_Node_Str";
              if (logger != null) {
                logger.error(errorMsg,e);
              }
 else {
                System.err.println(errorMsg);
              }
              holder.userIcon.setImageDrawable(defaultImage);
            }
          }
 else           if (drawables != null && !StringUtils.isEmpty(user.getProfilePicData())) {
            try {
              Drawable drawable=drawables.getDrawable(user.getId().toString(),Base64.decode(user.getProfilePicData()),deviceUtils.getDIP(iconSize),deviceUtils.getDIP(iconSize));
              holder.userIcon.setImageDrawable(drawable);
            }
 catch (            Base64DecoderException e) {
              if (logger != null) {
                logger.error("String_Node_Str",e);
              }
 else {
                e.printStackTrace();
              }
              holder.userIcon.setImageDrawable(defaultImage);
            }
          }
 else {
            holder.userIcon.setImageDrawable(defaultImage);
          }
        }
 else {
          holder.userIcon.setImageDrawable(defaultImage);
        }
      }
    }
  }
  return view;
}