Program: 174074
Project: 174074
Buggy source:
private void waitForChannel(CommandEvent event){
  event.replySuccess("String_Node_Str" + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str");
  ew.waitForEvent(GuildMessageReceivedEvent.class,e -> event.getAuthor().equals(e.getAuthor()) && event.getTextChannel().equals(e.getChannel()),e -> {
switch (e.getMessage().getContentRaw().toLowerCase()) {
case "String_Node_Str":
      event.replyWarning("String_Node_Str");
    break;
case "String_Node_Str":
  if (!(event.getSelfMember().hasPermission(Permission.MANAGE_CHANNEL)) || !(event.getSelfMember().hasPermission(Permission.MANAGE_PERMISSIONS))) {
    event.replyError("String_Node_Str");
    waitForChannel(event);
  }
event.replySuccess("String_Node_Str",m -> m.editMessage("String_Node_Str").queueAfter(3,TimeUnit.SECONDS,(s) -> {
  event.getGuild().getController().createTextChannel("String_Node_Str").queue(everyone -> everyone.createPermissionOverride(event.getGuild().getPublicRole()).setDeny(Permission.MESSAGE_WRITE).queue(self -> self.getChannel().createPermissionOverride(event.getSelfMember()).setAllow(Permission.MESSAGE_WRITE).queue(next -> {
    event.replySuccess("String_Node_Str");
    waitForStarCount(event);
  }
)));
}
));
break;
case "String_Node_Str":
String tc;
try {
String[] args=e.getMessage().getContentRaw().split("String_Node_Str",2);
tc=args[1].trim();
}
 catch (ArrayIndexOutOfBoundsException ex) {
event.replyWarning("String_Node_Str");
waitForChannel(event);
return;
}
List<TextChannel> list=FinderUtil.findTextChannels(tc,event.getGuild());
if (list.isEmpty()) event.replyWarning("String_Node_Str" + tc + "String_Node_Str");
 else if (list.size() > 1) event.replyWarning(FormatUtil.listOfTcChannels(list,tc));
 else {
db.setStarboardChannel(event.getGuild(),list.get(0));
event.replySuccess("String_Node_Str" + list.get(0).getAsMention());
waitForStarCount(event);
}
break;
default :
event.replyWarning("String_Node_Str");
waitForChannel(event);
}
}
,2,TimeUnit.MINUTES,() -> event.replyWarning("String_Node_Str" + event.getAuthor().getAsMention() + "String_Node_Str"));
}

Fixed version (ground truth):
private void waitForChannel(CommandEvent event){
  event.replySuccess("String_Node_Str" + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str");
  ew.waitForEvent(GuildMessageReceivedEvent.class,e -> event.getAuthor().equals(e.getAuthor()) && event.getTextChannel().equals(e.getChannel()),e -> {
switch (e.getMessage().getContentRaw().split("String_Node_Str",2)[0].toLowerCase()) {
case "String_Node_Str":
      event.replyWarning("String_Node_Str");
    break;
case "String_Node_Str":
  if (!(event.getSelfMember().hasPermission(Permission.MANAGE_CHANNEL)) || !(event.getSelfMember().hasPermission(Permission.MANAGE_PERMISSIONS))) {
    event.replyError("String_Node_Str");
    waitForChannel(event);
  }
event.replySuccess("String_Node_Str",m -> m.editMessage("String_Node_Str").queueAfter(3,TimeUnit.SECONDS,(s) -> {
  event.getGuild().getController().createTextChannel("String_Node_Str").queue(everyone -> everyone.createPermissionOverride(event.getGuild().getPublicRole()).setDeny(Permission.MESSAGE_WRITE).queue(self -> self.getChannel().createPermissionOverride(event.getSelfMember()).setAllow(Permission.MESSAGE_WRITE).queue(next -> {
    event.replySuccess("String_Node_Str");
    waitForStarCount(event);
  }
)));
}
));
break;
case "String_Node_Str":
String tc;
try {
String[] args=e.getMessage().getContentRaw().split("String_Node_Str",2);
tc=args[1].trim();
}
 catch (ArrayIndexOutOfBoundsException ex) {
event.replyWarning("String_Node_Str");
waitForChannel(event);
return;
}
List<TextChannel> list=FinderUtil.findTextChannels(tc,event.getGuild());
if (list.isEmpty()) event.replyWarning("String_Node_Str" + tc + "String_Node_Str");
 else if (list.size() > 1) event.replyWarning(FormatUtil.listOfTcChannels(list,tc));
 else {
db.setStarboardChannel(event.getGuild(),list.get(0));
event.replySuccess("String_Node_Str" + list.get(0).getAsMention());
waitForStarCount(event);
}
break;
default :
event.replyWarning("String_Node_Str");
waitForChannel(event);
}
}
,2,TimeUnit.MINUTES,() -> event.replyWarning("String_Node_Str" + event.getAuthor().getAsMention() + "String_Node_Str"));
}