Program: 66745
Project: 66745
Buggy source:
public TableDefinition buildBRANCHB_BRANCHBTable(){
  TableDefinition table=new TableDefinition();
  table.setName("String_Node_Str");
  FieldDefinition fieldBRANCHB_ID=new FieldDefinition();
  fieldBRANCHB_ID.setName("String_Node_Str");
  fieldBRANCHB_ID.setTypeName("String_Node_Str");
  fieldBRANCHB_ID.setSize(0);
  fieldBRANCHB_ID.setSubSize(0);
  fieldBRANCHB_ID.setIsPrimaryKey(true);
  fieldBRANCHB_ID.setIsIdentity(false);
  fieldBRANCHB_ID.setUnique(false);
  fieldBRANCHB_ID.setShouldAllowNull(true);
  table.addField(fieldBRANCHB_ID);
  FieldDefinition fieldBRANCHBS_ID=new FieldDefinition();
  fieldBRANCHBS_ID.setName("String_Node_Str");
  fieldBRANCHBS_ID.setTypeName("String_Node_Str");
  fieldBRANCHBS_ID.setSize(0);
  fieldBRANCHBS_ID.setSubSize(0);
  fieldBRANCHBS_ID.setIsPrimaryKey(true);
  fieldBRANCHBS_ID.setIsIdentity(false);
  fieldBRANCHBS_ID.setUnique(false);
  fieldBRANCHBS_ID.setShouldAllowNull(true);
  table.addField(fieldBRANCHBS_ID);
  ForeignKeyConstraint foreignKeyBRANCHB_BRANCHB_BRANCHB=new ForeignKeyConstraint();
  foreignKeyBRANCHB_BRANCHB_BRANCHB.setName("String_Node_Str");
  foreignKeyBRANCHB_BRANCHB_BRANCHB.setTargetTable("String_Node_Str");
  foreignKeyBRANCHB_BRANCHB_BRANCHB.addSourceField("String_Node_Str");
  foreignKeyBRANCHB_BRANCHB_BRANCHB.addTargetField("String_Node_Str");
  table.addForeignKeyConstraint(foreignKeyBRANCHB_BRANCHB_BRANCHB);
  ForeignKeyConstraint foreignKeyBRANCHB_BRANCHB_BRANCHB2=new ForeignKeyConstraint();
  foreignKeyBRANCHB_BRANCHB_BRANCHB2.setName("String_Node_Str");
  foreignKeyBRANCHB_BRANCHB_BRANCHB2.setTargetTable("String_Node_Str");
  foreignKeyBRANCHB_BRANCHB_BRANCHB2.addSourceField("String_Node_Str");
  foreignKeyBRANCHB_BRANCHB_BRANCHB2.addTargetField("String_Node_Str");
  table.addForeignKeyConstraint(foreignKeyBRANCHB_BRANCHB_BRANCHB2);
  return table;
}

Fixed version (ground truth):
public TableDefinition buildBRANCHB_BRANCHBTable(){
  TableDefinition table=new TableDefinition();
  table.setName("String_Node_Str");
  FieldDefinition fieldBRANCHB_ID=new FieldDefinition();
  fieldBRANCHB_ID.setName("String_Node_Str");
  fieldBRANCHB_ID.setTypeName("String_Node_Str");
  fieldBRANCHB_ID.setSize(0);
  fieldBRANCHB_ID.setSubSize(0);
  fieldBRANCHB_ID.setIsPrimaryKey(true);
  fieldBRANCHB_ID.setIsIdentity(false);
  fieldBRANCHB_ID.setUnique(false);
  fieldBRANCHB_ID.setShouldAllowNull(false);
  table.addField(fieldBRANCHB_ID);
  FieldDefinition fieldBRANCHBS_ID=new FieldDefinition();
  fieldBRANCHBS_ID.setName("String_Node_Str");
  fieldBRANCHBS_ID.setTypeName("String_Node_Str");
  fieldBRANCHBS_ID.setSize(0);
  fieldBRANCHBS_ID.setSubSize(0);
  fieldBRANCHBS_ID.setIsPrimaryKey(true);
  fieldBRANCHBS_ID.setIsIdentity(false);
  fieldBRANCHBS_ID.setUnique(false);
  fieldBRANCHBS_ID.setShouldAllowNull(false);
  table.addField(fieldBRANCHBS_ID);
  ForeignKeyConstraint foreignKeyBRANCHB_BRANCHB_BRANCHB=new ForeignKeyConstraint();
  foreignKeyBRANCHB_BRANCHB_BRANCHB.setName("String_Node_Str");
  foreignKeyBRANCHB_BRANCHB_BRANCHB.setTargetTable("String_Node_Str");
  foreignKeyBRANCHB_BRANCHB_BRANCHB.addSourceField("String_Node_Str");
  foreignKeyBRANCHB_BRANCHB_BRANCHB.addTargetField("String_Node_Str");
  table.addForeignKeyConstraint(foreignKeyBRANCHB_BRANCHB_BRANCHB);
  ForeignKeyConstraint foreignKeyBRANCHB_BRANCHB_BRANCHB2=new ForeignKeyConstraint();
  foreignKeyBRANCHB_BRANCHB_BRANCHB2.setName("String_Node_Str");
  foreignKeyBRANCHB_BRANCHB_BRANCHB2.setTargetTable("String_Node_Str");
  foreignKeyBRANCHB_BRANCHB_BRANCHB2.addSourceField("String_Node_Str");
  foreignKeyBRANCHB_BRANCHB_BRANCHB2.addTargetField("String_Node_Str");
  table.addForeignKeyConstraint(foreignKeyBRANCHB_BRANCHB_BRANCHB2);
  return table;
}