Program: 40444
Project: 40444
Buggy source:
public BotService(LocaleService localeService,GymRepository gymRepository,RaidRepository raidRepository,PokemonRepository pokemonRepository,PokemonRaidStrategyService raidInfoService,ServerConfigRepository serverConfigRepository,UserConfigRepository userConfigRepository,ExecutorService executorService,ClockService clockService,TrackingService trackingService,String ownerId,String token){
  this.gymRepository=gymRepository;
  this.serverConfigRepository=serverConfigRepository;
  this.userConfigRepository=userConfigRepository;
  this.trackingService=trackingService;
  this.ownerId=ownerId;
  this.token=token;
  if (!System.getProperty("String_Node_Str").equals("String_Node_Str")) {
    System.err.println("String_Node_Str");
    System.exit(-1);
  }
  initializeConfig();
  EventWaiter waiter=new EventWaiter();
  EventLoggingListener eventLoggingListener=new EventLoggingListener();
  GymHuntrRaidEventListener gymHuntrRaidEventListener=new GymHuntrRaidEventListener(serverConfigRepository,raidRepository,gymRepository,pokemonRepository,localeService,executorService,clockService,this,raidInfoService);
  StartUpEventListener startUpEventListener=new StartUpEventListener(serverConfigRepository,raidRepository,localeService,clockService,executorService,this,gymRepository,pokemonRepository,raidInfoService);
  SignupWithPlusCommandListener plusCommandEventListener=new SignupWithPlusCommandListener(raidRepository,pokemonRepository,serverConfigRepository,this,localeService);
  UnsignWithMinusCommandListener minusCommandEventListener=new UnsignWithMinusCommandListener(raidRepository,pokemonRepository,serverConfigRepository,this,localeService);
  aggregateCommandListener=new AggregateCommandListener(Arrays.asList());
  CommandClientBuilder client=new CommandClientBuilder();
  client.setOwnerId(this.ownerId);
  client.setEmojis(Emotes.OK,"String_Node_Str",Emotes.ERROR);
  client.setPrefix("String_Node_Str");
  client.setAlternativePrefix("String_Node_Str");
  client.setGame(Game.of("String_Node_Str"));
  client.addCommands(new WhatsNewCommand(serverConfigRepository,aggregateCommandListener,localeService),new HelpManualCommand(localeService,serverConfigRepository,aggregateCommandListener),new AboutCommand(Color.BLUE,localeService.getMessageFor(LocaleService.AT_YOUR_SERVICE,LocaleService.DEFAULT),new String[]{LocaleService.featuresString_SV},Permission.ADMINISTRATOR),new PingCommand(),new UsageCommand(localeService,serverConfigRepository,aggregateCommandListener),new GettingStartedCommand(localeService,serverConfigRepository,aggregateCommandListener),new AdminCommands(userConfigRepository,serverConfigRepository,gymRepository,this,trackingService),new NewRaidCommand(gymRepository,raidRepository,pokemonRepository,localeService,serverConfigRepository,aggregateCommandListener),new NewRaidStartsAtCommand(gymRepository,raidRepository,pokemonRepository,localeService,serverConfigRepository,aggregateCommandListener),new NewRaidExCommand(gymRepository,raidRepository,pokemonRepository,localeService,serverConfigRepository,aggregateCommandListener),new UserConfigCommand(serverConfigRepository,aggregateCommandListener,localeService,userConfigRepository),new RaidStatusCommand(gymRepository,raidRepository,localeService,serverConfigRepository,this,aggregateCommandListener,pokemonRepository),new RaidListCommand(raidRepository,localeService,serverConfigRepository,pokemonRepository,aggregateCommandListener),new SignUpCommand(gymRepository,raidRepository,localeService,serverConfigRepository,aggregateCommandListener),new WhereIsGymCommand(gymRepository,localeService,serverConfigRepository,aggregateCommandListener),new WhereIsGymInChatCommand(gymRepository,localeService,serverConfigRepository,aggregateCommandListener),new RemoveSignUpCommand(gymRepository,raidRepository,localeService,serverConfigRepository,aggregateCommandListener),new PokemonVsCommand(pokemonRepository,raidInfoService,localeService,serverConfigRepository,aggregateCommandListener),new ServerInfoCommand(serverConfigRepository,localeService,aggregateCommandListener,clockService),new DonateCommand(localeService,serverConfigRepository,aggregateCommandListener),new TrackPokemonCommand(serverConfigRepository,localeService,pokemonRepository,trackingService,aggregateCommandListener),new UnTrackPokemonCommand(serverConfigRepository,localeService,pokemonRepository,aggregateCommandListener,trackingService),new InstallCommand(serverConfigRepository,gymRepository),new InstallEmotesCommand(localeService),new AlterRaidCommand(gymRepository,raidRepository,pokemonRepository,localeService,serverConfigRepository,aggregateCommandListener,this),new NewRaidGroupCommand(gymRepository,raidRepository,pokemonRepository,localeService,serverConfigRepository,aggregateCommandListener,this,clockService,executorService,raidInfoService),new EggHatchedCommand(gymRepository,raidRepository,pokemonRepository,localeService,serverConfigRepository,aggregateCommandListener,this,raidInfoService),new RaidOverviewCommand(raidRepository,localeService,serverConfigRepository,pokemonRepository,aggregateCommandListener,clockService,executorService));
  try {
    commandClient=client.build();
    botInstance=new JDABuilder(AccountType.BOT).setToken(this.token).setStatus(OnlineStatus.DO_NOT_DISTURB).setGame(Game.of("String_Node_Str")).addEventListener(waiter).addEventListener(commandClient).addEventListener(startUpEventListener).addEventListener(plusCommandEventListener).addEventListener(minusCommandEventListener).addEventListener(gymHuntrRaidEventListener).buildBlocking();
    for (    EventListener extraListener : extraListeners) {
      botInstance.addEventListener(extraListener);
      LOGGER.info("String_Node_Str" + extraListener);
    }
  }
 catch (  LoginException|RateLimitedException|InterruptedException e) {
    throw new RuntimeException(e);
  }
}

