Program: 68819
Project: 68819
Buggy source:
private XMLDescriptor buildElementDescriptor(){
  XMLDescriptor descriptor=new XMLDescriptor();
  descriptor.setJavaClass(Element.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 minOccursMapping=new XMLDirectMapping();
  minOccursMapping.setAttributeName("String_Node_Str");
  minOccursMapping.setXPath("String_Node_Str");
  minOccursMapping.setNullValue(Occurs.ONE);
  descriptor.addMapping(minOccursMapping);
  XMLDirectMapping maxOccursMapping=new XMLDirectMapping();
  maxOccursMapping.setAttributeName("String_Node_Str");
  maxOccursMapping.setXPath("String_Node_Str");
  minOccursMapping.setNullValue(Occurs.ONE);
  descriptor.addMapping(maxOccursMapping);
  XMLDirectMapping nillableMapping=new XMLDirectMapping();
  nillableMapping.setAttributeName("String_Node_Str");
  nillableMapping.setXPath("String_Node_Str");
  nillableMapping.setNullValue(new Boolean("String_Node_Str"));
  descriptor.addMapping(nillableMapping);
  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.setGetMethodName("String_Node_Str");
  simpleTypeMapping.setSetMethodName("String_Node_Str");
  simpleTypeMapping.setXPath(XMLConstants.SCHEMA_PREFIX + "String_Node_Str");
  descriptor.addMapping(simpleTypeMapping);
  XMLCompositeObjectMapping complexTypeMapping=new XMLCompositeObjectMapping();
  complexTypeMapping.setReferenceClass(ComplexType.class);
  complexTypeMapping.setAttributeName("String_Node_Str");
  complexTypeMapping.setGetMethodName("String_Node_Str");
  complexTypeMapping.setSetMethodName("String_Node_Str");
  complexTypeMapping.setXPath(XMLConstants.SCHEMA_PREFIX + "String_Node_Str");
  descriptor.addMapping(complexTypeMapping);
  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 buildElementDescriptor(){
  XMLDescriptor descriptor=new XMLDescriptor();
  descriptor.setJavaClass(Element.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 refMapping=new XMLDirectMapping();
  refMapping.setAttributeName("String_Node_Str");
  refMapping.setXPath("String_Node_Str");
  descriptor.addMapping(refMapping);
  XMLDirectMapping minOccursMapping=new XMLDirectMapping();
  minOccursMapping.setAttributeName("String_Node_Str");
  minOccursMapping.setXPath("String_Node_Str");
  minOccursMapping.setNullValue(Occurs.ONE);
  descriptor.addMapping(minOccursMapping);
  XMLDirectMapping maxOccursMapping=new XMLDirectMapping();
  maxOccursMapping.setAttributeName("String_Node_Str");
  maxOccursMapping.setXPath("String_Node_Str");
  minOccursMapping.setNullValue(Occurs.ONE);
  descriptor.addMapping(maxOccursMapping);
  XMLDirectMapping nillableMapping=new XMLDirectMapping();
  nillableMapping.setAttributeName("String_Node_Str");
  nillableMapping.setXPath("String_Node_Str");
  nillableMapping.setNullValue(new Boolean("String_Node_Str"));
  descriptor.addMapping(nillableMapping);
  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);
  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.setGetMethodName("String_Node_Str");
  simpleTypeMapping.setSetMethodName("String_Node_Str");
  simpleTypeMapping.setXPath(XMLConstants.SCHEMA_PREFIX + "String_Node_Str");
  descriptor.addMapping(simpleTypeMapping);
  XMLCompositeObjectMapping complexTypeMapping=new XMLCompositeObjectMapping();
  complexTypeMapping.setReferenceClass(ComplexType.class);
  complexTypeMapping.setAttributeName("String_Node_Str");
  complexTypeMapping.setGetMethodName("String_Node_Str");
  complexTypeMapping.setSetMethodName("String_Node_Str");
  complexTypeMapping.setXPath(XMLConstants.SCHEMA_PREFIX + "String_Node_Str");
  descriptor.addMapping(complexTypeMapping);
  XMLAnyAttributeMapping attributesMapMapping=new XMLAnyAttributeMapping();
  attributesMapMapping.setAttributeName("String_Node_Str");
  attributesMapMapping.setGetMethodName("String_Node_Str");
  attributesMapMapping.setSetMethodName("String_Node_Str");
  descriptor.addMapping(attributesMapMapping);
  return descriptor;
}