Program: 152599
Project: 152599
Buggy source:
public static Move[] createMoveArray(){
  Move[] moveArray=new Move[560];
  moveArray[0]=new Move();
  DbAdapter adapter;
  ResultSet rs;
  try {
    adapter=new DbAdapter();
    for (int i=1; i < moveArray.length; i++) {
      Move move=new Move();
      rs=adapter.makeQuery("String_Node_Str" + String.valueOf(i) + "String_Node_Str");
      while (rs.next()) {
        move.setMoveName(rs.getString("String_Node_Str"));
        move.setBasePower(rs.getInt("String_Node_Str"));
        move.setAccuracy(rs.getInt("String_Node_Str"));
        move.setMoveId(rs.getInt("String_Node_Str"));
        move.setPP(rs.getInt("String_Node_Str"));
        move.setPriority(rs.getInt("String_Node_Str"));
        move.setKind(MoveKinds.getMoveKind(rs.getInt("String_Node_Str")));
        move.setType(Types.getType(rs.getInt("String_Node_Str")));
        move.setMoveMetaCategory(MoveMetaCategory.getCategory(rs.getInt("String_Node_Str")));
        move.setStatusAilment(MetaStatusAilment.getAilment(rs.getInt("String_Node_Str")));
        move.setMoveEffect(rs.getInt("String_Node_Str"));
        move.setMaxHits(rs.getInt("String_Node_Str"));
        move.setMinHits(rs.getInt("String_Node_Str"));
        move.setMaxTurns(rs.getInt("String_Node_Str"));
        move.setMinTurns(rs.getInt("String_Node_Str"));
        move.setRecoilPercentage(rs.getInt("String_Node_Str"));
        int[] stats=new int[7];
        stats[0]=rs.getInt("String_Node_Str");
        stats[1]=rs.getInt("String_Node_Str");
        stats[2]=rs.getInt("String_Node_Str");
        stats[3]=rs.getInt("String_Node_Str");
        stats[4]=rs.getInt("String_Node_Str");
        stats[5]=rs.getInt("String_Node_Str");
        stats[6]=rs.getInt("String_Node_Str");
        move.setMoveStatChangesArray(stats);
      }
      int effect=move.getMoveEffect();
      if (effect == 30 || effect == 45 || effect == 78 || effect == 105) {
        move.setMoveMetaCategory(MoveMetaCategory.MULTI_HIT);
      }
      if (move.getMoveId() == 251) {
        move.setMoveMetaCategory(MoveMetaCategory.UNIQUE_EFFECT);
      }
      moveArray[i]=move;
    }
    adapter.close();
  }
 catch (  Exception e) {
    e.printStackTrace();
  }
  System.out.println("String_Node_Str");
  return moveArray;
}

Fixed version (ground truth):
public static Move[] createMoveArray(){
  Move[] moveArray=new Move[560];
  moveArray[0]=new Move();
  DbAdapter adapter;
  ResultSet rs;
  try {
    adapter=new DbAdapter();
    for (int i=1; i < moveArray.length; i++) {
      Move move=new Move();
      rs=adapter.makeQuery("String_Node_Str" + String.valueOf(i) + "String_Node_Str");
      while (rs.next()) {
        move.setMoveName(rs.getString("String_Node_Str"));
        move.setBasePower(rs.getInt("String_Node_Str"));
        move.setAccuracy(rs.getInt("String_Node_Str"));
        move.setMoveId(rs.getInt("String_Node_Str"));
        move.setPP(rs.getInt("String_Node_Str"));
        move.setPriority(rs.getInt("String_Node_Str"));
        move.setKind(MoveKinds.getMoveKind(rs.getInt("String_Node_Str")));
        move.setType(Types.getType(rs.getInt("String_Node_Str")));
        move.setMoveMetaCategory(MoveMetaCategory.getCategory(rs.getInt("String_Node_Str")));
        move.setStatusAilment(MetaStatusAilment.getAilment(rs.getInt("String_Node_Str")));
        move.setMoveEffect(rs.getInt("String_Node_Str"));
        move.setMoveTarget(MoveTargetId.getTarget(rs.getInt("String_Node_Str")));
        move.setMaxHits(rs.getInt("String_Node_Str"));
        move.setMinHits(rs.getInt("String_Node_Str"));
        move.setMaxTurns(rs.getInt("String_Node_Str"));
        move.setMinTurns(rs.getInt("String_Node_Str"));
        move.setRecoilPercentage(rs.getInt("String_Node_Str"));
        int[] stats=new int[7];
        stats[0]=rs.getInt("String_Node_Str");
        stats[1]=rs.getInt("String_Node_Str");
        stats[2]=rs.getInt("String_Node_Str");
        stats[3]=rs.getInt("String_Node_Str");
        stats[4]=rs.getInt("String_Node_Str");
        stats[5]=rs.getInt("String_Node_Str");
        stats[6]=rs.getInt("String_Node_Str");
        move.setMoveStatChangesArray(stats);
      }
      int effect=move.getMoveEffect();
      if (effect == 30 || effect == 45 || effect == 78 || effect == 105) {
        move.setMoveMetaCategory(MoveMetaCategory.MULTI_HIT);
      }
switch (move.getMoveId()) {
case 251:
        move.setMoveMetaCategory(MoveMetaCategory.UNIQUE_EFFECT);
      break;
case 91:
    move.setMoveMetaCategory(MoveMetaCategory.UNIQUE_EFFECT);
  break;
case 19:
move.setMoveMetaCategory(MoveMetaCategory.UNIQUE_EFFECT);
break;
case 291:
move.setMoveMetaCategory(MoveMetaCategory.UNIQUE_EFFECT);
break;
case 507:
move.setMoveMetaCategory(MoveMetaCategory.UNIQUE_EFFECT);
break;
}
moveArray[i]=move;
}
adapter.close();
}
 catch (Exception e) {
e.printStackTrace();
}
System.out.println("String_Node_Str");
return moveArray;
}