Program: 68091
Project: 68091
Buggy source:
private XMLDescriptor buildAttributeDescriptor(){
  XMLDescriptor descriptor=new XMLDescriptor();
  descriptor.setJavaClass(Attribute.class);
  descriptor.setNamespaceResolver(namespaceResolver);
  descriptor.setDefaultRootElement(XMLConstants.SCHEMA_PREFIX + "String_Node_Str");
  XMLDirectMapping nameMapping=new XMLDirectMapping();
  nameMapping.setAttributeName("String_Node_Str");
  nameMapping.setXPath("String_Node_Str");
  descriptor.addMapping(nameMapping);
  XMLDirectMapping typeMapping=new XMLDirectMapping();
  typeMapping.setAttributeName("String_Node_Str");
  typeMapping.setXPath("String_Node_Str");
  descriptor.addMapping(typeMapping);
  XMLDirectMapping useMapping=new XMLDirectMapping();
  useMapping.setAttributeName("String_Node_Str");
  useMapping.setXPath("String_Node_Str");
  descriptor.addMapping(useMapping);
  XMLDirectMapping defaultMapping=new XMLDirectMapping();
  defaultMapping.setAttributeName("String_Node_Str");
  defaultMapping.setXPath("String_Node_Str");
  descriptor.addMapping(defaultMapping);
  XMLDirectMapping fixedMapping=new XMLDirectMapping();
  fixedMapping.setAttributeName("String_Node_Str");
  fixedMapping.setXPath("String_Node_Str");
  descriptor.addMapping(fixedMapping);
  XMLDirectMapping refMapping=new XMLDirectMapping();
  refMapping.setAttributeName("String_Node_Str");
  refMapping.setXPath("String_Node_Str");
  descriptor.addMapping(refMapping);
  XMLCompositeObjectMapping annotationMapping=new XMLCompositeObjectMapping();
  annotationMapping.setReferenceClass(Annotation.class);
  annotationMapping.setAttributeName("String_Node_Str");
  annotationMapping.setXPath(XMLConstants.SCHEMA_PREFIX + "String_Node_Str" + "String_Node_Str");
  descriptor.addMapping(annotationMapping);
  XMLCompositeObjectMapping simpleTypeMapping=new XMLCompositeObjectMapping();
  simpleTypeMapping.setReferenceClass(SimpleType.class);
  simpleTypeMapping.setAttributeName("String_Node_Str");
  simpleTypeMapping.setXPath(XMLConstants.SCHEMA_PREFIX + "String_Node_Str" + "String_Node_Str");
  descriptor.addMapping(simpleTypeMapping);
  XMLAnyAttributeMapping attributesMapMapping=new XMLAnyAttributeMapping();
  attributesMapMapping.setAttributeName("String_Node_Str");
  attributesMapMapping.setGetMethodName("String_Node_Str");
  attributesMapMapping.setSetMethodName("String_Node_Str");
  descriptor.addMapping(attributesMapMapping);
  return descriptor;
}

Fixed version (ground truth):
private XMLDescriptor buildAttributeDescriptor(){
  XMLDescriptor descriptor=new XMLDescriptor();
  descriptor.setJavaClass(Attribute.class);
  descriptor.setNamespaceResolver(namespaceResolver);
  descriptor.setDefaultRootElement(XMLConstants.SCHEMA_PREFIX + "String_Node_Str");
  XMLDirectMapping nameMapping=new XMLDirectMapping();
  nameMapping.setAttributeName("String_Node_Str");
  nameMapping.setXPath("String_Node_Str");
  descriptor.addMapping(nameMapping);
  XMLDirectMapping typeMapping=new XMLDirectMapping();
  typeMapping.setAttributeName("String_Node_Str");
  typeMapping.setXPath("String_Node_Str");
  descriptor.addMapping(typeMapping);
  XMLDirectMapping useMapping=new XMLDirectMapping();
  useMapping.setAttributeName("String_Node_Str");
  useMapping.setXPath("String_Node_Str");
  descriptor.addMapping(useMapping);
  XMLDirectMapping defaultMapping=new XMLDirectMapping();
  defaultMapping.setAttributeName("String_Node_Str");
  defaultMapping.setGetMethodName("String_Node_Str");
  defaultMapping.setSetMethodName("String_Node_Str");
  defaultMapping.setXPath("String_Node_Str");
  ((NullPolicy)defaultMapping.getNullPolicy()).setSetPerformedForAbsentNode(false);
  descriptor.addMapping(defaultMapping);
  XMLDirectMapping fixedMapping=new XMLDirectMapping();
  fixedMapping.setAttributeName("String_Node_Str");
  fixedMapping.setXPath("String_Node_Str");
  descriptor.addMapping(fixedMapping);
  XMLDirectMapping refMapping=new XMLDirectMapping();
  refMapping.setAttributeName("String_Node_Str");
  refMapping.setXPath("String_Node_Str");
  descriptor.addMapping(refMapping);
  XMLCompositeObjectMapping annotationMapping=new XMLCompositeObjectMapping();
  annotationMapping.setReferenceClass(Annotation.class);
  annotationMapping.setAttributeName("String_Node_Str");
  annotationMapping.setXPath(XMLConstants.SCHEMA_PREFIX + "String_Node_Str" + "String_Node_Str");
  descriptor.addMapping(annotationMapping);
  XMLCompositeObjectMapping simpleTypeMapping=new XMLCompositeObjectMapping();
  simpleTypeMapping.setReferenceClass(SimpleType.class);
  simpleTypeMapping.setAttributeName("String_Node_Str");
  simpleTypeMapping.setXPath(XMLConstants.SCHEMA_PREFIX + "String_Node_Str" + "String_Node_Str");
  descriptor.addMapping(simpleTypeMapping);
  XMLAnyAttributeMapping attributesMapMapping=new XMLAnyAttributeMapping();
  attributesMapMapping.setAttributeName("String_Node_Str");
  attributesMapMapping.setGetMethodName("String_Node_Str");
  attributesMapMapping.setSetMethodName("String_Node_Str");
  descriptor.addMapping(attributesMapMapping);
  return descriptor;
}