Program: 133910
Project: 133910
Buggy source:
@Override public void onEnable(){
  plugin=this;
  ProjectKorra.log=this.getLogger();
  try {
    File logFolder=new File(getDataFolder(),"String_Node_Str");
    if (!logFolder.exists()) {
      logFolder.mkdirs();
    }
    handler=new PKLogHandler(logFolder + File.separator + "String_Node_Str");
    log.getParent().addHandler(handler);
  }
 catch (  SecurityException|IOException e) {
    e.printStackTrace();
  }
  new ConfigManager();
  new GeneralMethods(this);
  CoreAbility.registerAbilities();
  updater=new Updater(this,"String_Node_Str");
  new Commands(this);
  new MultiAbilityManager();
  new ComboManager();
  Preset.loadExternalPresets();
  DBConnection.host=getConfig().getString("String_Node_Str");
  DBConnection.port=getConfig().getInt("String_Node_Str");
  DBConnection.pass=getConfig().getString("String_Node_Str");
  DBConnection.db=getConfig().getString("String_Node_Str");
  DBConnection.user=getConfig().getString("String_Node_Str");
  DBConnection.init();
  if (DBConnection.isOpen() == false) {
    return;
  }
  getServer().getPluginManager().registerEvents(new PKListener(this),this);
  getServer().getScheduler().scheduleSyncRepeatingTask(this,new BendingManager(),0,1);
  getServer().getScheduler().scheduleSyncRepeatingTask(this,new AirbendingManager(this),0,1);
  getServer().getScheduler().scheduleSyncRepeatingTask(this,new WaterbendingManager(this),0,1);
  getServer().getScheduler().scheduleSyncRepeatingTask(this,new EarthbendingManager(this),0,1);
  getServer().getScheduler().scheduleSyncRepeatingTask(this,new FirebendingManager(this),0,1);
  getServer().getScheduler().scheduleSyncRepeatingTask(this,new ChiblockingManager(this),0,1);
  getServer().getScheduler().scheduleSyncRepeatingTask(this,new PassiveHandler(),0,1);
  getServer().getScheduler().runTaskTimerAsynchronously(this,new RevertChecker(this),0,200);
  for (  Player player : Bukkit.getOnlinePlayers()) {
    GeneralMethods.createBendingPlayer(player.getUniqueId(),player.getName());
  }
  try {
    MetricsLite metrics=new MetricsLite(this);
    metrics.start();
  }
 catch (  IOException e) {
    e.printStackTrace();
  }
  double cacheTime=ConfigManager.getConfig().getDouble("String_Node_Str");
  if (Bukkit.getPluginManager().getPlugin("String_Node_Str") != null)   FlagPermissions.addFlag(ConfigManager.defaultConfig.get().getString("String_Node_Str"));
  GeneralMethods.deserializeFile();
  GeneralMethods.startCacheCleaner(cacheTime);
  updater.checkUpdate();
}

Fixed version (ground truth):
@Override public void onEnable(){
  plugin=this;
  ProjectKorra.log=this.getLogger();
  try {
    File logFolder=new File(getDataFolder(),"String_Node_Str");
    if (!logFolder.exists()) {
      logFolder.mkdirs();
    }
    handler=new PKLogHandler(logFolder + File.separator + "String_Node_Str");
    log.getParent().addHandler(handler);
  }
 catch (  SecurityException|IOException e) {
    e.printStackTrace();
  }
  new ConfigManager();
  new GeneralMethods(this);
  CoreAbility.registerAbilities();
  updater=new Updater(this,"String_Node_Str");
  new Commands(this);
  new MultiAbilityManager();
  new ComboManager();
  Preset.loadExternalPresets();
  DBConnection.host=getConfig().getString("String_Node_Str");
  DBConnection.port=getConfig().getInt("String_Node_Str");
  DBConnection.pass=getConfig().getString("String_Node_Str");
  DBConnection.db=getConfig().getString("String_Node_Str");
  DBConnection.user=getConfig().getString("String_Node_Str");
  DBConnection.init();
  if (DBConnection.isOpen() == false) {
    return;
  }
  getServer().getPluginManager().registerEvents(new PKListener(this),this);
  getServer().getScheduler().scheduleSyncRepeatingTask(this,new BendingManager(),0,1);
  getServer().getScheduler().scheduleSyncRepeatingTask(this,new AirbendingManager(this),0,1);
  getServer().getScheduler().scheduleSyncRepeatingTask(this,new WaterbendingManager(this),0,1);
  getServer().getScheduler().scheduleSyncRepeatingTask(this,new EarthbendingManager(this),0,1);
  getServer().getScheduler().scheduleSyncRepeatingTask(this,new FirebendingManager(this),0,1);
  getServer().getScheduler().scheduleSyncRepeatingTask(this,new ChiblockingManager(this),0,1);
  getServer().getScheduler().runTaskTimerAsynchronously(this,new RevertChecker(this),0,200);
  for (  Player player : Bukkit.getOnlinePlayers()) {
    PKListener.getJumpStatistics().put(player,player.getStatistic(Statistic.JUMP));
    GeneralMethods.createBendingPlayer(player.getUniqueId(),player.getName());
  }
  try {
    MetricsLite metrics=new MetricsLite(this);
    metrics.start();
  }
 catch (  IOException e) {
    e.printStackTrace();
  }
  double cacheTime=ConfigManager.getConfig().getDouble("String_Node_Str");
  if (Bukkit.getPluginManager().getPlugin("String_Node_Str") != null)   FlagPermissions.addFlag(ConfigManager.defaultConfig.get().getString("String_Node_Str"));
  GeneralMethods.deserializeFile();
  GeneralMethods.startCacheCleaner(cacheTime);
  updater.checkUpdate();
}