Program: 38094
Project: 38094
Buggy source:
public static void loadCommands(){
  File commandsFolder=new File("String_Node_Str");
  if (!commandsFolder.exists()) {
    commandsFolder.mkdirs();
  }
  for (  File file : commandsFolder.listFiles()) {
    int extIndex=file.getName().lastIndexOf("String_Node_Str");
    String extension="String_Node_Str";
    if (extIndex > 0) {
      extension=file.getName().substring(extIndex + 1);
    }
    if (extension.equalsIgnoreCase("String_Node_Str")) {
      try {
        FileInputStream input=new FileInputStream(file);
        Yaml yaml=new Yaml();
        Map<String,Object> data=(Map<String,Object>)yaml.load(input);
        if (data != null && !data.isEmpty()) {
          try {
            ArrayList<String> extendedHelp=(ArrayList<String>)data.get("String_Node_Str");
            ArrayList<String> aliases=(ArrayList<String>)data.get("String_Node_Str");
            Nexus.getInstance().getCommandManager().register(new DynamicCommand((String)data.get("String_Node_Str"),(String)data.get("String_Node_Str"),(Boolean)data.get("String_Node_Str"),(String)data.get("String_Node_Str"),extendedHelp.toArray(new String[extendedHelp.size()]),aliases.toArray(new String[aliases.size()]),(Boolean)data.get("String_Node_Str"),(Boolean)data.get("String_Node_Str")));
          }
 catch (          Exception e) {
            e.printStackTrace();
          }
        }
      }
 catch (      FileNotFoundException e) {
        Nexus.LOGGER.severe("String_Node_Str" + file.getName().substring(0) + "String_Node_Str");
        e.printStackTrace();
      }
    }
  }
}

Fixed version (ground truth):
public static void loadCommands(){
  File commandsFolder=new File("String_Node_Str");
  if (!commandsFolder.exists()) {
    commandsFolder.mkdirs();
  }
  for (  File file : commandsFolder.listFiles()) {
    int extIndex=file.getName().lastIndexOf("String_Node_Str");
    String extension="String_Node_Str";
    if (extIndex > 0) {
      extension=file.getName().substring(extIndex + 1);
    }
    if (extension.equalsIgnoreCase("String_Node_Str")) {
      try {
        FileInputStream input=new FileInputStream(file);
        Yaml yaml=new Yaml();
        Map<String,Object> data=(Map<String,Object>)yaml.load(input);
        if (data != null && !data.isEmpty()) {
          try {
            Nexus.getInstance().getCommandManager().register(new DynamicCommand(ColorUtil.deserialise((String)data.get("String_Node_Str")),ColorUtil.deserialise((String)data.get("String_Node_Str")),(Boolean)data.get("String_Node_Str"),ColorUtil.deserialise((String)data.get("String_Node_Str")),ColorUtil.deserialise(((ArrayList<String>)data.get("String_Node_Str")).toArray(new String[0])),ColorUtil.deserialise(((ArrayList<String>)data.get("String_Node_Str")).toArray(new String[0])),(Boolean)data.get("String_Node_Str"),(Boolean)data.get("String_Node_Str")));
          }
 catch (          Exception e) {
            Nexus.LOGGER.warning("String_Node_Str" + file.getName());
            e.printStackTrace();
          }
        }
      }
 catch (      FileNotFoundException e) {
        Nexus.LOGGER.severe("String_Node_Str" + file.getName().substring(0) + "String_Node_Str");
        e.printStackTrace();
      }
    }
  }
}