Program: 66398
Project: 66398
Buggy source:
protected ClassDescriptor buildReturningFieldInfoDescriptor(){
  XMLDescriptor descriptor=new XMLDescriptor();
  descriptor.setJavaClass(ReturningPolicy.Info.class);
  descriptor.setDefaultRootElement("String_Node_Str");
  XMLDirectMapping referenceClassMapping=new XMLDirectMapping();
  referenceClassMapping.setAttributeName("String_Node_Str");
  referenceClassMapping.setGetMethodName("String_Node_Str");
  referenceClassMapping.setSetMethodName("String_Node_Str");
  referenceClassMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str");
  descriptor.addMapping(referenceClassMapping);
  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);
  XMLDirectMapping sourceMapping1=new XMLDirectMapping();
  sourceMapping1.setAttributeName("String_Node_Str");
  sourceMapping1.setGetMethodName("String_Node_Str");
  sourceMapping1.setSetMethodName("String_Node_Str");
  sourceMapping1.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str");
  descriptor.addMapping(sourceMapping1);
  XMLDirectMapping sourceMapping2=new XMLDirectMapping();
  sourceMapping2.setAttributeName("String_Node_Str");
  sourceMapping2.setGetMethodName("String_Node_Str");
  sourceMapping2.setSetMethodName("String_Node_Str");
  sourceMapping2.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str");
  descriptor.addMapping(sourceMapping2);
  XMLDirectMapping sourceMapping3=new XMLDirectMapping();
  sourceMapping3.setAttributeName("String_Node_Str");
  sourceMapping3.setGetMethodName("String_Node_Str");
  sourceMapping3.setSetMethodName("String_Node_Str");
  sourceMapping3.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str");
  descriptor.addMapping(sourceMapping3);
  return descriptor;
}

Fixed version (ground truth):
protected ClassDescriptor buildReturningFieldInfoDescriptor(){
  XMLDescriptor descriptor=new XMLDescriptor();
  descriptor.setJavaClass(ReturningPolicy.Info.class);
  descriptor.setDefaultRootElement("String_Node_Str");
  XMLDirectMapping referenceClassMapping=new XMLDirectMapping();
  referenceClassMapping.setAttributeName("String_Node_Str");
  referenceClassMapping.setGetMethodName("String_Node_Str");
  referenceClassMapping.setSetMethodName("String_Node_Str");
  referenceClassMapping.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str");
  descriptor.addMapping(referenceClassMapping);
  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);
  XMLDirectMapping sourceMapping1=new XMLDirectMapping();
  sourceMapping1.setAttributeName("String_Node_Str");
  sourceMapping1.setGetMethodName("String_Node_Str");
  sourceMapping1.setSetMethodName("String_Node_Str");
  sourceMapping1.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str");
  descriptor.addMapping(sourceMapping1);
  XMLDirectMapping sourceMapping2=new XMLDirectMapping();
  sourceMapping2.setAttributeName("String_Node_Str");
  sourceMapping2.setGetMethodName("String_Node_Str");
  sourceMapping2.setSetMethodName("String_Node_Str");
  sourceMapping2.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str");
  descriptor.addMapping(sourceMapping2);
  XMLDirectMapping sourceMapping3=new XMLDirectMapping();
  sourceMapping3.setAttributeName("String_Node_Str");
  sourceMapping3.setGetMethodName("String_Node_Str");
  sourceMapping3.setSetMethodName("String_Node_Str");
  sourceMapping3.setXPath(getPrimaryNamespaceXPath() + "String_Node_Str");
  descriptor.addMapping(sourceMapping3);
  return descriptor;
}