Program: 86518
Project: 86518
Buggy source:
@Override public void onEnable(){
  try {
    super.onEnable();
    Config.init();
    Bridge.init();
    PluginManager pm=this.getServer().getPluginManager();
    FactionsVersion=(pm.getPlugin("String_Node_Str").getDescription().getVersion());
    FactionsPlusPlugin.info("String_Node_Str" + FactionsVersion);
    pm.registerEvents(new FPConfigLoadedListener(),this);
    Config.reload();
    pm.registerEvents(this.corelistener,this);
    FactionsPlusJail.server=getServer();
    FactionsPlusCommandManager.setup();
    RegisteredServiceProvider<Permission> permissionProvider=getServer().getServicesManager().getRegistration(net.milkbowl.vault.permission.Permission.class);
    if (permissionProvider != null) {
      permission=permissionProvider.getProvider();
    }
    if (Config._announce.enabled._) {
      pm.registerEvents(this.announcelistener,this);
    }
    if (Config._banning.enabled._) {
      pm.registerEvents(this.banlistener,this);
    }
    if (Config._jails.enabled._) {
      pm.registerEvents(this.jaillistener,this);
    }
    if (Config._extras._disguise.enableDisguiseIntegration._ && (Config._extras._disguise.unDisguiseIfInOwnTerritory._ || Config._extras._disguise.unDisguiseIfInEnemyTerritory._)) {
      if (getServer().getPluginManager().isPluginEnabled("String_Node_Str")) {
        pm.registerEvents(this.dclistener,this);
        FactionsPlusPlugin.info("String_Node_Str");
        isDisguiseCraftEnabled=true;
        pm.registerEvents(this.disguiselistener,this);
      }
      if (getServer().getPluginManager().isPluginEnabled("String_Node_Str")) {
        pm.registerEvents(this.mdlistener,this);
        FactionsPlusPlugin.info("String_Node_Str");
        isMobDisguiseEnabled=true;
        pm.registerEvents(this.disguiselistener,this);
      }
 else {
        FactionsPlusPlugin.info("String_Node_Str");
      }
    }
    if (1 < 2) {
      if (getServer().getPluginManager().isPluginEnabled("String_Node_Str")) {
        worldEditPlugin=(WorldEditPlugin)getServer().getPluginManager().getPlugin("String_Node_Str");
        FactionsPlusPlugin.info("String_Node_Str");
        isWorldEditEnabled=true;
      }
      if (getServer().getPluginManager().isPluginEnabled("String_Node_Str")) {
        worldGuardPlugin=(WorldGuardPlugin)getServer().getPluginManager().getPlugin("String_Node_Str");
        FactionsPlusPlugin.info("String_Node_Str");
        isWorldGuardEnabled=true;
      }
    }
    if (LWCBase.isLWC()) {
      LWCFunctions.hookLWC();
      if ((com.massivecraft.factions.Conf.lwcIntegration) && (com.massivecraft.factions.Conf.onCaptureResetLwcLocks)) {
        if (!Config._extras._protection._lwc.removeAllLocksOnClaim._) {
          Config._extras._protection._lwc.removeAllLocksOnClaim._=true;
          FactionsPlusPlugin.info("String_Node_Str" + Config._extras._protection._lwc.removeAllLocksOnClaim._dottedName_asString + "String_Node_Str");
        }
      }
    }
 else {
      if (Config._extras._protection._lwc.blockCPublicAccessOnNonOwnFactionTerritory._ || Config._extras._protection._lwc.removeAllLocksOnClaim._) {
        FactionsPlusPlugin.warn("String_Node_Str" + "String_Node_Str");
      }
      return;
    }
    if (Config._peaceful.enablePeacefulBoosts._) {
      pm.registerEvents(this.peacefullistener,this);
    }
    if (Config._powerboosts.enabled._) {
      pm.registerEvents(this.powerboostlistener,this);
    }
    if (Config._extras.crossBorderLiquidFlowBlock._) {
      pm.registerEvents(this.liquidflowlistener,this);
    }
    version=getDescription().getVersion();
    FactionsPlusPlugin.info("String_Node_Str");
    try {
      if (null == metrics) {
        metrics=new Metrics(this);
        metrics.start();
      }
 else {
        metrics.enable();
      }
    }
 catch (    IOException e) {
      FactionsPlusPlugin.info("String_Node_Str");
    }
  }
 catch (  Throwable t) {
    FactionsPlus.severe(t);
    if (isEnabled()) {
      disableSelf();
    }
  }
}

