Program: 14986
Project: 14986
Buggy source:
public static void addOrUpdatePosts(final String tagName,ReaderPostList posts){
  if (posts == null || posts.size() == 0)   return;
  SQLiteDatabase db=ReaderDatabase.getWritableDb();
  db.beginTransaction();
  SQLiteStatement stmtPosts=db.compileStatement("String_Node_Str" + COLUMN_NAMES + "String_Node_Str");
  SQLiteStatement stmtTags=db.compileStatement("String_Node_Str");
  try {
    for (    ReaderPost post : posts) {
      stmtPosts.bindLong(1,post.postId);
      stmtPosts.bindLong(2,post.blogId);
      stmtPosts.bindString(3,post.getPseudoId());
      stmtPosts.bindString(4,post.getAuthorName());
      stmtPosts.bindString(5,post.getTitle());
      stmtPosts.bindString(6,post.getText());
      stmtPosts.bindString(7,post.getExcerpt());
      stmtPosts.bindString(8,post.getUrl());
      stmtPosts.bindString(9,post.getBlogUrl());
      stmtPosts.bindString(10,post.getBlogName());
      stmtPosts.bindString(11,post.getFeaturedImage());
      stmtPosts.bindString(12,post.getFeaturedVideo());
      stmtPosts.bindString(13,post.getPostAvatar());
      stmtPosts.bindLong(14,post.timestamp);
      stmtPosts.bindString(15,post.getPublished());
      stmtPosts.bindLong(16,post.numReplies);
      stmtPosts.bindLong(17,post.numLikes);
      stmtPosts.bindLong(18,SqlUtils.boolToSql(post.isLikedByCurrentUser));
      stmtPosts.bindLong(19,SqlUtils.boolToSql(post.isFollowedByCurrentUser));
      stmtPosts.bindLong(20,SqlUtils.boolToSql(post.isCommentsOpen));
      stmtPosts.bindLong(21,SqlUtils.boolToSql(post.isRebloggedByCurrentUser));
      stmtPosts.bindLong(22,SqlUtils.boolToSql(post.isExternal));
      stmtPosts.bindLong(23,SqlUtils.boolToSql(post.isPrivate));
      stmtPosts.execute();
      stmtPosts.clearBindings();
    }
    if (!TextUtils.isEmpty(tagName)) {
      for (      ReaderPost post : posts) {
        stmtTags.bindLong(1,post.postId);
        stmtTags.bindLong(2,post.blogId);
        stmtTags.bindString(3,post.getPseudoId());
        stmtTags.bindString(4,tagName);
        stmtTags.execute();
        stmtTags.clearBindings();
      }
    }
    db.setTransactionSuccessful();
  }
  finally {
    db.endTransaction();
    SqlUtils.closeStatement(stmtPosts);
    SqlUtils.closeStatement(stmtTags);
  }
}

Fixed version (ground truth):
public static void addOrUpdatePosts(final String tagName,ReaderPostList posts){
  if (posts == null || posts.size() == 0)   return;
  SQLiteDatabase db=ReaderDatabase.getWritableDb();
  db.beginTransaction();
  SQLiteStatement stmtPosts=db.compileStatement("String_Node_Str" + COLUMN_NAMES + "String_Node_Str");
  SQLiteStatement stmtTags=db.compileStatement("String_Node_Str");
  try {
    for (    ReaderPost post : posts) {
      stmtPosts.bindLong(1,post.postId);
      stmtPosts.bindLong(2,post.blogId);
      stmtPosts.bindString(3,post.getPseudoId());
      stmtPosts.bindString(4,post.getAuthorName());
      stmtPosts.bindString(5,post.getTitle());
      stmtPosts.bindString(6,post.getText());
      stmtPosts.bindString(7,post.getExcerpt());
      stmtPosts.bindString(8,post.getUrl());
      stmtPosts.bindString(9,post.getBlogUrl());
      stmtPosts.bindString(10,post.getBlogName());
      stmtPosts.bindString(11,post.getFeaturedImage());
      stmtPosts.bindString(12,post.getFeaturedVideo());
      stmtPosts.bindString(13,post.getPostAvatar());
      stmtPosts.bindLong(14,post.timestamp);
      stmtPosts.bindString(15,post.getPublished());
      stmtPosts.bindLong(16,post.numReplies);
      stmtPosts.bindLong(17,post.numLikes);
      stmtPosts.bindLong(18,SqlUtils.boolToSql(post.isLikedByCurrentUser));
      stmtPosts.bindLong(19,SqlUtils.boolToSql(post.isFollowedByCurrentUser));
      stmtPosts.bindLong(20,SqlUtils.boolToSql(post.isCommentsOpen));
      stmtPosts.bindLong(21,SqlUtils.boolToSql(post.isRebloggedByCurrentUser));
      stmtPosts.bindLong(22,SqlUtils.boolToSql(post.isExternal));
      stmtPosts.bindLong(23,SqlUtils.boolToSql(post.isPrivate));
      stmtPosts.bindLong(24,SqlUtils.boolToSql(post.isVideoPress));
      stmtPosts.execute();
      stmtPosts.clearBindings();
    }
    if (!TextUtils.isEmpty(tagName)) {
      for (      ReaderPost post : posts) {
        stmtTags.bindLong(1,post.postId);
        stmtTags.bindLong(2,post.blogId);
        stmtTags.bindString(3,post.getPseudoId());
        stmtTags.bindString(4,tagName);
        stmtTags.execute();
        stmtTags.clearBindings();
      }
    }
    db.setTransactionSuccessful();
  }
  finally {
    db.endTransaction();
    SqlUtils.closeStatement(stmtPosts);
    SqlUtils.closeStatement(stmtTags);
  }
}