Program: 64365
Project: 64365
Buggy source:
private XMLDescriptor buildComplexTypeDescriptor(){
  XMLDescriptor descriptor=new XMLDescriptor();
  descriptor.setJavaClass(ComplexType.class);
  descriptor.setNamespaceResolver(namespaceResolver);
  XMLDirectMapping nameMapping=new XMLDirectMapping();
  nameMapping.setAttributeName("String_Node_Str");
  nameMapping.setXPath("String_Node_Str");
  descriptor.addMapping(nameMapping);
  XMLDirectMapping abstractValueMapping=new XMLDirectMapping();
  abstractValueMapping.setAttributeName("String_Node_Str");
  abstractValueMapping.setXPath("String_Node_Str");
  abstractValueMapping.setNullValue(false);
  descriptor.addMapping(abstractValueMapping);
  XMLDirectMapping mixedMapping=new XMLDirectMapping();
  mixedMapping.setAttributeName("String_Node_Str");
  mixedMapping.setXPath("String_Node_Str");
  mixedMapping.setNullValue(false);
  descriptor.addMapping(mixedMapping);
  XMLCompositeObjectMapping annotationMapping=new XMLCompositeObjectMapping();
  annotationMapping.setReferenceClass(Annotation.class);
  annotationMapping.setAttributeName("String_Node_Str");
  annotationMapping.setXPath(Constants.SCHEMA_PREFIX + "String_Node_Str" + "String_Node_Str");
  descriptor.addMapping(annotationMapping);
  XMLCompositeObjectMapping sequenceMapping=new XMLCompositeObjectMapping();
  sequenceMapping.setReferenceClass(Sequence.class);
  sequenceMapping.setAttributeName("String_Node_Str");
  sequenceMapping.setSetMethodName("String_Node_Str");
  sequenceMapping.setGetMethodName("String_Node_Str");
  sequenceMapping.setXPath(Constants.SCHEMA_PREFIX + "String_Node_Str" + "String_Node_Str");
  descriptor.addMapping(sequenceMapping);
  XMLCompositeObjectMapping choiceMapping=new XMLCompositeObjectMapping();
  choiceMapping.setReferenceClass(Choice.class);
  choiceMapping.setAttributeName("String_Node_Str");
  choiceMapping.setSetMethodName("String_Node_Str");
  choiceMapping.setGetMethodName("String_Node_Str");
  choiceMapping.setXPath(Constants.SCHEMA_PREFIX + "String_Node_Str" + "String_Node_Str");
  descriptor.addMapping(choiceMapping);
  XMLCompositeObjectMapping allMapping=new XMLCompositeObjectMapping();
  allMapping.setReferenceClass(All.class);
  allMapping.setAttributeName("String_Node_Str");
  allMapping.setSetMethodName("String_Node_Str");
  allMapping.setGetMethodName("String_Node_Str");
  allMapping.setXPath(Constants.SCHEMA_PREFIX + "String_Node_Str" + "String_Node_Str");
  descriptor.addMapping(allMapping);
  XMLCompositeObjectMapping complextContentMapping=new XMLCompositeObjectMapping();
  complextContentMapping.setReferenceClass(ComplexContent.class);
  complextContentMapping.setAttributeName("String_Node_Str");
  complextContentMapping.setGetMethodName("String_Node_Str");
  complextContentMapping.setSetMethodName("String_Node_Str");
  complextContentMapping.setXPath(Constants.SCHEMA_PREFIX + "String_Node_Str");
  descriptor.addMapping(complextContentMapping);
  XMLCompositeObjectMapping simpleContentMapping=new XMLCompositeObjectMapping();
  simpleContentMapping.setReferenceClass(SimpleContent.class);
  simpleContentMapping.setAttributeName("String_Node_Str");
  simpleContentMapping.setGetMethodName("String_Node_Str");
  simpleContentMapping.setSetMethodName("String_Node_Str");
  simpleContentMapping.setXPath(Constants.SCHEMA_PREFIX + "String_Node_Str");
  descriptor.addMapping(simpleContentMapping);
  XMLCompositeObjectMapping anyAttributeMapping=new XMLCompositeObjectMapping();
  anyAttributeMapping.setReferenceClass(AnyAttribute.class);
  anyAttributeMapping.setAttributeName("String_Node_Str");
  anyAttributeMapping.setXPath(Constants.SCHEMA_PREFIX + "String_Node_Str" + "String_Node_Str");
  descriptor.addMapping(anyAttributeMapping);
  XMLAnyCollectionMapping orderedAttributesMapping=new XMLAnyCollectionMapping();
  orderedAttributesMapping.setAttributeName("String_Node_Str");
  descriptor.addMapping(orderedAttributesMapping);
  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 buildComplexTypeDescriptor(){
  XMLDescriptor descriptor=new XMLDescriptor();
  descriptor.setJavaClass(ComplexType.class);
  descriptor.setNamespaceResolver(namespaceResolver);
  XMLDirectMapping nameMapping=new XMLDirectMapping();
  nameMapping.setAttributeName("String_Node_Str");
  nameMapping.setXPath("String_Node_Str");
  descriptor.addMapping(nameMapping);
  XMLDirectMapping abstractValueMapping=new XMLDirectMapping();
  abstractValueMapping.setAttributeName("String_Node_Str");
  abstractValueMapping.setXPath("String_Node_Str");
  abstractValueMapping.setNullValue(false);
  descriptor.addMapping(abstractValueMapping);
  XMLDirectMapping mixedMapping=new XMLDirectMapping();
  mixedMapping.setAttributeName("String_Node_Str");
  mixedMapping.setXPath("String_Node_Str");
  mixedMapping.setNullValue(false);
  descriptor.addMapping(mixedMapping);
  XMLCompositeObjectMapping annotationMapping=new XMLCompositeObjectMapping();
  annotationMapping.setReferenceClass(Annotation.class);
  annotationMapping.setAttributeName("String_Node_Str");
  annotationMapping.setXPath(Constants.SCHEMA_PREFIX + "String_Node_Str" + "String_Node_Str");
  descriptor.addMapping(annotationMapping);
  XMLCompositeObjectMapping sequenceMapping=new XMLCompositeObjectMapping();
  sequenceMapping.setReferenceClass(Sequence.class);
  sequenceMapping.setAttributeName("String_Node_Str");
  sequenceMapping.setSetMethodName("String_Node_Str");
  sequenceMapping.setGetMethodName("String_Node_Str");
  sequenceMapping.setXPath(Constants.SCHEMA_PREFIX + "String_Node_Str" + "String_Node_Str");
  descriptor.addMapping(sequenceMapping);
  XMLCompositeObjectMapping choiceMapping=new XMLCompositeObjectMapping();
  choiceMapping.setReferenceClass(Choice.class);
  choiceMapping.setAttributeName("String_Node_Str");
  choiceMapping.setSetMethodName("String_Node_Str");
  choiceMapping.setGetMethodName("String_Node_Str");
  choiceMapping.setXPath(Constants.SCHEMA_PREFIX + "String_Node_Str" + "String_Node_Str");
  descriptor.addMapping(choiceMapping);
  XMLCompositeObjectMapping allMapping=new XMLCompositeObjectMapping();
  allMapping.setReferenceClass(All.class);
  allMapping.setAttributeName("String_Node_Str");
  allMapping.setSetMethodName("String_Node_Str");
  allMapping.setGetMethodName("String_Node_Str");
  allMapping.setXPath(Constants.SCHEMA_PREFIX + "String_Node_Str" + "String_Node_Str");
  descriptor.addMapping(allMapping);
  XMLCompositeObjectMapping complextContentMapping=new XMLCompositeObjectMapping();
  complextContentMapping.setReferenceClass(ComplexContent.class);
  complextContentMapping.setAttributeName("String_Node_Str");
  complextContentMapping.setGetMethodName("String_Node_Str");
  complextContentMapping.setSetMethodName("String_Node_Str");
  complextContentMapping.setXPath(Constants.SCHEMA_PREFIX + "String_Node_Str");
  descriptor.addMapping(complextContentMapping);
  XMLCompositeObjectMapping simpleContentMapping=new XMLCompositeObjectMapping();
  simpleContentMapping.setReferenceClass(SimpleContent.class);
  simpleContentMapping.setAttributeName("String_Node_Str");
  simpleContentMapping.setGetMethodName("String_Node_Str");
  simpleContentMapping.setSetMethodName("String_Node_Str");
  simpleContentMapping.setXPath(Constants.SCHEMA_PREFIX + "String_Node_Str");
  descriptor.addMapping(simpleContentMapping);
  XMLAnyCollectionMapping orderedAttributesMapping=new XMLAnyCollectionMapping();
  orderedAttributesMapping.setAttributeName("String_Node_Str");
  descriptor.addMapping(orderedAttributesMapping);
  XMLCompositeObjectMapping anyAttributeMapping=new XMLCompositeObjectMapping();
  anyAttributeMapping.setReferenceClass(AnyAttribute.class);
  anyAttributeMapping.setAttributeName("String_Node_Str");
  anyAttributeMapping.setXPath(Constants.SCHEMA_PREFIX + "String_Node_Str" + "String_Node_Str");
  descriptor.addMapping(anyAttributeMapping);
  XMLAnyAttributeMapping attributesMapMapping=new XMLAnyAttributeMapping();
  attributesMapMapping.setAttributeName("String_Node_Str");
  attributesMapMapping.setGetMethodName("String_Node_Str");
  attributesMapMapping.setSetMethodName("String_Node_Str");
  descriptor.addMapping(attributesMapMapping);
  return descriptor;
}