Program: 68144
Project: 68144
Buggy source:
public ClassDescriptor buildHorseDescriptor(){
  RelationalDescriptor descriptor=new RelationalDescriptor();
  descriptor.setJavaClass(Horse.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 buildHorseDescriptor(){
  RelationalDescriptor descriptor=new RelationalDescriptor();
  descriptor.setJavaClass(Horse.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(Horse.class,"String_Node_Str");
  descriptor.getInheritancePolicy().addClassIndicator(SuperHorse.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;
}