Program: 94055
Project: 94055
Buggy source:
public void onEnable(){
  plugin=this;
  SetupPluginInformation();
  CheckOldFiles();
  Server=getServer();
  Database=getDatabase();
  Plugin[] plugins=Server.getPluginManager().getPlugins();
  int counter=0;
  String Plugins="String_Node_Str";
  while (plugins.length > counter) {
    Plugins+=plugins[counter].getDescription().getName() + "String_Node_Str" + plugins[counter].getDescription().getVersion();
    if (plugins.length != (counter + 1))     Plugins+="String_Node_Str";
    counter++;
  }
  File f=new File("String_Node_Str" + PluginName + "String_Node_Str");
  if (!f.exists()) {
    Util.Log("String_Node_Str","String_Node_Str");
    DefaultFile("String_Node_Str","String_Node_Str");
  }
  new Config("String_Node_Str","String_Node_Str" + PluginName + "String_Node_Str","String_Node_Str");
  f=new File(getDataFolder() + "String_Node_Str");
  if (!f.exists()) {
    Util.Log("String_Node_Str","String_Node_Str");
    DefaultFile("String_Node_Str","String_Node_Str");
  }
  LoadYml("String_Node_Str");
  LoadYml("String_Node_Str");
  final Plugin checkCraftIRC=getServer().getPluginManager().getPlugin("String_Node_Str");
  CheckPermissions();
  if ((checkCraftIRC != null) && (Config.CraftIRC_enabled == true)) {
    craftircHandle=((CraftIRC)checkCraftIRC);
    Util.Log("String_Node_Str","String_Node_Str" + checkCraftIRC.getDescription().getName());
    this.getServer().getScheduler().scheduleSyncDelayedTask(this,new Runnable(){
      @Override public void run(){
        if (checkCraftIRC.isEnabled()) {
          zCraftIRC.SendMessage(Message.OnEnable,null);
        }
      }
    }
,100);
  }
  final Plugin Backpack=getServer().getPluginManager().getPlugin("String_Node_Str");
  if (Backpack != null) {
    Config.HasBackpack=true;
  }
  PluginManager pm=getServer().getPluginManager();
  pm.registerEvent(Event.Type.PLAYER_LOGIN,this.playerListener,Event.Priority.Low,this);
  pm.registerEvent(Event.Type.PLAYER_JOIN,this.playerListener,Event.Priority.Low,this);
  pm.registerEvent(Event.Type.PLAYER_QUIT,this.playerListener,Event.Priority.Low,this);
  pm.registerEvent(Event.Type.PLAYER_COMMAND_PREPROCESS,this.playerListener,Priority.Low,this);
  pm.registerEvent(Event.Type.PLAYER_MOVE,this.playerListener,Event.Priority.Normal,this);
  pm.registerEvent(Event.Type.PLAYER_INTERACT,this.playerListener,Event.Priority.Normal,this);
  pm.registerEvent(Event.Type.PLAYER_CHAT,this.playerListener,Event.Priority.Low,this);
  pm.registerEvent(Event.Type.PLAYER_PICKUP_ITEM,this.playerListener,Event.Priority.Normal,this);
  pm.registerEvent(Event.Type.PLAYER_DROP_ITEM,this.playerListener,Event.Priority.Normal,this);
  pm.registerEvent(Event.Type.PLAYER_RESPAWN,this.playerListener,Event.Priority.Normal,this);
  pm.registerEvent(Event.Type.PLAYER_KICK,this.playerListener,Event.Priority.Lowest,this);
  pm.registerEvent(Event.Type.BLOCK_PLACE,this.blockListener,Event.Priority.Normal,this);
  pm.registerEvent(Event.Type.BLOCK_DAMAGE,this.blockListener,Event.Priority.Normal,this);
  pm.registerEvent(Event.Type.BLOCK_IGNITE,this.blockListener,Event.Priority.Normal,this);
  pm.registerEvent(Event.Type.ENTITY_DAMAGE,this.entityListener,Event.Priority.Normal,this);
  pm.registerEvent(Event.Type.ENTITY_TARGET,this.entityListener,Event.Priority.Normal,this);
  PropertyManager TheSettings=new PropertyManager(new File("String_Node_Str"));
  if (TheSettings.getBoolean("String_Node_Str",true)) {
    Config.OnlineMode=true;
  }
  UpdateLinkedNames();
  setupDatabase();
  MySQL.connect();
  try {
    Util.CheckScript("String_Node_Str",Config.script_name,null,null,null,null);
  }
 catch (  SQLException e) {
    if (Config.custom_enabled && Config.custom_autocreate) {
      String enter="String_Node_Str";
      Util.Log("String_Node_Str","String_Node_Str" + Config.custom_table);
      StringBuilder query=new StringBuilder();
      String NL=System.getProperty("String_Node_Str");
      Scanner scanner=null;
      try {
        scanner=new Scanner(new FileInputStream(getDataFolder() + "String_Node_Str"));
      }
 catch (      FileNotFoundException e2) {
        e2.printStackTrace();
      }
      try {
        while (scanner.hasNextLine()) {
          String line=scanner.nextLine();
          if (line.contains("String_Node_Str")) {
            query.append("String_Node_Str" + Config.custom_table + "String_Node_Str"+ NL);
          }
 else {
            query.append(line + NL);
          }
        }
      }
  finally {
        scanner.close();
      }
      Util.Debug(enter + query);
      try {
        MySQL.query("String_Node_Str" + query);
        Util.Log("String_Node_Str","String_Node_Str" + Config.custom_table);
        PreparedStatement ps=(PreparedStatement)MySQL.mysql.prepareStatement("String_Node_Str" + Config.custom_table + "String_Node_Str");
        ResultSet rs=ps.executeQuery();
        if (rs.next()) {
          Util.Log("String_Node_Str",rs.getInt("String_Node_Str") + "String_Node_Str");
        }
      }
 catch (      SQLException e1) {
        Util.Log("String_Node_Str","String_Node_Str" + Config.custom_table);
        e1.printStackTrace();
      }
    }
 else {
      e.printStackTrace();
    }
  }
  Util.AddOtherNamesToDB();
  Util.Log("String_Node_Str",PluginName + "String_Node_Str" + PluginVersion+ "String_Node_Str");
  if (Config.debug_enable)   Util.Log("String_Node_Str","String_Node_Str");
  if (Config.custom_enabled)   if (Config.custom_encryption == null)   Util.Log("String_Node_Str","String_Node_Str");
  Util.Log("String_Node_Str",PluginName + "String_Node_Str");
  String thescript="String_Node_Str", theversion="String_Node_Str";
  if (Config.custom_enabled) {
    thescript="String_Node_Str";
  }
 else {
    thescript=Config.script_name;
    theversion=Config.script_version;
  }
  String online="String_Node_Str" + getServer().getOnlinePlayers().length;
  String max="String_Node_Str" + getServer().getMaxPlayers();
  if (Config.usagestats_enabled) {
    try {
      Util.PostInfo(getServer().getServerName(),getServer().getVersion(),PluginVersion,System.getProperty("String_Node_Str"),System.getProperty("String_Node_Str"),System.getProperty("String_Node_Str"),System.getProperty("String_Node_Str"),thescript,theversion,Plugins,online,max,Server.getPort());
    }
 catch (    IOException e1) {
      if (Config.debug_enable)       Util.Debug("String_Node_Str");
    }
  }
}

