Program: 94044
Project: 94044
Buggy source:
public void onPlayerCommandPreprocess(PlayerCommandPreprocessEvent event){
  String noPermission="String_Node_Str";
  String Contrib=event.getMessage();
  Contrib=Contrib.replaceAll("String_Node_Str","String_Node_Str");
  if (!ZBukkitContrib.checkCommand(Contrib)) {
    String[] split=event.getMessage().split("String_Node_Str");
    Player player=event.getPlayer();
    if (split[0].equalsIgnoreCase(Config.commands_login) || split[0].equalsIgnoreCase(Config.aliases_login)) {
      if (ZPermissions.isAllowed(player,Permission.command_login)) {
        if (this.plugin.isRegistered("String_Node_Str",player.getName()) == false || this.plugin.isRegistered("String_Node_Str",Util.checkOtherName(player.getName())) == false) {
          Messages.sendMessage(Message.login_notregistered,player,null);
        }
 else         if (plugin.isAuthorized(player)) {
          Messages.sendMessage(Message.login_authorized,player,null);
        }
 else         if (split.length < 2) {
          Messages.sendMessage(Message.login_usage,player,null);
        }
 else         if (this.plugin.checkPassword(player.getName(),split[1])) {
          Processes.Login(player);
          Messages.sendMessage(Message.login_success,player,null);
        }
 else {
          Messages.sendMessage(Message.login_failure,player,null);
        }
        Util.logging.Debug(player.getName() + "String_Node_Str");
        event.setMessage(Config.commands_login + "String_Node_Str");
        event.setCancelled(true);
      }
 else {
        player.sendMessage(noPermission);
      }
    }
 else     if (split[0].equalsIgnoreCase(Config.commands_link) || split[0].equalsIgnoreCase(Config.aliases_link)) {
      if (Config.link_enabled) {
        if (ZPermissions.isAllowed(player,Permission.command_link)) {
          if (split.length == 3) {
            if (!player.getName().equalsIgnoreCase(split[1])) {
              if (Util.checkOtherName(player.getName()).equals(player.getName())) {
                if (this.plugin.checkPassword(split[1],split[2])) {
                  Processes.Link(player,split[1]);
                  Messages.sendMessage(Message.link_success,player,null);
                }
 else {
                  Messages.sendMessage(Message.link_failure,player,null);
                }
              }
 else {
                Messages.sendMessage(Message.link_exists,player,null);
              }
            }
            player.sendMessage("String_Node_Str");
          }
 else {
            Messages.sendMessage(Message.link_usage,player,null);
          }
          Util.logging.Debug(player.getName() + "String_Node_Str");
          event.setMessage(Config.commands_unlink + "String_Node_Str");
          event.setCancelled(true);
        }
 else {
          player.sendMessage(noPermission);
        }
      }
    }
 else     if (split[0].equalsIgnoreCase(Config.commands_unlink) || split[0].equalsIgnoreCase(Config.aliases_unlink)) {
      if (Config.unlink_enabled) {
        if (ZPermissions.isAllowed(player,Permission.command_unlink)) {
          if (split.length == 3) {
            if (Util.checkOtherName(player.getName()).equals(player.getDisplayName())) {
              if (this.plugin.checkPassword(split[1],split[2])) {
                Processes.Unlink(player,split[1]);
                Messages.sendMessage(Message.unlink_success,player,null);
              }
 else {
                Messages.sendMessage(Message.unlink_failure,player,null);
              }
            }
 else {
              Messages.sendMessage(Message.unlink_nonexist,player,null);
            }
          }
 else {
            Messages.sendMessage(Message.unlink_usage,player,null);
          }
          Util.logging.Debug(player.getName() + "String_Node_Str");
          event.setMessage(Config.commands_unlink + "String_Node_Str");
          event.setCancelled(true);
        }
 else {
          player.sendMessage(noPermission);
        }
      }
    }
 else     if (split[0].equalsIgnoreCase(Config.commands_register) || split[0].equalsIgnoreCase(Config.aliases_register)) {
      if (ZPermissions.isAllowed(player,Permission.command_register)) {
        Boolean email=true;
        if (Config.custom_emailfield == null || Config.custom_emailfield == "String_Node_Str") {
          email=false;
        }
        if (!Config.register_enabled) {
          Messages.sendMessage(Message.register_disabled,player,null);
        }
 else         if (this.plugin.isRegistered("String_Node_Str",player.getName()) || this.plugin.isRegistered("String_Node_Str",Util.checkOtherName(player.getName()))) {
          Messages.sendMessage(Message.register_registered,player,null);
        }
 else         if (split.length < 2) {
          Messages.sendMessage(Message.register_usage,player,null);
        }
 else         if (split.length < 3 && email) {
          Messages.sendMessage(Message.email_required,player,null);
        }
 else         if ((split.length >= 3 && email) && (!this.plugin.checkEmail(split[2]))) {
          Messages.sendMessage(Message.email_invalid,player,null);
        }
 else {
          try {
            if (split.length >= 3 || (!email && split.length >= 2)) {
              String themail=null;
              if (!email) {
                themail=null;
              }
 else {
                themail=split[2];
              }
              if (this.plugin.register(player,split[1],themail,Util.craftFirePlayer.getIP(player))) {
                ItemStack[] inv=this.plugin.getInventory(player);
                if (inv != null) {
                  player.getInventory().setContents(inv);
                }
                inv=AuthDB.getArmorInventory(player);
                if (inv != null) {
                  player.getInventory().setArmorContents(inv);
                }
                long timestamp=System.currentTimeMillis() / 1000;
                this.plugin.AuthDB_Authed.put(Encryption.md5(player.getName()),"String_Node_Str");
                this.plugin.AuthDB_Sessions.put(Encryption.md5(player.getName() + Util.craftFirePlayer.getIP(player)),timestamp);
                Util.logging.Debug("String_Node_Str" + player.getName());
                Processes.Login(player);
                long thetimestamp=System.currentTimeMillis() / 1000;
                this.plugin.AuthDB_AuthTime.put(player.getName(),thetimestamp);
                Location temploc=event.getPlayer().getLocation();
                while (temploc.getBlock().getTypeId() == 0) {
                  temploc.setY(temploc.getY() - 1);
                }
                temploc.setY(temploc.getY() + 1);
                event.getPlayer().teleport(temploc);
                Messages.sendMessage(Message.register_success,player,null);
              }
            }
          }
 catch (          IOException e) {
            Messages.sendMessage(Message.register_failure,player,null);
            Util.logging.StackTrace(e.getStackTrace(),Thread.currentThread().getStackTrace()[1].getMethodName(),Thread.currentThread().getStackTrace()[1].getLineNumber(),Thread.currentThread().getStackTrace()[1].getClassName(),Thread.currentThread().getStackTrace()[1].getFileName());
          }
catch (          SQLException e) {
            Messages.sendMessage(Message.register_failure,player,null);
            Util.logging.StackTrace(e.getStackTrace(),Thread.currentThread().getStackTrace()[1].getMethodName(),Thread.currentThread().getStackTrace()[1].getLineNumber(),Thread.currentThread().getStackTrace()[1].getClassName(),Thread.currentThread().getStackTrace()[1].getFileName());
          }
        }
        Util.logging.Debug(player.getName() + "String_Node_Str");
        event.setMessage(Config.commands_register + "String_Node_Str");
        event.setCancelled(true);
      }
 else {
        player.sendMessage(noPermission);
      }
    }
 else     if (!plugin.isAuthorized(player)) {
      if (!checkGuest(player,Config.guests_commands)) {
        event.setMessage("String_Node_Str");
        event.setCancelled(true);
      }
    }
 else {
      player.sendMessage(noPermission);
    }
  }
 else {
    Util.logging.Debug("String_Node_Str" + event.getMessage());
  }
}

