Program: 10097
Project: 10097
Buggy source:
/** 
 * Setup builder configuration
 * @throws MojoExecutionException
 */
protected void configure() throws MojoExecutionException {
  configuration.setExternalLibraryPath(getDependenciesPath("String_Node_Str"));
  configuration.includeLibraries(getDependenciesPath("String_Node_Str"));
  configuration.setLibraryPath(getDependenciesPath("String_Node_Str"));
  configuration.addLibraryPath(getDependenciesPath("String_Node_Str"));
  if (mergeResourceBundle == null || mergeResourceBundle) {
    configuration.addLibraryPath(getResourcesBundles());
  }
  resolveRuntimeLibraries("String_Node_Str","String_Node_Str");
  resolveRuntimeLibraries("String_Node_Str","String_Node_Str");
  configuration.setTheme(getDependenciesPath("String_Node_Str"));
  configuration.enableAccessibility(accessible);
  configuration.allowSourcePathOverlap(allowSourcePathOverlap);
  configuration.useActionScript3(as3);
  configuration.enableDebugging(debug,debugPassword);
  configuration.useECMAScript(es);
  if (fonts != null) {
    configuration.enableAdvancedAntiAliasing(fonts.isAdvancedAntiAliasing());
    configuration.setFontManagers(fonts.getManagers());
    configuration.setMaximumCachedFonts(fonts.getMaxCachedFonts());
    configuration.setMaximumGlyphsPerFace(fonts.getMaxGlyphsPerFace());
  }
  File fontsSnapshot=getFontsSnapshot();
  if (fontsSnapshot == null || !fontsSnapshot.exists()) {
    throw new MojoExecutionException("String_Node_Str" + fontsSnapshot);
  }
  configuration.setLocalFontSnapshot(fontsSnapshot);
  configuration.setActionScriptMetadata(keepAs3Metadatas);
  configuration.keepCompilerGeneratedActionScript(keepGeneratedActionscript);
  if (licenses != null) {
    for (    String licenseName : licenses.keySet()) {
      String key=licenses.get(licenseName);
      configuration.setLicense(licenseName,key);
    }
  }
  if (mergeResourceBundle == null || mergeResourceBundle) {
    configuration.setLocale(locales);
  }
 else {
    configuration.setLocale(new String[0]);
  }
  if (namespaces != null) {
    for (    Namespace namespace : namespaces) {
      configuration.setComponentManifest(namespace.getUri(),namespace.getManifest());
    }
  }
  configuration.optimize(optimize);
  if (this.warnigs != null) {
    configureWarnings(configuration);
  }
  configuration.setSourcePath(sourcePaths);
  configuration.enableStrictChecking(strict);
  configuration.useNetwork(useNetwork);
  configuration.enableVerboseStacktraces(verboseStacktraces);
  if (contextRoot != null) {
    configuration.setContextRoot(contextRoot);
  }
  configuration.keepLinkReport(linkReport);
  configuration.keepConfigurationReport(configurationReport);
  configuration.setConfiguration(configFile);
  configuration.setServiceConfiguration(services);
  if (loadExterns != null) {
    List<File> externsFiles=new ArrayList<File>();
    for (    MavenArtifact mvnArtifact : loadExterns) {
      Artifact artifact=artifactFactory.createArtifactWithClassifier(mvnArtifact.getGroupId(),mvnArtifact.getArtifactId(),mvnArtifact.getVersion(),"String_Node_Str","String_Node_Str");
      resolveArtifact(artifact,resolver,localRepository,remoteRepositories);
      externsFiles.add(artifact.getFile());
    }
    configuration.setExterns(externsFiles.toArray(new File[externsFiles.size()]));
  }
  if (metadata != null) {
    configuration.setSWFMetaData(metadata);
  }
}

Fixed version (ground truth):
/** 
 * Setup builder configuration
 * @throws MojoExecutionException
 */
