Program: 25934
Project: 25934
Buggy source:
private void fetchFriendsOrFollowers(Bundle bundle){
  String ownerId=bundle.getString(Commons.EXTRA_ID);
  int page=bundle.getInt(Commons.EXTRA_PAGE);
  int count=bundle.getInt(Commons.EXTRA_COUNT);
  if (App.DEBUG)   log("String_Node_Str" + ownerId + "String_Node_Str"+ page);
  if (App.me.apnType == ApnType.WIFI) {
    count=FanFouApiConfig.MAX_USERS_COUNT;
  }
 else {
    count=FanFouApiConfig.DEFAULT_USERS_COUNT;
  }
  Api api=App.api;
  try {
    List<User> users=null;
    if (mType == User.TYPE_FRIENDS) {
      users=api.usersFriends(ownerId,count,page,FanFouApiConfig.MODE_LITE);
    }
 else     if (mType == User.TYPE_FOLLOWERS) {
      users=api.usersFollowers(ownerId,count,page,FanFouApiConfig.MODE_LITE);
    }
    if (users != null && users.size() > 0) {
      int size=users.size();
      if (App.DEBUG)       log("String_Node_Str" + size);
      ContentResolver cr=getContentResolver();
      if (page <= 1 && ownerId != null) {
        String where=UserInfo.OWNER_ID + "String_Node_Str";
        String[] whereArgs=new String[]{ownerId};
        int deletedNums=cr.delete(UserInfo.CONTENT_URI,where,whereArgs);
        if (App.DEBUG) {
          log("String_Node_Str" + deletedNums);
        }
      }
      int nums=cr.bulkInsert(UserInfo.CONTENT_URI,Parser.toContentValuesArray(users));
      if (App.DEBUG) {
        log("String_Node_Str" + nums);
      }
      sendCountMessage(nums);
    }
 else {
      sendCountMessage(0);
    }
  }
 catch (  ApiException e) {
    if (App.DEBUG) {
      e.printStackTrace();
    }
    handleError(e);
  }
}

Fixed version (ground truth):
private void fetchFriendsOrFollowers(Bundle bundle){
  String ownerId=bundle.getString(Commons.EXTRA_ID);
  int page=bundle.getInt(Commons.EXTRA_PAGE);
  int count=bundle.getInt(Commons.EXTRA_COUNT);
  if (App.DEBUG)   log("String_Node_Str" + ownerId + "String_Node_Str"+ page);
  if (App.me.apnType == ApnType.WIFI) {
    count=FanFouApiConfig.MAX_USERS_COUNT;
  }
 else {
    count=FanFouApiConfig.DEFAULT_USERS_COUNT;
  }
  Api api=App.api;
  try {
    List<User> users=null;
    if (mType == User.TYPE_FRIENDS) {
      users=api.usersFriends(ownerId,count,page,FanFouApiConfig.MODE_LITE);
    }
 else     if (mType == User.TYPE_FOLLOWERS) {
      users=api.usersFollowers(ownerId,count,page,FanFouApiConfig.MODE_LITE);
    }
    if (users != null && users.size() > 0) {
      int size=users.size();
      if (App.DEBUG) {
        log("String_Node_Str" + size);
      }
      ContentResolver cr=getContentResolver();
      if (page < 2 && ownerId != null) {
        String where=UserInfo.OWNER_ID + "String_Node_Str";
        String[] whereArgs=new String[]{ownerId};
        int deletedNums=cr.delete(UserInfo.CONTENT_URI,where,whereArgs);
        if (App.DEBUG) {
          log("String_Node_Str" + deletedNums);
        }
      }
      int nums=cr.bulkInsert(UserInfo.CONTENT_URI,Parser.toContentValuesArray(users));
      if (App.DEBUG) {
        log("String_Node_Str" + nums);
      }
      sendCountMessage(nums);
    }
 else {
      sendCountMessage(0);
    }
  }
 catch (  ApiException e) {
    if (App.DEBUG) {
      e.printStackTrace();
    }
    handleError(e);
  }
}