Program: 16969
Project: 16969
Buggy source:
/** 
 * Register all the commands directly. This could also be done with a somewhat dirty classloader/resource reader method, but this is neater, albeit more manual work.
 */
private void registerCommands(){
  commands=new HashMap<String,Command>();
  register(ArenaListCommand.class);
  register(JoinCommand.class);
  register(LeaveCommand.class);
  register(NotReadyCommand.class);
  register(SpecCommand.class);
  register(PlayerListCommand.class);
  register(DisableCommand.class);
  register(EnableCommand.class);
  register(ForceCommand.class);
  register(KickCommand.class);
  register(RestoreCommand.class);
  register(AddArenaCommand.class);
  register(AddClassPermCommand.class);
  register(AddContainerCommand.class);
  register(AddSpawnpointCommand.class);
  register(ArenaCommand.class);
  register(CheckDataCommand.class);
  register(ConfigCommand.class);
  register(ContainersCommand.class);
  register(EditArenaCommand.class);
  register(ExpandLobbyRegionCommand.class);
  register(ExpandRegionCommand.class);
  register(ListClassesCommand.class);
  register(ListClassPermsCommand.class);
  register(ProtectCommand.class);
  register(RemoveArenaCommand.class);
  register(RemoveClassCommand.class);
  register(RemoveClassPermCommand.class);
  register(RemoveContainerCommand.class);
  register(RemoveSpawnpointCommand.class);
  register(SetArenaCommand.class);
  register(SetClassCommand.class);
  register(SetLobbyRegionCommand.class);
  register(SetRegionCommand.class);
  register(SetWarpCommand.class);
  register(ShowRegionCommand.class);
  register(SpawnpointsCommand.class);
  register(AutoGenerateCommand.class);
  register(AutoDegenerateCommand.class);
}

Fixed version (ground truth):
/** 
 * Register all the commands directly. This could also be done with a somewhat dirty classloader/resource reader method, but this is neater, albeit more manual work.
 */
private void registerCommands(){
  commands=new HashMap<String,Command>();
  register(ArenaListCommand.class);
  register(JoinCommand.class);
  register(LeaveCommand.class);
  register(NotReadyCommand.class);
  register(SpecCommand.class);
  register(PlayerListCommand.class);
  register(DisableCommand.class);
  register(EnableCommand.class);
  register(ForceCommand.class);
  register(KickCommand.class);
  register(RestoreCommand.class);
  register(AddArenaCommand.class);
  register(AddClassPermCommand.class);
  register(AddContainerCommand.class);
  register(AddSpawnpointCommand.class);
  register(ArenaCommand.class);
  register(CheckDataCommand.class);
  register(ConfigCommand.class);
  register(ContainersCommand.class);
  register(EditArenaCommand.class);
  register(ExpandLobbyRegionCommand.class);
  register(ExpandRegionCommand.class);
  register(ListClassesCommand.class);
  register(ListClassPermsCommand.class);
  register(ProtectCommand.class);
  register(RemoveArenaCommand.class);
  register(RemoveClassCommand.class);
  register(RemoveClassPermCommand.class);
  register(RemoveContainerCommand.class);
  register(RemoveLeaderboardCommand.class);
  register(RemoveSpawnpointCommand.class);
  register(SetArenaCommand.class);
  register(SetClassCommand.class);
  register(SetLobbyRegionCommand.class);
  register(SetRegionCommand.class);
  register(SetWarpCommand.class);
  register(ShowRegionCommand.class);
  register(SpawnpointsCommand.class);
  register(AutoGenerateCommand.class);
  register(AutoDegenerateCommand.class);
}