Fixed version (ground truth):
public void onPlayerCommandPreprocess(PlayerCommandPreprocessEvent event){
  long start=Util.timeMS();
  String noPermission="String_Node_Str";
  String Contrib=event.getMessage();
  Contrib=Contrib.replaceAll("String_Node_Str","String_Node_Str");
  if (!ZBukkitContrib.checkCommand(Contrib)) {
    String[] split=event.getMessage().split("String_Node_Str");
    Player player=event.getPlayer();
    if (split[0].equalsIgnoreCase(Config.commands_login) || split[0].equalsIgnoreCase(Config.aliases_login)) {
      if (ZPermissions.isAllowed(player,Permission.command_login)) {
        if (this.plugin.isRegistered("String_Node_Str",player.getName()) == false || this.plugin.isRegistered("String_Node_Str",Util.checkOtherName(player.getName())) == false) {
          Messages.sendMessage(Message.login_notregistered,player,null);
        }
 else         if (plugin.isAuthorized(player)) {
          Messages.sendMessage(Message.login_authorized,player,null);
        }
 else         if (split.length < 2) {
          Messages.sendMessage(Message.login_usage,player,null);
        }
 else         if (this.plugin.checkPassword(player.getName(),split[1])) {
          Processes.Login(player);
          Messages.sendMessage(Message.login_success,player,null);
        }
 else {
          Messages.sendMessage(Message.login_failure,player,null);
        }
        Util.logging.Debug(player.getName() + "String_Node_Str");
        event.setMessage(Config.commands_login + "String_Node_Str");
        event.setCancelled(true);
      }
 else {
        player.sendMessage(noPermission);
      }
    }
 else     if (split[0].equalsIgnoreCase(Config.commands_link) || split[0].equalsIgnoreCase(Config.aliases_link)) {
      if (Config.link_enabled) {
        if (ZPermissions.isAllowed(player,Permission.command_link)) {
          if (split.length == 3) {
            if (!player.getName().equalsIgnoreCase(split[1])) {
              if (Util.checkOtherName(player.getName()).equals(player.getName())) {
                if (this.plugin.checkPassword(split[1],split[2])) {
                  Processes.Link(player,split[1]);
                  Messages.sendMessage(Message.link_success,player,null);
                }
 else {
                  Messages.sendMessage(Message.link_failure,player,null);
                }
              }
 else {
                Messages.sendMessage(Message.link_exists,player,null);
              }
            }
            player.sendMessage("String_Node_Str");
          }
 else {
            Messages.sendMessage(Message.link_usage,player,null);
          }
          Util.logging.Debug(player.getName() + "String_Node_Str");
          event.setMessage(Config.commands_unlink + "String_Node_Str");
          event.setCancelled(true);
        }
 else {
          player.sendMessage(noPermission);
        }
      }
    }
 else     if (split[0].equalsIgnoreCase(Config.commands_unlink) || split[0].equalsIgnoreCase(Config.aliases_unlink)) {
      if (Config.unlink_enabled) {
        if (ZPermissions.isAllowed(player,Permission.command_unlink)) {
          if (split.length == 3) {
            if (Util.checkOtherName(player.getName()).equals(player.getDisplayName())) {
              if (this.plugin.checkPassword(split[1],split[2])) {
                Processes.Unlink(player,split[1]);
                Messages.sendMessage(Message.unlink_success,player,null);
              }
 else {
                Messages.sendMessage(Message.unlink_failure,player,null);
              }
            }
 else {
              Messages.sendMessage(Message.unlink_nonexist,player,null);
            }
          }
 else {
            Messages.sendMessage(Message.unlink_usage,player,null);
          }
          Util.logging.Debug(player.getName() + "String_Node_Str");
          event.setMessage(Config.commands_unlink + "String_Node_Str");
          event.setCancelled(true);
        }
 else {
          player.sendMessage(noPermission);
        }
      }
    }
 else     if (split[0].equalsIgnoreCase(Config.commands_register) || split[0].equalsIgnoreCase(Config.aliases_register)) {
      if (ZPermissions.isAllowed(player,Permission.command_register)) {
        Boolean email=true;
        if (Config.custom_emailfield == null || Config.custom_emailfield == "String_Node_Str") {
          email=false;
        }
        if (!Config.register_enabled) {
          Messages.sendMessage(Message.register_disabled,player,null);
        }
 else         if (this.plugin.isRegistered("String_Node_Str",player.getName()) || this.plugin.isRegistered("String_Node_Str",Util.checkOtherName(player.getName()))) {
          Messages.sendMessage(Message.register_registered,player,null);
        }
 else         if (split.length < 2) {
          Messages.sendMessage(Message.register_usage,player,null);
        }
 else         if (split.length < 3 && email) {
          Messages.sendMessage(Message.email_required,player,null);
        }
 else         if ((split.length >= 3 && email) && (!this.plugin.checkEmail(split[2]))) {
          Messages.sendMessage(Message.email_invalid,player,null);
        }
 else {
          try {
            if (split.length >= 3 || (!email && split.length >= 2)) {
              String themail=null;
              if (!email) {
                themail=null;
              }
 else {
                themail=split[2];
              }
              if (this.plugin.register(player,split[1],themail,Util.craftFirePlayer.getIP(player))) {
                ItemStack[] inv=this.plugin.getInventory(player);
                if (inv != null) {
                  player.getInventory().setContents(inv);
                }
                inv=AuthDB.getArmorInventory(player);
                if (inv != null) {
                  player.getInventory().setArmorContents(inv);
                }
                long timestamp=System.currentTimeMillis() / 1000;
                this.plugin.AuthDB_Authed.put(Encryption.md5(player.getName()),"String_Node_Str");
                this.plugin.AuthDB_Sessions.put(Encryption.md5(player.getName() + Util.craftFirePlayer.getIP(player)),timestamp);
                Util.logging.Debug("String_Node_Str" + player.getName());
                Processes.Login(player);
                long thetimestamp=System.currentTimeMillis() / 1000;
                this.plugin.AuthDB_AuthTime.put(player.getName(),thetimestamp);
                Location temploc=event.getPlayer().getLocation();
                while (temploc.getBlock().getTypeId() == 0) {
                  temploc.setY(temploc.getY() - 1);
                }
                temploc.setY(temploc.getY() + 1);
                event.getPlayer().teleport(temploc);
                Messages.sendMessage(Message.register_success,player,null);
              }
            }
          }
 catch (          IOException e) {
            Messages.sendMessage(Message.register_failure,player,null);
            Util.logging.StackTrace(e.getStackTrace(),Thread.currentThread().getStackTrace()[1].getMethodName(),Thread.currentThread().getStackTrace()[1].getLineNumber(),Thread.currentThread().getStackTrace()[1].getClassName(),Thread.currentThread().getStackTrace()[1].getFileName());
          }
catch (          SQLException e) {
            Messages.sendMessage(Message.register_failure,player,null);
            Util.logging.StackTrace(e.getStackTrace(),Thread.currentThread().getStackTrace()[1].getMethodName(),Thread.currentThread().getStackTrace()[1].getLineNumber(),Thread.currentThread().getStackTrace()[1].getClassName(),Thread.currentThread().getStackTrace()[1].getFileName());
          }
        }
        Util.logging.Debug(player.getName() + "String_Node_Str");
        event.setMessage(Config.commands_register + "String_Node_Str");
        event.setCancelled(true);
      }
 else {
        player.sendMessage(noPermission);
      }
    }
 else     if (!plugin.isAuthorized(player)) {
      if (!checkGuest(player,Config.guests_commands)) {
        event.setMessage("String_Node_Str");
        event.setCancelled(true);
      }
    }
 else {
      player.sendMessage(noPermission);
    }
  }
 else {
    Util.logging.Debug("String_Node_Str" + event.getMessage());
  }
  long stop=Util.timeMS();
  Util.logging.timeUsage(stop - start,"String_Node_Str");
}