protected void configure() throws MojoExecutionException {
  configuration.setExternalLibraryPath(getDependenciesPath("String_Node_Str"));
  configuration.includeLibraries(getDependenciesPath("String_Node_Str"));
  configuration.setLibraryPath(getDependenciesPath("String_Node_Str"));
  configuration.addLibraryPath(getDependenciesPath("String_Node_Str"));
  if (mergeResourceBundle == null || mergeResourceBundle) {
    configuration.addLibraryPath(getResourcesBundles());
  }
  resolveRuntimeLibraries("String_Node_Str","String_Node_Str");
  resolveRuntimeLibraries("String_Node_Str","String_Node_Str");
  configuration.setTheme(getDependenciesPath("String_Node_Str"));
  configuration.enableAccessibility(accessible);
  configuration.allowSourcePathOverlap(allowSourcePathOverlap);
  configuration.useActionScript3(as3);
  configuration.enableDebugging(debug,debugPassword);
  configuration.useECMAScript(es);
  if (fonts != null) {
    configuration.enableAdvancedAntiAliasing(fonts.isAdvancedAntiAliasing());
    configuration.setFontManagers(fonts.getManagers());
    configuration.setMaximumCachedFonts(fonts.getMaxCachedFonts());
    configuration.setMaximumGlyphsPerFace(fonts.getMaxGlyphsPerFace());
  }
  File fontsSnapshot=getFontsSnapshot();
  if (fontsSnapshot == null || !fontsSnapshot.exists()) {
    throw new MojoExecutionException("String_Node_Str" + fontsSnapshot);
  }
  configuration.setLocalFontSnapshot(fontsSnapshot);
  configuration.setActionScriptMetadata(keepAs3Metadatas);
  configuration.keepCompilerGeneratedActionScript(keepGeneratedActionscript);
  if (licenses != null) {
    for (    String licenseName : licenses.keySet()) {
      String key=licenses.get(licenseName);
      configuration.setLicense(licenseName,key);
    }
  }
  if (mergeResourceBundle == null || mergeResourceBundle) {
    configuration.setLocale(locales);
  }
 else {
    configuration.setLocale(new String[0]);
  }
  if (namespaces != null) {
    for (    Namespace namespace : namespaces) {
      configuration.setComponentManifest(namespace.getUri(),namespace.getManifest());
    }
  }
  configuration.optimize(optimize);
  if (this.warnigs != null) {
    configureWarnings(configuration);
  }
  configuration.setSourcePath(sourcePaths);
  configuration.enableStrictChecking(strict);
  configuration.useNetwork(useNetwork);
  configuration.enableVerboseStacktraces(verboseStacktraces);
  if (contextRoot != null) {
    configuration.setContextRoot(contextRoot);
  }
  configuration.keepLinkReport(linkReport);
  configuration.keepConfigurationReport(configurationReport);
  configuration.setConfiguration(configFile);
  configuration.setServiceConfiguration(services);
  if (loadExterns != null) {
    List<File> externsFiles=new ArrayList<File>();
    for (    MavenArtifact mvnArtifact : loadExterns) {
      Artifact artifact=artifactFactory.createArtifactWithClassifier(mvnArtifact.getGroupId(),mvnArtifact.getArtifactId(),mvnArtifact.getVersion(),"String_Node_Str","String_Node_Str");
      resolveArtifact(artifact,resolver,localRepository,remoteRepositories);
      externsFiles.add(artifact.getFile());
    }
    configuration.setExterns(externsFiles.toArray(new File[externsFiles.size()]));
  }
  if (metadata != null) {
    configuration.setSWFMetaData(metadata);
  }
  if (compatibilityVersion != null) {
    if (!COMPATIBILITY_2_0_0.equals(compatibilityVersion) && !COMPATIBILITY_2_0_1.equals(compatibilityVersion)) {
      throw new MojoExecutionException("String_Node_Str" + compatibilityVersion);
    }
 else     if (COMPATIBILITY_2_0_0.equals(compatibilityVersion)) {
      configuration.setCompatibilityVersion(2,0,0);
    }
 else     if (COMPATIBILITY_2_0_1.equals(compatibilityVersion)) {
      configuration.setCompatibilityVersion(2,0,1);
    }
 else {
      throw new IllegalStateException("String_Node_Str");
    }
  }
}