Program: 68141
Project: 68141
Buggy source:
public ClassDescriptor buildSwanDescriptor(){
  RelationalDescriptor descriptor=new RelationalDescriptor();
  descriptor.setJavaClass(Swan.class);
  descriptor.addTableName("String_Node_Str");
  descriptor.addTableName("String_Node_Str");
  descriptor.addPrimaryKeyFieldName("String_Node_Str");
  descriptor.addForeignKeyFieldNameForMultipleTable("String_Node_Str","String_Node_Str");
  descriptor.useSoftCacheWeakIdentityMap();
  descriptor.setIdentityMapSize(100);
  descriptor.setSequenceNumberFieldName("String_Node_Str");
  descriptor.setSequenceNumberName("String_Node_Str");
  descriptor.setAlias("String_Node_Str");
  descriptor.getQueryManager().checkCacheForDoesExist();
  DirectToFieldMapping idMapping=new DirectToFieldMapping();
  idMapping.setAttributeName("String_Node_Str");
  idMapping.setFieldName("String_Node_Str");
  descriptor.addMapping(idMapping);
  DirectToFieldMapping nameMapping=new DirectToFieldMapping();
  nameMapping.setAttributeName("String_Node_Str");
  nameMapping.setFieldName("String_Node_Str");
  descriptor.addMapping(nameMapping);
  DirectToFieldMapping foalCountMapping=new DirectToFieldMapping();
  foalCountMapping.setAttributeName("String_Node_Str");
  foalCountMapping.setFieldName("String_Node_Str");
  descriptor.addMapping(foalCountMapping);
  return descriptor;
}

Fixed version (ground truth):
public ClassDescriptor buildSwanDescriptor(){
  RelationalDescriptor descriptor=new RelationalDescriptor();
  descriptor.setJavaClass(Swan.class);
  descriptor.addTableName("String_Node_Str");
  descriptor.addTableName("String_Node_Str");
  descriptor.addTableName("String_Node_Str");
  descriptor.addTableName("String_Node_Str");
  descriptor.addPrimaryKeyFieldName("String_Node_Str");
  descriptor.getInheritancePolicy().setClassIndicatorFieldName("String_Node_Str");
  descriptor.getInheritancePolicy().addClassIndicator(Swan.class,"String_Node_Str");
  descriptor.getInheritancePolicy().addClassIndicator(SuperSwan.class,"String_Node_Str");
  descriptor.addForeignKeyFieldNameForMultipleTable("String_Node_Str","String_Node_Str");
  descriptor.addForeignKeyFieldNameForMultipleTable("String_Node_Str","String_Node_Str");
  descriptor.addForeignKeyFieldNameForMultipleTable("String_Node_Str","String_Node_Str");
  descriptor.useSoftCacheWeakIdentityMap();
  descriptor.setIdentityMapSize(100);
  descriptor.setSequenceNumberFieldName("String_Node_Str");
  descriptor.setSequenceNumberName("String_Node_Str");
  descriptor.setAlias("String_Node_Str");
  descriptor.getQueryManager().checkCacheForDoesExist();
  DirectToFieldMapping idMapping=new DirectToFieldMapping();
  idMapping.setAttributeName("String_Node_Str");
  idMapping.setFieldName("String_Node_Str");
  descriptor.addMapping(idMapping);
  DirectToFieldMapping nameMapping=new DirectToFieldMapping();
  nameMapping.setAttributeName("String_Node_Str");
  nameMapping.setFieldName("String_Node_Str");
  descriptor.addMapping(nameMapping);
  DirectToFieldMapping foalCountMapping=new DirectToFieldMapping();
  foalCountMapping.setAttributeName("String_Node_Str");
  foalCountMapping.setFieldName("String_Node_Str");
  descriptor.addMapping(foalCountMapping);
  DirectToFieldMapping weightMapping=new DirectToFieldMapping();
  weightMapping.setAttributeName("String_Node_Str");
  weightMapping.setFieldName("String_Node_Str");
  descriptor.addMapping(weightMapping);
  DirectToFieldMapping ageMapping=new DirectToFieldMapping();
  ageMapping.setAttributeName("String_Node_Str");
  ageMapping.setFieldName("String_Node_Str");
  descriptor.addMapping(ageMapping);
  return descriptor;
}