Program: 10089
Project: 10089
Buggy source:
@Override public void setUp() throws MojoExecutionException, MojoFailureException {
  builder=new Library();
  if (directory != null) {
    builder.setDirectory(directory);
  }
  super.setUp();
  builder.setOutput(outputFile);
  if (checkNullOrEmpty(includeClasses) && checkNullOrEmpty(includeFiles) && checkNullOrEmpty(includeNamespaces)&& checkNullOrEmpty(includeResourceBundles)&& checkNullOrEmpty(includeResourceBundlesArtifact)&& checkNullOrEmpty(includeSources)&& checkNullOrEmpty(includeStylesheet)) {
    getLog().warn("String_Node_Str");
    includeSources=sourcePaths.clone();
  }
  if (!checkNullOrEmpty(includeClasses)) {
    for (    String asClass : includeClasses) {
      builder.addComponent(asClass);
    }
  }
  if (!checkNullOrEmpty(includeFiles)) {
    for (    File file : includeFiles) {
      if (file == null) {
        throw new MojoFailureException("String_Node_Str");
      }
      if (!file.exists()) {
        throw new MojoFailureException("String_Node_Str" + file.getName() + "String_Node_Str");
      }
      builder.addArchiveFile(file.getName(),file);
    }
  }
  if (!checkNullOrEmpty(includeNamespaces)) {
    for (    String uri : includeNamespaces) {
      try {
        builder.addComponent(new URI(uri));
      }
 catch (      URISyntaxException e) {
        throw new MojoExecutionException("String_Node_Str" + uri,e);
      }
    }
  }
  if (!checkNullOrEmpty(includeResourceBundles)) {
    for (    String rb : includeResourceBundles) {
      builder.addResourceBundle(rb);
    }
  }
  if (!checkNullOrEmpty(includeResourceBundlesArtifact)) {
    for (    MavenArtifact mvnArtifact : includeResourceBundlesArtifact) {
      Artifact artifact=artifactFactory.createArtifactWithClassifier(mvnArtifact.getGroupId(),mvnArtifact.getArtifactId(),mvnArtifact.getVersion(),"String_Node_Str","String_Node_Str");
      resolveArtifact(artifact,resolver,localRepository,remoteRepositories);
      String bundleFile;
      try {
        bundleFile=FileUtils.readFileToString(artifact.getFile());
      }
 catch (      IOException e) {
        throw new MojoExecutionException("String_Node_Str" + artifact,e);
      }
      String[] bundles=bundleFile.split("String_Node_Str");
      for (      String bundle : bundles) {
        builder.addResourceBundle(bundle);
      }
    }
  }
  if (!checkNullOrEmpty(includeSources)) {
    for (    File file : includeSources) {
      if (file == null) {
        throw new MojoFailureException("String_Node_Str");
      }
      if (!file.exists()) {
        throw new MojoFailureException("String_Node_Str" + file.getName() + "String_Node_Str");
      }
      builder.addComponent(file);
    }
  }
  if (!checkNullOrEmpty(includeStylesheet)) {
    for (    Stylesheet sheet : includeStylesheet) {
      if (!sheet.getPath().exists()) {
        throw new MojoExecutionException("String_Node_Str" + sheet.getPath());
      }
      builder.addStyleSheet(sheet.getName(),sheet.getPath());
    }
  }
  configuration.enableDigestComputation(computeDigest);
}

Fixed version (ground truth):
@Override public void setUp() throws MojoExecutionException, MojoFailureException {
  builder=new Library();
  if (directory != null) {
    builder.setDirectory(directory);
  }
  super.setUp();
  builder.setOutput(outputFile);
  if (checkNullOrEmpty(includeClasses) && checkNullOrEmpty(includeFiles) && checkNullOrEmpty(includeNamespaces)&& checkNullOrEmpty(includeResourceBundles)&& checkNullOrEmpty(includeResourceBundlesArtifact)&& checkNullOrEmpty(includeSources)&& checkNullOrEmpty(includeStylesheet)) {
    getLog().warn("String_Node_Str");
    includeSources=sourcePaths.clone();
  }
  if (!checkNullOrEmpty(includeClasses)) {
    for (    String asClass : includeClasses) {
      builder.addComponent(asClass);
    }
  }
  if (!checkNullOrEmpty(includeFiles)) {
    for (    File file : includeFiles) {
      if (file == null) {
        throw new MojoFailureException("String_Node_Str");
      }
      if (!file.exists()) {
        throw new MojoFailureException("String_Node_Str" + file.getName() + "String_Node_Str");
      }
      builder.addArchiveFile(file.getName(),file);
    }
  }
  if (!checkNullOrEmpty(includeNamespaces)) {
    for (    String uri : includeNamespaces) {
      try {
        builder.addComponent(new URI(uri));
      }
 catch (      URISyntaxException e) {
        throw new MojoExecutionException("String_Node_Str" + uri,e);
      }
    }
  }
  if (!checkNullOrEmpty(includeResourceBundles)) {
    for (    String rb : includeResourceBundles) {
      builder.addResourceBundle(rb);
    }
  }
  if (!checkNullOrEmpty(includeResourceBundlesArtifact)) {
    for (    MavenArtifact mvnArtifact : includeResourceBundlesArtifact) {
      Artifact artifact=artifactFactory.createArtifactWithClassifier(mvnArtifact.getGroupId(),mvnArtifact.getArtifactId(),mvnArtifact.getVersion(),"String_Node_Str","String_Node_Str");
      resolveArtifact(artifact,resolver,localRepository,remoteRepositories);
      String bundleFile;
      try {
        bundleFile=FileUtils.readFileToString(artifact.getFile());
      }
 catch (      IOException e) {
        throw new MojoExecutionException("String_Node_Str" + artifact,e);
      }
      String[] bundles=bundleFile.split("String_Node_Str");
      for (      String bundle : bundles) {
        builder.addResourceBundle(bundle);
      }
    }
  }
  if (!checkNullOrEmpty(includeSources)) {
    for (    File file : includeSources) {
      if (file == null) {
        throw new MojoFailureException("String_Node_Str");
      }
      if (!file.exists()) {
        throw new MojoFailureException("String_Node_Str" + file.getName() + "String_Node_Str");
      }
      builder.addComponent(file);
    }
  }
  if (!checkNullOrEmpty(includeStylesheet)) {
    for (    Stylesheet sheet : includeStylesheet) {
      if (!sheet.getPath().exists()) {
        throw new MojoExecutionException("String_Node_Str" + sheet.getPath());
      }
      builder.addStyleSheet(sheet.getName(),sheet.getPath());
    }
  }
  configuration.enableDigestComputation(computeDigest);
  builder.addArchiveFile("String_Node_Str" + project.getGroupId() + "String_Node_Str"+ project.getArtifactId()+ "String_Node_Str",new File(project.getBasedir(),"String_Node_Str"));
}