Program: 19679
Project: 19679
Buggy source:
/** 
 * Main method for running the MAPConfidenceTest demo.
 */
public static void main(String[] args){
  try {
    URL configURL=new File("String_Node_Str").toURI().toURL();
    System.out.println("String_Node_Str");
    ConfigurationManager cm=new ConfigurationManager(configURL);
    Recognizer recognizer=(Recognizer)cm.lookup("String_Node_Str");
    recognizer.allocate();
    Microphone microphone=(Microphone)cm.lookup("String_Node_Str");
    if (microphone.startRecording()) {
      while (true) {
        Result result=recognizer.recognize();
        if (result != null) {
          System.out.println("String_Node_Str" + result.toString());
          ConfidenceScorer cs=(ConfidenceScorer)cm.lookup("String_Node_Str");
          ConfidenceResult cr=cs.score(result);
          Path best=cr.getBestHypothesis();
          WordResult[] words=best.getWords();
          for (int i=0; i < words.length; i++) {
            WordResult wr=words[i];
            System.out.println(wr.getPronunciation().getWord().getSpelling());
            System.out.println("String_Node_Str" + wr.getLogMath().logToLinear((float)wr.getConfidence()) + "String_Node_Str");
          }
          System.out.println();
          System.out.println(best.getTranscription());
          System.out.println("String_Node_Str" + best.getLogMath().logToLinear((float)best.getConfidence()) + "String_Node_Str");
          System.out.println();
        }
      }
    }
  }
 catch (  IOException e) {
    System.err.println("String_Node_Str" + e);
    e.printStackTrace();
  }
catch (  PropertyException e) {
    System.err.println("String_Node_Str" + e);
    e.printStackTrace();
  }
catch (  InstantiationException e) {
    System.err.println("String_Node_Str" + e);
    e.printStackTrace();
  }
}

Fixed version (ground truth):
/** 
 * Main method for running the MAPConfidenceTest demo.
 */
public static void main(String[] args){
  try {
    URL configURL=new File("String_Node_Str").toURI().toURL();
    System.out.println("String_Node_Str");
    ConfigurationManager cm=new ConfigurationManager(configURL);
    Recognizer recognizer=(Recognizer)cm.lookup("String_Node_Str");
    recognizer.allocate();
    Microphone microphone=(Microphone)cm.lookup("String_Node_Str");
    if (microphone.startRecording()) {
      while (true) {
        Result result=recognizer.recognize();
        if (result != null) {
          System.out.println("String_Node_Str" + result.toString());
          ConfidenceScorer cs=(ConfidenceScorer)cm.lookup("String_Node_Str");
          ConfidenceResult cr=cs.score(result);
          Path best=cr.getBestHypothesis();
          WordResult[] words=best.getWords();
          for (int i=0; i < words.length; i++) {
            WordResult wr=words[i];
            System.out.println(wr.getPronunciation().getWord().getSpelling());
            System.out.println("String_Node_Str" + wr.getLogMath().logToLinear((float)wr.getConfidence()) + "String_Node_Str");
          }
          System.out.println();
          System.out.println(best.getTranscription());
          System.out.println("String_Node_Str" + best.getLogMath().logToLinear((float)best.getConfidence()) + "String_Node_Str");
          System.out.println();
        }
      }
    }
  }
 catch (  IOException e) {
    System.err.println("String_Node_Str" + e);
    e.printStackTrace();
  }
catch (  PropertyException e) {
    System.err.println("String_Node_Str" + e);
    e.printStackTrace();
  }
}