Program: 63571
Project: 63571
Buggy source:
public XMLSessionConfigProject_11_1_1(){
  super();
  addDescriptor(buildOc4jJGroupsTransportManagerConfigDescriptor());
  addDescriptor(buildServerPlatformConfigDescriptorFor(Oc4jPlatformConfig.class));
  addDescriptor(buildServerPlatformConfigDescriptorFor(GlassfishPlatformConfig.class));
  addDescriptor(buildServerPlatformConfigDescriptorFor(SunAS9PlatformConfig.class));
  addDescriptor(buildServerPlatformConfigDescriptorFor(WebLogic_9_PlatformConfig.class));
  addDescriptor(buildServerPlatformConfigDescriptorFor(WebLogic_10_PlatformConfig.class));
  addDescriptor(buildServerPlatformConfigDescriptorFor(WebSphere_6_1_PlatformConfig.class));
  addDescriptor(buildServerPlatformConfigDescriptorFor(WebSphere_7_0_PlatformConfig.class));
  addDescriptor(buildDocumentPreservationPolicyConfigDescriptor());
  addDescriptor(buildDescriptorLevelDocumentPreservationPolicyConfigDescriptor());
  addDescriptor(buildNoDocumentPreservationPolicyConfigDescriptor());
  addDescriptor(buildXMLBinderPolicyConfigDescriptor());
  addDescriptor(buildNodeOrderingPolicyConfigDescriptor());
  addDescriptor(buildAppendNewElementsOrderingPolicyConfigDescriptor());
  addDescriptor(buildIgnoreNewElementsOrderingPolicyConfigDescriptor());
  addDescriptor(buildRelativePositionOrderingPolicyConfigDescriptor());
  NamespaceResolver namespaceResolver=new NamespaceResolver();
  namespaceResolver.put("String_Node_Str",W3C_XML_SCHEMA_INSTANCE_NS_URI);
  namespaceResolver.put("String_Node_Str",W3C_XML_SCHEMA_NS_URI);
  for (Iterator descriptors=getDescriptors().values().iterator(); descriptors.hasNext(); ) {
    XMLDescriptor descriptor=(XMLDescriptor)descriptors.next();
    descriptor.setNamespaceResolver(namespaceResolver);
  }
}

Fixed version (ground truth):
public XMLSessionConfigProject_11_1_1(){
  super();
  addDescriptor(buildOc4jJGroupsTransportManagerConfigDescriptor());
  addDescriptor(buildServerPlatformConfigDescriptorFor(Oc4jPlatformConfig.class));
  addDescriptor(buildServerPlatformConfigDescriptorFor(GlassfishPlatformConfig.class));
  addDescriptor(buildServerPlatformConfigDescriptorFor(SunAS9PlatformConfig.class));
  addDescriptor(buildServerPlatformConfigDescriptorFor(WebLogic_9_PlatformConfig.class));
  addDescriptor(buildServerPlatformConfigDescriptorFor(WebLogic_10_PlatformConfig.class));
  addDescriptor(buildServerPlatformConfigDescriptorFor(WebSphere_6_1_PlatformConfig.class));
  addDescriptor(buildServerPlatformConfigDescriptorFor(WebSphere_7_0_PlatformConfig.class));
  addDescriptor(buildServerPlatformConfigDescriptorFor(WebSphere_Liberty_Platform_Config.class));
  addDescriptor(buildDocumentPreservationPolicyConfigDescriptor());
  addDescriptor(buildDescriptorLevelDocumentPreservationPolicyConfigDescriptor());
  addDescriptor(buildNoDocumentPreservationPolicyConfigDescriptor());
  addDescriptor(buildXMLBinderPolicyConfigDescriptor());
  addDescriptor(buildNodeOrderingPolicyConfigDescriptor());
  addDescriptor(buildAppendNewElementsOrderingPolicyConfigDescriptor());
  addDescriptor(buildIgnoreNewElementsOrderingPolicyConfigDescriptor());
  addDescriptor(buildRelativePositionOrderingPolicyConfigDescriptor());
  NamespaceResolver namespaceResolver=new NamespaceResolver();
  namespaceResolver.put("String_Node_Str",W3C_XML_SCHEMA_INSTANCE_NS_URI);
  namespaceResolver.put("String_Node_Str",W3C_XML_SCHEMA_NS_URI);
  for (Iterator descriptors=getDescriptors().values().iterator(); descriptors.hasNext(); ) {
    XMLDescriptor descriptor=(XMLDescriptor)descriptors.next();
    descriptor.setNamespaceResolver(namespaceResolver);
  }
}