Fixed version (ground truth):
public BotService(LocaleService localeService,GymRepository gymRepository,RaidRepository raidRepository,PokemonRepository pokemonRepository,PokemonRaidStrategyService raidInfoService,ServerConfigRepository serverConfigRepository,UserConfigRepository userConfigRepository,ExecutorService executorService,ClockService clockService,TrackingService trackingService,String ownerId,String token){
  this.gymRepository=gymRepository;
  this.serverConfigRepository=serverConfigRepository;
  this.userConfigRepository=userConfigRepository;
  this.trackingService=trackingService;
  this.ownerId=ownerId;
  this.token=token;
  if (!System.getProperty("String_Node_Str").equals("String_Node_Str")) {
    System.err.println("String_Node_Str");
    System.exit(-1);
  }
  initializeConfig();
  EventWaiter waiter=new EventWaiter();
  EventLoggingListener eventLoggingListener=new EventLoggingListener();
  GymHuntrRaidEventListener gymHuntrRaidEventListener=new GymHuntrRaidEventListener(serverConfigRepository,raidRepository,gymRepository,pokemonRepository,localeService,executorService,clockService,this,raidInfoService);
  StartUpEventListener startUpEventListener=new StartUpEventListener(serverConfigRepository,raidRepository,localeService,clockService,executorService,this,gymRepository,pokemonRepository,raidInfoService);
  SignupWithPlusCommandListener plusCommandEventListener=new SignupWithPlusCommandListener(raidRepository,pokemonRepository,serverConfigRepository,this,localeService);
  UnsignWithMinusCommandListener minusCommandEventListener=new UnsignWithMinusCommandListener(raidRepository,pokemonRepository,serverConfigRepository,this,localeService);
  aggregateCommandListener=new AggregateCommandListener(Arrays.asList());
  CommandClientBuilder client=new CommandClientBuilder();
  client.setOwnerId(this.ownerId);
  client.setEmojis(Emotes.OK,"String_Node_Str",Emotes.ERROR);
  client.setPrefix("String_Node_Str");
  client.setAlternativePrefix("String_Node_Str");
  client.setGame(Game.of("String_Node_Str"));
  client.addCommands(new WhatsNewCommand(serverConfigRepository,aggregateCommandListener,localeService),new HelpManualCommand(localeService,serverConfigRepository,aggregateCommandListener),new AboutCommand(Color.BLUE,localeService.getMessageFor(LocaleService.AT_YOUR_SERVICE,LocaleService.DEFAULT),new String[]{LocaleService.featuresString_SV},Permission.ADMINISTRATOR),new PingCommand(),new UsageCommand(localeService,serverConfigRepository,aggregateCommandListener),new GettingStartedCommand(localeService,serverConfigRepository,aggregateCommandListener),new AdminCommands(userConfigRepository,serverConfigRepository,gymRepository,this,trackingService,localeService,pokemonRepository,raidRepository),new NewRaidCommand(gymRepository,raidRepository,pokemonRepository,localeService,serverConfigRepository,aggregateCommandListener),new NewRaidStartsAtCommand(gymRepository,raidRepository,pokemonRepository,localeService,serverConfigRepository,aggregateCommandListener),new NewRaidExCommand(gymRepository,raidRepository,pokemonRepository,localeService,serverConfigRepository,aggregateCommandListener),new UserConfigCommand(serverConfigRepository,aggregateCommandListener,localeService,userConfigRepository),new RaidStatusCommand(gymRepository,raidRepository,localeService,serverConfigRepository,this,aggregateCommandListener,pokemonRepository),new RaidListCommand(raidRepository,localeService,serverConfigRepository,pokemonRepository,aggregateCommandListener),new SignUpCommand(gymRepository,raidRepository,localeService,serverConfigRepository,aggregateCommandListener),new WhereIsGymCommand(gymRepository,localeService,serverConfigRepository,aggregateCommandListener),new WhereIsGymInChatCommand(gymRepository,localeService,serverConfigRepository,aggregateCommandListener),new RemoveSignUpCommand(gymRepository,raidRepository,localeService,serverConfigRepository,aggregateCommandListener),new PokemonVsCommand(pokemonRepository,raidInfoService,localeService,serverConfigRepository,aggregateCommandListener),new ServerInfoCommand(serverConfigRepository,localeService,aggregateCommandListener,clockService),new DonateCommand(localeService,serverConfigRepository,aggregateCommandListener),new TrackPokemonCommand(serverConfigRepository,localeService,pokemonRepository,trackingService,aggregateCommandListener),new UnTrackPokemonCommand(serverConfigRepository,localeService,pokemonRepository,aggregateCommandListener,trackingService),new InstallCommand(serverConfigRepository,gymRepository),new InstallEmotesCommand(localeService),new AlterRaidCommand(gymRepository,raidRepository,pokemonRepository,localeService,serverConfigRepository,aggregateCommandListener,this),new NewRaidGroupCommand(gymRepository,raidRepository,pokemonRepository,localeService,serverConfigRepository,aggregateCommandListener,this,clockService,executorService,raidInfoService),new EggHatchedCommand(gymRepository,raidRepository,pokemonRepository,localeService,serverConfigRepository,aggregateCommandListener,this,raidInfoService),new RaidOverviewCommand(raidRepository,localeService,serverConfigRepository,pokemonRepository,aggregateCommandListener,clockService,executorService));
  try {
    commandClient=client.build();
    botInstance=new JDABuilder(AccountType.BOT).setToken(this.token).setStatus(OnlineStatus.DO_NOT_DISTURB).setGame(Game.of("String_Node_Str")).addEventListener(waiter).addEventListener(commandClient).addEventListener(startUpEventListener).addEventListener(plusCommandEventListener).addEventListener(minusCommandEventListener).addEventListener(gymHuntrRaidEventListener).buildBlocking();
    for (    EventListener extraListener : extraListeners) {
      botInstance.addEventListener(extraListener);
      LOGGER.info("String_Node_Str" + extraListener);
    }
  }
 catch (  LoginException|RateLimitedException|InterruptedException e) {
    throw new RuntimeException(e);
  }
}