Program: 10112
Project: 10112
Buggy source:
public Post newYotsubaPost(String link,String mediaOrig,boolean spoiler,String filesize,int width,int height,String filename,int tWidth,int tHeight,String md5,int num,String title,String email,String name,String trip,String capcode,int dateUtc,boolean sticky,String comment,boolean omitted,int threadNum,String posterHash,String posterCountry) throws ContentParseException {
  String type="String_Node_Str";
  String previewOrig=null;
  String exif=null;
  int timeStampExpired=0;
  if (threadNum == 0)   threadNum=num;
  boolean op=(threadNum == num);
  if (name.equals("String_Node_Str"))   name=null;
  if (comment.equals("String_Node_Str"))   comment=null;
  if (title.equals("String_Node_Str"))   title=null;
  if (posterCountry != null && (posterCountry.equals("String_Node_Str") || posterCountry.equals("String_Node_Str")))   posterCountry=null;
  if (link != null) {
    Pattern pat=Pattern.compile("String_Node_Str");
    Matcher mat=pat.matcher(link);
    if (mat.find()) {
      String number=mat.group(1);
      type=mat.group(2);
      filename=(filename != null) ? filename : (number + "String_Node_Str" + type);
      if (mediaOrig == null)       mediaOrig=number + "String_Node_Str" + type;
      previewOrig=number + "String_Node_Str";
    }
  }
  if (spoiler) {
    tWidth=0;
    tHeight=0;
  }
  int timeStamp;
  int mediaSize;
  try {
    timeStamp=this.parseDate(dateUtc);
    mediaSize=this.parseFilesize(filesize);
  }
 catch (  IllegalArgumentException e) {
    throw new ContentParseException("String_Node_Str" + num,e);
  }
  Post post=new Post();
  post.setLink(link);
  post.setType(type);
  post.setMediaOrig(mediaOrig);
  post.setMediaHash(md5);
  post.setMediaFilename(filename);
  post.setMediaSize(mediaSize);
  post.setMediaW(width);
  post.setMediaH(height);
  post.setPreviewOrig(previewOrig);
  post.setPreviewW(tWidth);
  post.setPreviewH(tHeight);
  post.setExif(exif);
  post.setNum(num);
  post.setThreadNum(threadNum);
  post.setOp(op);
  post.setTitle(this.cleanSimple(title));
  post.setEmail(email);
  post.setName(this.cleanSimple(name));
  post.setTrip(trip);
  post.setDate(timeStamp);
  post.setDateExpired(timeStampExpired);
  post.setComment(this.doClean(comment));
  post.setSpoiler(spoiler);
  post.setDeleted(false);
  post.setSticky(sticky);
  post.setCapcode(capcode);
  post.setPosterHash(posterHash);
  post.setPosterCountry(posterCountry);
  post.setOmitted(omitted);
  return post;
}

Fixed version (ground truth):
public Post newYotsubaPost(String link,String mediaOrig,boolean spoiler,String filesize,int width,int height,String filename,int tWidth,int tHeight,String md5,int num,String title,String email,String name,String trip,String capcode,int dateUtc,boolean sticky,String comment,boolean omitted,int threadNum,String posterHash,String posterCountry) throws ContentParseException {
  String type="String_Node_Str";
  String previewOrig=null;
  String exif=null;
  int timeStampExpired=0;
  if (threadNum == 0)   threadNum=num;
  boolean op=(threadNum == num);
  if (name.equals("String_Node_Str"))   name=null;
  if (comment.equals("String_Node_Str"))   comment=null;
  if (title.equals("String_Node_Str"))   title=null;
  if (posterCountry != null && (posterCountry.equals("String_Node_Str") || posterCountry.equals("String_Node_Str")))   posterCountry=null;
  if (link != null) {
    Pattern pat=Pattern.compile("String_Node_Str");
    Matcher mat=pat.matcher(link);
    if (mat.find()) {
      String number=mat.group(1);
      type=mat.group(2);
      filename=(filename != null) ? filename : (number + "String_Node_Str" + type);
      if (mediaOrig == null)       mediaOrig=number + "String_Node_Str" + type;
      previewOrig=number + "String_Node_Str";
    }
  }
  if (spoiler) {
    tWidth=0;
    tHeight=0;
  }
  int timeStamp;
  int mediaSize;
  try {
    timeStamp=this.parseDate(dateUtc);
    mediaSize=this.parseFilesize(filesize);
  }
 catch (  IllegalArgumentException e) {
    throw new ContentParseException("String_Node_Str" + num,e);
  }
  Post post=new Post();
  post.setLink(link);
  post.setType(type);
  post.setMediaOrig(mediaOrig);
  post.setMediaHash(md5);
  post.setMediaFilename(filename);
  post.setMediaSize(mediaSize);
  post.setMediaW(width);
  post.setMediaH(height);
  post.setPreviewOrig(previewOrig);
  post.setPreviewW(tWidth);
  post.setPreviewH(tHeight);
  post.setExif(exif);
  post.setNum(num);
  post.setThreadNum(threadNum);
  post.setOp(op);
  post.setTitle(this.cleanSimple(title));
  post.setEmail(this.cleanSimple(email));
  post.setName(this.cleanSimple(name));
  post.setTrip(trip);
  post.setDate(timeStamp);
  post.setDateExpired(timeStampExpired);
  post.setComment(this.doClean(comment));
  post.setSpoiler(spoiler);
  post.setDeleted(false);
  post.setSticky(sticky);
  post.setCapcode(capcode);
  post.setPosterHash(posterHash);
  post.setPosterCountry(posterCountry);
  post.setOmitted(omitted);
  return post;
}