Program: 68142
Project: 68142
Buggy source:
public ClassDescriptor buildCowDescriptor(){
  RelationalDescriptor descriptor=new RelationalDescriptor();
  descriptor.setJavaClass(Cow.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 cowIdMapping=new DirectToFieldMapping();
  cowIdMapping.setAttributeName("String_Node_Str");
  cowIdMapping.setFieldName("String_Node_Str");
  descriptor.addMapping(cowIdMapping);
  DirectToFieldMapping calfCountIdMapping=new DirectToFieldMapping();
  calfCountIdMapping.setAttributeName("String_Node_Str");
  calfCountIdMapping.setFieldName("String_Node_Str");
  descriptor.addMapping(calfCountIdMapping);
  DirectToFieldMapping nameMapping=new DirectToFieldMapping();
  nameMapping.setAttributeName("String_Node_Str");
  nameMapping.setFieldName("String_Node_Str");
  nameMapping.setNullValue("String_Node_Str");
  descriptor.addMapping(nameMapping);
  DirectToFieldMapping calfCountMapping=new DirectToFieldMapping();
  calfCountMapping.setAttributeName("String_Node_Str");
  calfCountMapping.setFieldName("String_Node_Str");
  descriptor.addMapping(calfCountMapping);
  return descriptor;
}

Fixed version (ground truth):
public ClassDescriptor buildCowDescriptor(){
  RelationalDescriptor descriptor=new RelationalDescriptor();
  descriptor.setJavaClass(Cow.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(Cow.class,"String_Node_Str");
  descriptor.getInheritancePolicy().addClassIndicator(SuperCow.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 cowIdMapping=new DirectToFieldMapping();
  cowIdMapping.setAttributeName("String_Node_Str");
  cowIdMapping.setFieldName("String_Node_Str");
  descriptor.addMapping(cowIdMapping);
  DirectToFieldMapping calfCountIdMapping=new DirectToFieldMapping();
  calfCountIdMapping.setAttributeName("String_Node_Str");
  calfCountIdMapping.setFieldName("String_Node_Str");
  descriptor.addMapping(calfCountIdMapping);
  DirectToFieldMapping nameMapping=new DirectToFieldMapping();
  nameMapping.setAttributeName("String_Node_Str");
  nameMapping.setFieldName("String_Node_Str");
  nameMapping.setNullValue("String_Node_Str");
  descriptor.addMapping(nameMapping);
  DirectToFieldMapping calfCountMapping=new DirectToFieldMapping();
  calfCountMapping.setAttributeName("String_Node_Str");
  calfCountMapping.setFieldName("String_Node_Str");
  descriptor.addMapping(calfCountMapping);
  DirectToFieldMapping weightIdMapping=new DirectToFieldMapping();
  weightIdMapping.setAttributeName("String_Node_Str");
  weightIdMapping.setFieldName("String_Node_Str");
  descriptor.addMapping(weightIdMapping);
  DirectToFieldMapping weightMapping=new DirectToFieldMapping();
  weightMapping.setAttributeName("String_Node_Str");
  weightMapping.setFieldName("String_Node_Str");
  descriptor.addMapping(weightMapping);
  DirectToFieldMapping ageIdMapping=new DirectToFieldMapping();
  ageIdMapping.setAttributeName("String_Node_Str");
  ageIdMapping.setFieldName("String_Node_Str");
  descriptor.addMapping(ageIdMapping);
  DirectToFieldMapping ageMapping=new DirectToFieldMapping();
  ageMapping.setAttributeName("String_Node_Str");
  ageMapping.setFieldName("String_Node_Str");
  descriptor.addMapping(ageMapping);
  return descriptor;
}