Program: 9912
Project: 9912
Buggy source:
private void parseDesc(Element element,ScriptResourceDescriptor desc){
  for (  Element localeElt : XMLTools.getChildren(element,"String_Node_Str")) {
    String localeValue=XMLTools.asString(localeElt);
    Locale locale=I18N.parseTagIdentifier(localeValue);
    desc.supportedLocales.add(locale);
  }
  for (  Element moduleElt : XMLTools.getChildren(element,"String_Node_Str")) {
    String moduleName=XMLTools.asString(XMLTools.getUniqueChild(moduleElt,"String_Node_Str",true));
    Javascript script;
    String modulePath=XMLTools.asString(XMLTools.getUniqueChild(moduleElt,"String_Node_Str",false));
    if (modulePath != null) {
      String resourceBundle=null;
      Element bundleElt=XMLTools.getUniqueChild(moduleElt,"String_Node_Str",false);
      if (bundleElt != null) {
        resourceBundle=XMLTools.asString(bundleElt);
      }
      script=new Javascript.Local(desc.id,moduleName,contextPath,modulePath,resourceBundle,0);
    }
 else {
      String moduleURI=XMLTools.asString(XMLTools.getUniqueChild(moduleElt,"String_Node_Str",true));
      script=new Javascript.Remote(desc.id,moduleName,contextPath,moduleURI,0);
    }
    desc.modules.add(script);
  }
  for (  Element moduleElt : XMLTools.getChildren(element,"String_Node_Str")) {
    String dependencyName=XMLTools.asString(XMLTools.getUniqueChild(moduleElt,"String_Node_Str",true));
    ResourceId resourceId=new ResourceId(ResourceScope.SHARED,dependencyName);
    DependencyDescriptor dependency=new DependencyDescriptor(resourceId);
    desc.dependencies.add(dependency);
  }
}

Fixed version (ground truth):
private void parseDesc(Element element,ScriptResourceDescriptor desc){
  for (  Element localeElt : XMLTools.getChildren(element,"String_Node_Str")) {
    String localeValue=XMLTools.asString(localeElt);
    Locale locale=I18N.parseTagIdentifier(localeValue);
    desc.supportedLocales.add(locale);
  }
  for (  Element moduleElt : XMLTools.getChildren(element,"String_Node_Str")) {
    String moduleName=XMLTools.asString(XMLTools.getUniqueChild(moduleElt,"String_Node_Str",true));
    Javascript script;
    Element path=XMLTools.getUniqueChild(moduleElt,"String_Node_Str",false);
    if (path != null) {
      String resourceBundle=null;
      Element bundleElt=XMLTools.getUniqueChild(moduleElt,"String_Node_Str",false);
      if (bundleElt != null) {
        resourceBundle=XMLTools.asString(bundleElt);
      }
      String modulePath=XMLTools.asString(path);
      script=new Javascript.Local(desc.id,moduleName,contextPath,modulePath,resourceBundle,0);
    }
 else {
      String moduleURI=XMLTools.asString(XMLTools.getUniqueChild(moduleElt,"String_Node_Str",true));
      script=new Javascript.Remote(desc.id,moduleName,contextPath,moduleURI,0);
    }
    desc.modules.add(script);
  }
  for (  Element moduleElt : XMLTools.getChildren(element,"String_Node_Str")) {
    String dependencyName=XMLTools.asString(XMLTools.getUniqueChild(moduleElt,"String_Node_Str",true));
    ResourceId resourceId=new ResourceId(ResourceScope.SHARED,dependencyName);
    DependencyDescriptor dependency=new DependencyDescriptor(resourceId);
    desc.dependencies.add(dependency);
  }
}