Program: 10058
Project: 10058
Buggy source:
@SuppressWarnings("String_Node_Str") protected void setUp() throws MojoExecutionException, MojoFailureException {
  if (sourcePaths == null) {
    sourcePaths=MavenUtils.getSourcePaths(build);
  }
  if (docSources == null && docClasses == null && docNamespaces == null) {
    getLog().warn("String_Node_Str");
    docSources=MavenUtils.getSourcePaths(build);
  }
  libraries=new ArrayList<File>();
  for (  Artifact artifact : MavenUtils.getDependencyArtifacts(project,resolver,localRepository,remoteRepositories,artifactMetadataSource)) {
    if ("String_Node_Str".equals(artifact.getType())) {
      libraries.add(artifact.getFile());
    }
  }
  if (output == null) {
    output=new File(build.getDirectory(),"String_Node_Str");
    if (!output.exists()) {
      output.mkdirs();
    }
  }
  if (configFile == null) {
    List<Resource> resources=build.getResources();
    for (    Resource resource : resources) {
      File cfg=new File(resource.getDirectory(),getConfigFileName());
      if (cfg.exists()) {
        configFile=cfg;
        break;
      }
    }
  }
  if (configFile == null) {
    URL url=getClass().getResource("String_Node_Str" + getConfigFileName());
    configFile=new File(build.getDirectory(),getConfigFileName());
    try {
      FileUtils.copyURLToFile(url,configFile);
    }
 catch (    IOException e) {
      throw new MojoExecutionException("String_Node_Str");
    }
  }
  if (!configFile.exists()) {
    throw new MojoExecutionException("String_Node_Str" + configFile);
  }
  if (fontsSnapshot == null) {
    URL url;
    if (MavenUtils.isMac()) {
      url=getClass().getResource("String_Node_Str");
    }
 else {
      url=getClass().getResource("String_Node_Str");
    }
    File fontsSer=new File(build.getDirectory(),"String_Node_Str");
    try {
      FileUtils.copyURLToFile(url,fontsSer);
    }
 catch (    IOException e) {
      throw new MojoExecutionException("String_Node_Str");
    }
    fontsSnapshot=fontsSer;
  }
  if (templatesPath == null) {
    templatesPath=generateDefaultTemplate();
  }
}

Fixed version (ground truth):
@SuppressWarnings("String_Node_Str") protected void setUp() throws MojoExecutionException, MojoFailureException {
  if (sourcePaths == null) {
    sourcePaths=MavenUtils.getSourcePaths(project,build);
  }
  if (docSources == null && docClasses == null && docNamespaces == null) {
    getLog().warn("String_Node_Str");
    docSources=sourcePaths;
  }
  libraries=new ArrayList<File>();
  for (  Artifact artifact : MavenUtils.getDependencyArtifacts(project,resolver,localRepository,remoteRepositories,artifactMetadataSource)) {
    if ("String_Node_Str".equals(artifact.getType())) {
      libraries.add(artifact.getFile());
    }
  }
  if (output == null) {
    output=new File(build.getDirectory(),"String_Node_Str");
    if (!output.exists()) {
      output.mkdirs();
    }
  }
  if (configFile == null) {
    List<Resource> resources=build.getResources();
    for (    Resource resource : resources) {
      File cfg=new File(resource.getDirectory(),getConfigFileName());
      if (cfg.exists()) {
        configFile=cfg;
        break;
      }
    }
  }
  if (configFile == null) {
    URL url=getClass().getResource("String_Node_Str" + getConfigFileName());
    configFile=new File(build.getDirectory(),getConfigFileName());
    try {
      FileUtils.copyURLToFile(url,configFile);
    }
 catch (    IOException e) {
      throw new MojoExecutionException("String_Node_Str");
    }
  }
  if (!configFile.exists()) {
    throw new MojoExecutionException("String_Node_Str" + configFile);
  }
  if (fontsSnapshot == null) {
    URL url;
    if (MavenUtils.isMac()) {
      url=getClass().getResource("String_Node_Str");
    }
 else {
      url=getClass().getResource("String_Node_Str");
    }
    File fontsSer=new File(build.getDirectory(),"String_Node_Str");
    try {
      FileUtils.copyURLToFile(url,fontsSer);
    }
 catch (    IOException e) {
      throw new MojoExecutionException("String_Node_Str");
    }
    fontsSnapshot=fontsSer;
  }
  if (templatesPath == null) {
    templatesPath=generateDefaultTemplate();
  }
}