Program: 74900
Project: 74900
Buggy source:
/** 
 * Test if text with underline, line-through or overline, uri images(bmp,gif,jpg,png,tif),url images(gif), embeded images(bmp,gif,jpg,png,tif), and report design with page breaks can be correctly rendered. <br> <br> The result PS files have same names as the respective report design, and are put in folder named "testresult" under current working folder. For Eclipse, the current working folder is normally the folder where Eclipse is installed. <br> <b>To check the results, every result files should be checked manually.</b>
 * @throws Exception 
 */
public void testRenderReport() throws Exception {
  String thePackage="String_Node_Str";
  String[] designs=new String[]{"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"};
  String suffix="String_Node_Str";
  HTMLRenderOption options=new HTMLRenderOption();
  options.setOutputFormat("String_Node_Str");
  String resultFolder="String_Node_Str";
  for (int i=0; i < designs.length; i++) {
    if ("String_Node_Str".equals(designs[i]) && !isOnWindows()) {
      continue;
    }
    options.setOutputFileName(resultFolder + designs[i] + "String_Node_Str");
    String design=thePackage + designs[i] + suffix;
    IRunAndRenderTask runAndRenderTask=createRunAndRenderTask(design);
    runAndRenderTask.setRenderOption(options);
    runAndRenderTask.run();
    runAndRenderTask.close();
  }
  System.out.println("String_Node_Str" + new File(resultFolder).getAbsolutePath());
  tearDown();
}

Fixed version (ground truth):
/** 
 * Test if text with underline, line-through or overline, uri images(bmp,gif,jpg,png,tif),url images(gif), embeded images(bmp,gif,jpg,png,tif), and report design with page breaks can be correctly rendered. <br> <br> The result PS files have same names as the respective report design, and are put in folder named "testresult" under current working folder. For Eclipse, the current working folder is normally the folder where Eclipse is installed. <br> <b>To check the results, every result files should be checked manually.</b>
 * @throws Exception 
 */
public void testRenderReport() throws Exception {
  if (isOnWindows()) {
    String thePackage="String_Node_Str";
    String[] designs=new String[]{"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"};
    String suffix="String_Node_Str";
    HTMLRenderOption options=new HTMLRenderOption();
    options.setOutputFormat("String_Node_Str");
    String resultFolder="String_Node_Str";
    for (int i=0; i < designs.length; i++) {
      options.setOutputFileName(resultFolder + designs[i] + "String_Node_Str");
      String design=thePackage + designs[i] + suffix;
      IRunAndRenderTask runAndRenderTask=createRunAndRenderTask(design);
      runAndRenderTask.setRenderOption(options);
      runAndRenderTask.run();
      runAndRenderTask.close();
    }
    System.out.println("String_Node_Str" + new File(resultFolder).getAbsolutePath());
  }
}