Program: 109451
Project: 109451
Buggy source:
private void setupAndRun(Set<String> includeTags,Set<String> excludeTags,Set<String> sources,Set<String> targets) throws Exception {
  Assert.assertNotNull(uiTestHarness);
  this.tag1SourceGlassfishRuleProvider.executed=false;
  this.tag1SourceGlassfishTargetFooRuleProvider.executed=false;
  this.tag2SourceGlassfishTargetJBossRuleProvider.executed=false;
  this.tag3SourceOrionServerRuleProvider.executed=false;
  try (CommandController controller=uiTestHarness.createCommandController(WindupCommand.class)){
    File outputFile=File.createTempFile("String_Node_Str","String_Node_Str");
    outputFile.deleteOnExit();
    File inputFile=File.createTempFile("String_Node_Str","String_Node_Str");
    inputFile.deleteOnExit();
    try (InputStream iStream=getClass().getResourceAsStream("String_Node_Str")){
      try (OutputStream oStream=new FileOutputStream(outputFile)){
        IOUtils.copy(iStream,oStream);
      }
     }
     File reportPath=new File(inputFile.getAbsoluteFile() + "String_Node_Str");
    try {
      reportPath.mkdirs();
      controller.initialize();
      Assert.assertTrue(controller.isEnabled());
      controller.setValueFor("String_Node_Str",inputFile);
      Assert.assertTrue(controller.canExecute());
      if (outputFile != null) {
        controller.setValueFor("String_Node_Str",outputFile);
      }
      Assert.assertTrue(controller.canExecute());
      if (includeTags != null) {
        controller.setValueFor(IncludeTagsOption.NAME,includeTags);
      }
      if (excludeTags != null) {
        controller.setValueFor(ExcludeTagsOption.NAME,excludeTags);
      }
      if (sources != null) {
        controller.setValueFor(SourceOption.NAME,sources);
      }
      if (targets != null) {
        controller.setValueFor(TargetOption.NAME,targets);
      }
      Result result=controller.execute();
      final String msg="String_Node_Str" + result.getMessage();
      Assert.assertFalse(msg,result instanceof Failed);
    }
  finally {
      inputFile.delete();
      FileUtils.deleteDirectory(reportPath);
    }
  }
 }

Fixed version (ground truth):
private void setupAndRun(Set<String> includeTags,Set<String> excludeTags,Set<String> sources,Set<String> targets) throws Exception {
  Assert.assertNotNull(uiTestHarness);
  this.tag1SourceGlassfishRuleProvider.executed=false;
  this.tag1SourceGlassfishTargetFooRuleProvider.executed=false;
  this.tag2SourceGlassfishTargetJBossRuleProvider.executed=false;
  this.tag3SourceOrionServerRuleProvider.executed=false;
  try (CommandController controller=uiTestHarness.createCommandController(WindupCommand.class)){
    File outputFile=File.createTempFile("String_Node_Str","String_Node_Str");
    outputFile.deleteOnExit();
    File inputFile=File.createTempFile("String_Node_Str","String_Node_Str");
    inputFile.deleteOnExit();
    try (InputStream iStream=getClass().getResourceAsStream("String_Node_Str")){
      try (OutputStream oStream=new FileOutputStream(outputFile)){
        IOUtils.copy(iStream,oStream);
      }
     }
     File reportPath=new File(inputFile.getAbsoluteFile() + "String_Node_Str");
    try {
      reportPath.mkdirs();
      controller.initialize();
      Assert.assertTrue(controller.isEnabled());
      controller.setValueFor("String_Node_Str",inputFile);
      if (outputFile != null) {
        controller.setValueFor("String_Node_Str",outputFile);
      }
      if (includeTags != null) {
        controller.setValueFor(IncludeTagsOption.NAME,includeTags);
      }
      if (excludeTags != null) {
        controller.setValueFor(ExcludeTagsOption.NAME,excludeTags);
      }
      if (sources != null) {
        controller.setValueFor(SourceOption.NAME,sources);
      }
      if (targets != null) {
        controller.setValueFor(TargetOption.NAME,targets);
      }
      Assert.assertTrue(controller.canExecute());
      Result result=controller.execute();
      final String msg="String_Node_Str" + result.getMessage();
      Assert.assertFalse(msg,result instanceof Failed);
    }
  finally {
      inputFile.delete();
      FileUtils.deleteDirectory(reportPath);
    }
  }
 }