Program: 66387
Project: 66387
Buggy source:
protected ClassDescriptor buildAbstractCompositeDirectCollectionMappingDescriptor(){
  XMLDescriptor descriptor=new XMLDescriptor();
  descriptor.setJavaClass(AbstractCompositeDirectCollectionMapping.class);
  descriptor.getInheritancePolicy().setParentClass(DatabaseMapping.class);
  XMLCompositeObjectMapping fieldMapping=new XMLCompositeObjectMapping();
  fieldMapping.setAttributeName("String_Node_Str");
  fieldMapping.setReferenceClass(DatabaseField.class);
  fieldMapping.setGetMethodName("String_Node_Str");
  fieldMapping.setSetMethodName("String_Node_Str");
  fieldMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str");
  descriptor.addMapping(fieldMapping);
  XMLCompositeObjectMapping valueConverterMapping=new XMLCompositeObjectMapping();
  valueConverterMapping.setAttributeName("String_Node_Str");
  valueConverterMapping.setGetMethodName("String_Node_Str");
  valueConverterMapping.setSetMethodName("String_Node_Str");
  valueConverterMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str");
  valueConverterMapping.setReferenceClass(Converter.class);
  descriptor.addMapping(valueConverterMapping);
  XMLCompositeObjectMapping containerPolicyMapping=new XMLCompositeObjectMapping();
  containerPolicyMapping.setAttributeName("String_Node_Str");
  containerPolicyMapping.setGetMethodName("String_Node_Str");
  containerPolicyMapping.setSetMethodName("String_Node_Str");
  containerPolicyMapping.setReferenceClass(ContainerPolicy.class);
  containerPolicyMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str");
  descriptor.addMapping(containerPolicyMapping);
  return descriptor;
}

Fixed version (ground truth):
protected ClassDescriptor buildAbstractCompositeDirectCollectionMappingDescriptor(){
  XMLDescriptor descriptor=new XMLDescriptor();
  descriptor.setJavaClass(AbstractCompositeDirectCollectionMapping.class);
  descriptor.getInheritancePolicy().setParentClass(DatabaseMapping.class);
  XMLCompositeObjectMapping fieldMapping=new XMLCompositeObjectMapping();
  fieldMapping.setAttributeName("String_Node_Str");
  fieldMapping.setReferenceClass(DatabaseField.class);
  fieldMapping.setGetMethodName("String_Node_Str");
  fieldMapping.setSetMethodName("String_Node_Str");
  fieldMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str");
  ((XMLField)fieldMapping.getField()).setLeafElementType(fieldQname);
  descriptor.addMapping(fieldMapping);
  XMLCompositeObjectMapping valueConverterMapping=new XMLCompositeObjectMapping();
  valueConverterMapping.setAttributeName("String_Node_Str");
  valueConverterMapping.setGetMethodName("String_Node_Str");
  valueConverterMapping.setSetMethodName("String_Node_Str");
  valueConverterMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str");
  valueConverterMapping.setReferenceClass(Converter.class);
  descriptor.addMapping(valueConverterMapping);
  XMLCompositeObjectMapping containerPolicyMapping=new XMLCompositeObjectMapping();
  containerPolicyMapping.setAttributeName("String_Node_Str");
  containerPolicyMapping.setGetMethodName("String_Node_Str");
  containerPolicyMapping.setSetMethodName("String_Node_Str");
  containerPolicyMapping.setReferenceClass(ContainerPolicy.class);
  containerPolicyMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str");
  descriptor.addMapping(containerPolicyMapping);
  return descriptor;
}