Fixed version (ground truth):
public void onEnable(){
  plugin=this;
  SetupPluginInformation();
  CheckOldFiles();
  Server=getServer();
  Database=getDatabase();
  Plugin[] plugins=Server.getPluginManager().getPlugins();
  int counter=0;
  String Plugins="String_Node_Str";
  while (plugins.length > counter) {
    Plugins+=plugins[counter].getDescription().getName() + "String_Node_Str" + plugins[counter].getDescription().getVersion();
    if (plugins.length != (counter + 1))     Plugins+="String_Node_Str";
    counter++;
  }
  File f=new File("String_Node_Str" + PluginName + "String_Node_Str");
  if (!f.exists()) {
    Util.Log("String_Node_Str","String_Node_Str");
    DefaultFile("String_Node_Str","String_Node_Str");
  }
  new Config("String_Node_Str","String_Node_Str" + PluginName + "String_Node_Str","String_Node_Str");
  f=new File(getDataFolder() + "String_Node_Str");
  if (!f.exists()) {
    Util.Log("String_Node_Str","String_Node_Str");
    DefaultFile("String_Node_Str","String_Node_Str");
  }
  LoadYml("String_Node_Str");
  LoadYml("String_Node_Str");
  final Plugin checkCraftIRC=getServer().getPluginManager().getPlugin("String_Node_Str");
  CheckPermissions();
  if ((checkCraftIRC != null) && (Config.CraftIRC_enabled == true)) {
    craftircHandle=((CraftIRC)checkCraftIRC);
    Util.Log("String_Node_Str","String_Node_Str" + checkCraftIRC.getDescription().getName());
    this.getServer().getScheduler().scheduleSyncDelayedTask(this,new Runnable(){
      @Override public void run(){
        if (checkCraftIRC.isEnabled()) {
          zCraftIRC.SendMessage(Message.OnEnable,null);
        }
      }
    }
,100);
  }
  final Plugin Backpack=getServer().getPluginManager().getPlugin("String_Node_Str");
  if (Backpack != null) {
    Config.HasBackpack=true;
  }
  PluginManager pm=getServer().getPluginManager();
  pm.registerEvent(Event.Type.PLAYER_LOGIN,this.playerListener,Event.Priority.Low,this);
  pm.registerEvent(Event.Type.PLAYER_JOIN,this.playerListener,Event.Priority.Low,this);
  pm.registerEvent(Event.Type.PLAYER_QUIT,this.playerListener,Event.Priority.Low,this);
  pm.registerEvent(Event.Type.PLAYER_COMMAND_PREPROCESS,this.playerListener,Priority.Low,this);
  pm.registerEvent(Event.Type.PLAYER_MOVE,this.playerListener,Event.Priority.Normal,this);
  pm.registerEvent(Event.Type.PLAYER_INTERACT,this.playerListener,Event.Priority.Normal,this);
  pm.registerEvent(Event.Type.PLAYER_CHAT,this.playerListener,Event.Priority.Low,this);
  pm.registerEvent(Event.Type.PLAYER_PICKUP_ITEM,this.playerListener,Event.Priority.Normal,this);
  pm.registerEvent(Event.Type.PLAYER_DROP_ITEM,this.playerListener,Event.Priority.Normal,this);
  pm.registerEvent(Event.Type.PLAYER_RESPAWN,this.playerListener,Event.Priority.Normal,this);
  pm.registerEvent(Event.Type.PLAYER_KICK,this.playerListener,Event.Priority.Lowest,this);
  pm.registerEvent(Event.Type.BLOCK_PLACE,this.blockListener,Event.Priority.Normal,this);
  pm.registerEvent(Event.Type.BLOCK_DAMAGE,this.blockListener,Event.Priority.Normal,this);
  pm.registerEvent(Event.Type.BLOCK_IGNITE,this.blockListener,Event.Priority.Normal,this);
  pm.registerEvent(Event.Type.ENTITY_DAMAGE,this.entityListener,Event.Priority.Normal,this);
  pm.registerEvent(Event.Type.ENTITY_TARGET,this.entityListener,Event.Priority.Normal,this);
  PropertyManager TheSettings=new PropertyManager(new File("String_Node_Str"));
  if (TheSettings.getBoolean("String_Node_Str",true)) {
    Config.OnlineMode=true;
  }
  UpdateLinkedNames();
  setupDatabase();
  MySQL.connect();
  try {
    Util.CheckScript("String_Node_Str",Config.script_name,null,null,null,null);
  }
 catch (  SQLException e) {
    if (Config.custom_enabled && Config.custom_autocreate) {
      String enter="String_Node_Str";
      Util.Log("String_Node_Str","String_Node_Str" + Config.custom_table);
      StringBuilder query=new StringBuilder();
      String NL=System.getProperty("String_Node_Str");
      Scanner scanner=null;
      try {
        scanner=new Scanner(new FileInputStream(getDataFolder() + "String_Node_Str"));
      }
 catch (      FileNotFoundException e2) {
        e2.printStackTrace();
      }
      try {
        while (scanner.hasNextLine()) {
          String line=scanner.nextLine();
          if (line.contains("String_Node_Str")) {
            query.append("String_Node_Str" + Config.custom_table + "String_Node_Str"+ NL);
          }
 else {
            query.append(line + NL);
          }
        }
      }
  finally {
        scanner.close();
      }
      Util.Debug(enter + query);
      try {
        MySQL.query("String_Node_Str" + query);
        Util.Log("String_Node_Str","String_Node_Str" + Config.custom_table);
        PreparedStatement ps=(PreparedStatement)MySQL.mysql.prepareStatement("String_Node_Str" + Config.custom_table + "String_Node_Str");
        ResultSet rs=ps.executeQuery();
        if (rs.next()) {
          Util.Log("String_Node_Str",rs.getInt("String_Node_Str") + "String_Node_Str");
        }
      }
 catch (      SQLException e1) {
        Util.Log("String_Node_Str","String_Node_Str" + Config.custom_table);
        e1.printStackTrace();
      }
    }
 else {
      e.printStackTrace();
    }
  }
  Util.AddOtherNamesToDB();
  Util.Log("String_Node_Str",PluginName + "String_Node_Str" + PluginVersion+ "String_Node_Str");
  if (Config.debug_enable)   Util.Log("String_Node_Str","String_Node_Str");
  if (Config.custom_enabled)   if (Config.custom_encryption == null)   Util.Log("String_Node_Str","String_Node_Str");
  Util.Log("String_Node_Str",PluginName + "String_Node_Str");
  String thescript="String_Node_Str", theversion="String_Node_Str";
  if (Config.custom_enabled) {
    thescript="String_Node_Str";
  }
 else {
    thescript=Config.script_name;
    theversion=Config.script_version;
  }
  String online="String_Node_Str" + getServer().getOnlinePlayers().length;
  String max="String_Node_Str" + getServer().getMaxPlayers();
  if (Config.usagestats_enabled) {
    try {
      Util.PostInfo(getServer().getServerName(),getServer().getVersion(),PluginVersion,System.getProperty("String_Node_Str"),System.getProperty("String_Node_Str"),System.getProperty("String_Node_Str"),System.getProperty("String_Node_Str"),thescript,theversion,Plugins,online,max,Server.getPort());
    }
 catch (    IOException e1) {
      if (Config.debug_enable)       Util.Debug("String_Node_Str");
    }
  }
  for (  Player p : getServer().getOnlinePlayers()) {
    eBean eBeanClass=eBean.CheckPlayer(p);
    if (eBeanClass.getReloadtime() + 20 > Util.TimeStamp()) {
      Processes.Login(p);
    }
  }
}