Program: 64212
Project: 64212
Buggy source:
public TableDefinition buildCMP3_DOORTable(){
  TableDefinition table=new TableDefinition();
  table.setName("String_Node_Str");
  FieldDefinition fieldID=new FieldDefinition();
  fieldID.setName("String_Node_Str");
  fieldID.setTypeName("String_Node_Str");
  fieldID.setSize(15);
  fieldID.setIsPrimaryKey(true);
  fieldID.setIsIdentity(false);
  fieldID.setUnique(false);
  fieldID.setShouldAllowNull(false);
  table.addField(fieldID);
  FieldDefinition fieldWIDTH=new FieldDefinition();
  fieldWIDTH.setName("String_Node_Str");
  fieldWIDTH.setTypeName("String_Node_Str");
  fieldWIDTH.setSize(10);
  fieldWIDTH.setIsPrimaryKey(false);
  fieldWIDTH.setIsIdentity(false);
  fieldWIDTH.setUnique(false);
  fieldWIDTH.setShouldAllowNull(true);
  table.addField(fieldWIDTH);
  FieldDefinition fieldHEIGHT=new FieldDefinition();
  fieldHEIGHT.setName("String_Node_Str");
  fieldHEIGHT.setTypeName("String_Node_Str");
  fieldHEIGHT.setSize(10);
  fieldHEIGHT.setIsPrimaryKey(false);
  fieldHEIGHT.setIsIdentity(false);
  fieldHEIGHT.setUnique(false);
  fieldHEIGHT.setShouldAllowNull(true);
  table.addField(fieldHEIGHT);
  FieldDefinition fieldROOM_ID=new FieldDefinition();
  fieldROOM_ID.setName("String_Node_Str");
  fieldROOM_ID.setTypeName("String_Node_Str");
  fieldROOM_ID.setSize(15);
  fieldROOM_ID.setIsPrimaryKey(false);
  fieldROOM_ID.setIsIdentity(false);
  fieldROOM_ID.setUnique(false);
  fieldROOM_ID.setShouldAllowNull(true);
  table.addField(fieldROOM_ID);
  ForeignKeyConstraint foreignKeyCMP3_DOOR_CMP3_ROOM=new ForeignKeyConstraint();
  foreignKeyCMP3_DOOR_CMP3_ROOM.setName("String_Node_Str");
  foreignKeyCMP3_DOOR_CMP3_ROOM.setTargetTable("String_Node_Str");
  foreignKeyCMP3_DOOR_CMP3_ROOM.addSourceField("String_Node_Str");
  foreignKeyCMP3_DOOR_CMP3_ROOM.addTargetField("String_Node_Str");
  table.addForeignKeyConstraint(foreignKeyCMP3_DOOR_CMP3_ROOM);
  return table;
}

Fixed version (ground truth):
public TableDefinition buildCMP3_DOORTable(){
  TableDefinition table=new TableDefinition();
  table.setName("String_Node_Str");
  FieldDefinition fieldID=new FieldDefinition();
  fieldID.setName("String_Node_Str");
  fieldID.setTypeName("String_Node_Str");
  fieldID.setSize(15);
  fieldID.setIsPrimaryKey(true);
  fieldID.setIsIdentity(false);
  fieldID.setUnique(false);
  fieldID.setShouldAllowNull(false);
  table.addField(fieldID);
  FieldDefinition fieldWIDTH=new FieldDefinition();
  fieldWIDTH.setName("String_Node_Str");
  fieldWIDTH.setTypeName("String_Node_Str");
  fieldWIDTH.setSize(10);
  fieldWIDTH.setIsPrimaryKey(false);
  fieldWIDTH.setIsIdentity(false);
  fieldWIDTH.setUnique(false);
  fieldWIDTH.setShouldAllowNull(true);
  table.addField(fieldWIDTH);
  FieldDefinition fieldHEIGHT=new FieldDefinition();
  fieldHEIGHT.setName("String_Node_Str");
  fieldHEIGHT.setTypeName("String_Node_Str");
  fieldHEIGHT.setSize(10);
  fieldHEIGHT.setIsPrimaryKey(false);
  fieldHEIGHT.setIsIdentity(false);
  fieldHEIGHT.setUnique(false);
  fieldHEIGHT.setShouldAllowNull(true);
  table.addField(fieldHEIGHT);
  FieldDefinition fieldROOM_ID=new FieldDefinition();
  fieldROOM_ID.setName("String_Node_Str");
  fieldROOM_ID.setTypeName("String_Node_Str");
  fieldROOM_ID.setSize(15);
  fieldROOM_ID.setIsPrimaryKey(false);
  fieldROOM_ID.setIsIdentity(false);
  fieldROOM_ID.setUnique(false);
  fieldROOM_ID.setShouldAllowNull(true);
  table.addField(fieldROOM_ID);
  FieldDefinition fieldSALE_DATE=new FieldDefinition();
  fieldSALE_DATE.setName("String_Node_Str");
  fieldSALE_DATE.setTypeName("String_Node_Str");
  fieldSALE_DATE.setSize(23);
  fieldSALE_DATE.setShouldAllowNull(true);
  fieldSALE_DATE.setIsPrimaryKey(false);
  fieldSALE_DATE.setUnique(false);
  fieldSALE_DATE.setIsIdentity(false);
  table.addField(fieldSALE_DATE);
  ForeignKeyConstraint foreignKeyCMP3_DOOR_CMP3_ROOM=new ForeignKeyConstraint();
  foreignKeyCMP3_DOOR_CMP3_ROOM.setName("String_Node_Str");
  foreignKeyCMP3_DOOR_CMP3_ROOM.setTargetTable("String_Node_Str");
  foreignKeyCMP3_DOOR_CMP3_ROOM.addSourceField("String_Node_Str");
  foreignKeyCMP3_DOOR_CMP3_ROOM.addTargetField("String_Node_Str");
  table.addForeignKeyConstraint(foreignKeyCMP3_DOOR_CMP3_ROOM);
  return table;
}