Fixed version (ground truth):
@Override public void onEnable(){
  try {
    super.onEnable();
    Config.init();
    Bridge.init();
    PluginManager pm=this.getServer().getPluginManager();
    FactionsVersion=(pm.getPlugin("String_Node_Str").getDescription().getVersion());
    FactionsPlusPlugin.info("String_Node_Str" + FactionsVersion);
    pm.registerEvents(new FPConfigLoadedListener(),this);
    Config.reload();
    pm.registerEvents(this.corelistener,this);
    FactionsPlusJail.server=getServer();
    FactionsPlusCommandManager.setup();
    RegisteredServiceProvider<Permission> permissionProvider=getServer().getServicesManager().getRegistration(net.milkbowl.vault.permission.Permission.class);
    if (permissionProvider != null) {
      permission=permissionProvider.getProvider();
    }
    if (Config._announce.enabled._) {
      pm.registerEvents(this.announcelistener,this);
    }
    if (Config._banning.enabled._) {
      pm.registerEvents(this.banlistener,this);
    }
    if (Config._jails.enabled._) {
      pm.registerEvents(this.jaillistener,this);
    }
    if (Config._extras._disguise.enableDisguiseIntegration._ && (Config._extras._disguise.unDisguiseIfInOwnTerritory._ || Config._extras._disguise.unDisguiseIfInEnemyTerritory._)) {
      if (getServer().getPluginManager().isPluginEnabled("String_Node_Str")) {
        pm.registerEvents(this.dclistener,this);
        FactionsPlusPlugin.info("String_Node_Str");
        isDisguiseCraftEnabled=true;
        pm.registerEvents(this.disguiselistener,this);
      }
      if (getServer().getPluginManager().isPluginEnabled("String_Node_Str")) {
        pm.registerEvents(this.mdlistener,this);
        FactionsPlusPlugin.info("String_Node_Str");
        isMobDisguiseEnabled=true;
        pm.registerEvents(this.disguiselistener,this);
      }
 else {
        FactionsPlusPlugin.info("String_Node_Str");
      }
    }
    if (1 < 2) {
      if (getServer().getPluginManager().isPluginEnabled("String_Node_Str")) {
        worldEditPlugin=(WorldEditPlugin)getServer().getPluginManager().getPlugin("String_Node_Str");
        FactionsPlusPlugin.info("String_Node_Str");
        isWorldEditEnabled=true;
      }
      if (getServer().getPluginManager().isPluginEnabled("String_Node_Str")) {
        worldGuardPlugin=(WorldGuardPlugin)getServer().getPluginManager().getPlugin("String_Node_Str");
        FactionsPlusPlugin.info("String_Node_Str");
        isWorldGuardEnabled=true;
      }
    }
    if (LWCBase.isLWC()) {
      LWCFunctions.hookLWC();
      if ((com.massivecraft.factions.Conf.lwcIntegration) && (com.massivecraft.factions.Conf.onCaptureResetLwcLocks)) {
        if (!Config._extras._protection._lwc.removeAllLocksOnClaim._) {
          Config._extras._protection._lwc.removeAllLocksOnClaim._=true;
          FactionsPlusPlugin.info("String_Node_Str" + Config._extras._protection._lwc.removeAllLocksOnClaim._dottedName_asString + "String_Node_Str");
        }
      }
    }
 else {
      if (Config._extras._protection._lwc.blockCPublicAccessOnNonOwnFactionTerritory._ || Config._extras._protection._lwc.removeAllLocksOnClaim._) {
        FactionsPlusPlugin.warn("String_Node_Str" + "String_Node_Str");
      }
      return;
    }
    if (Config._peaceful.enablePeacefulBoosts._) {
      pm.registerEvents(this.peacefullistener,this);
    }
    if (Config._powerboosts.enabled._) {
      pm.registerEvents(this.powerboostlistener,this);
    }
    if (Config._extras.crossBorderLiquidFlowBlock._) {
      pm.registerEvents(this.liquidflowlistener,this);
    }
    version=getDescription().getVersion();
    FactionsPlusPlugin.info("String_Node_Str");
    try {
synchronized (Metrics.class) {
        if (null == metrics) {
          metrics=new Metrics(this);
          metrics.start();
        }
 else {
          metrics.enable();
        }
      }
    }
 catch (    IOException e) {
      FactionsPlusPlugin.info("String_Node_Str");
    }
  }
 catch (  Throwable t) {
    FactionsPlus.severe(t);
    if (isEnabled()) {
      disableSelf();
    }
  }
}