Program: 24280
Project: 24280
Buggy source:
public ParseResult parseSentence(String sentence){
  String result="String_Node_Str";
  int port=new Integer(ARKref.getProperties().getProperty("String_Node_Str","String_Node_Str"));
  String host="String_Node_Str";
  Socket client;
  PrintWriter pw;
  BufferedReader br;
  String line;
  try {
    client=new Socket(host,port);
    pw=new PrintWriter(client.getOutputStream());
    br=new BufferedReader(new InputStreamReader(client.getInputStream()));
    pw.println(sentence);
    pw.flush();
    while ((line=br.readLine()) != null) {
      if (br.ready()) {
        line=line.replaceAll("String_Node_Str","String_Node_Str");
        line=line.replaceAll("String_Node_Str","String_Node_Str");
        result+=line + "String_Node_Str";
      }
 else {
        lastParseScore=new Double(line);
      }
    }
    br.close();
    pw.close();
    client.close();
    System.err.println("String_Node_Str" + result);
    lastParse=readTreeFromString(result);
    boolean success=!Strings.normalizeWhitespace(result).equals("String_Node_Str");
    return new ParseResult(success,lastParse,lastParseScore);
  }
 catch (  Exception ex) {
    if (DEBUG)     System.err.println("String_Node_Str");
  }
  if (parser == null) {
    try {
      Options op=new Options();
      String serializedInputFileOrUrl=ARKref.getProperties().getProperty("String_Node_Str","String_Node_Str");
      parser=new LexicalizedParser(serializedInputFileOrUrl,op);
      int maxLength=new Integer(ARKref.getProperties().getProperty("String_Node_Str","String_Node_Str")).intValue();
      parser.setMaxLength(maxLength);
      parser.setOptionFlags("String_Node_Str","String_Node_Str");
    }
 catch (    Exception e) {
      e.printStackTrace();
    }
  }
  try {
    if (parser.parse(sentence)) {
      lastParse=parser.getBestParse();
      lastParseScore=parser.getPCFGScore();
      TreePrint tp=new TreePrint("String_Node_Str","String_Node_Str",new PennTreebankLanguagePack());
      StringWriter sb=new StringWriter();
      pw=new PrintWriter(sb);
      tp.printTree(lastParse,pw);
      pw.flush();
      lastParse=readTreeFromString(sb.getBuffer().toString());
      return new ParseResult(true,lastParse,lastParseScore);
    }
  }
 catch (  Exception e) {
  }
  lastParse=readTreeFromString("String_Node_Str");
  lastParseScore=-99999.0;
  return new ParseResult(false,lastParse,lastParseScore);
}

Fixed version (ground truth):
public ParseResult parseSentence(String sentence){
  String result="String_Node_Str";
  int port=new Integer(ARKref.getProperties().getProperty("String_Node_Str","String_Node_Str"));
  String host="String_Node_Str";
  Socket client;
  PrintWriter pw;
  BufferedReader br;
  String line;
  try {
    client=new Socket(host,port);
    pw=new PrintWriter(client.getOutputStream());
    br=new BufferedReader(new InputStreamReader(client.getInputStream()));
    pw.println(sentence);
    pw.flush();
    while ((line=br.readLine()) != null) {
      if (br.ready()) {
        line=line.replaceAll("String_Node_Str","String_Node_Str");
        line=line.replaceAll("String_Node_Str","String_Node_Str");
        result+=line + "String_Node_Str";
      }
 else {
        lastParseScore=new Double(line);
      }
    }
    br.close();
    pw.close();
    client.close();
    System.err.println("String_Node_Str" + result);
    lastParse=readTreeFromString(result);
    boolean success=!Strings.normalizeWhitespace(result).equals("String_Node_Str");
    return new ParseResult(success,lastParse,lastParseScore);
  }
 catch (  Exception ex) {
  }
  if (parser == null) {
    if (DEBUG)     System.err.println("String_Node_Str");
    try {
      Options op=new Options();
      String serializedInputFileOrUrl=ARKref.getProperties().getProperty("String_Node_Str","String_Node_Str");
      parser=new LexicalizedParser(serializedInputFileOrUrl,op);
      int maxLength=new Integer(ARKref.getProperties().getProperty("String_Node_Str","String_Node_Str")).intValue();
      parser.setMaxLength(maxLength);
      parser.setOptionFlags("String_Node_Str","String_Node_Str");
    }
 catch (    Exception e) {
      e.printStackTrace();
    }
  }
  try {
    if (parser.parse(sentence)) {
      lastParse=parser.getBestParse();
      lastParseScore=parser.getPCFGScore();
      TreePrint tp=new TreePrint("String_Node_Str","String_Node_Str",new PennTreebankLanguagePack());
      StringWriter sb=new StringWriter();
      pw=new PrintWriter(sb);
      tp.printTree(lastParse,pw);
      pw.flush();
      lastParse=readTreeFromString(sb.getBuffer().toString());
      return new ParseResult(true,lastParse,lastParseScore);
    }
  }
 catch (  Exception e) {
  }
  lastParse=readTreeFromString("String_Node_Str");
  lastParseScore=-99999.0;
  return new ParseResult(false,lastParse,lastParseScore);
}