Program: 151317
Project: 151317
Buggy source:
@Command(name="String_Node_Str",syntax="String_Node_Str",description="String_Node_Str",isPrimary=true,permissions={"String_Node_Str","String_Node_Str"}) public void promoteUser(Plugin plugin,CommandSender sender,Map<String,String> args){
  String userName=this.autoCompletePlayerName(args.get("String_Node_Str"));
  PermissionUser user=PermissionsEx.getPermissionManager().getUser(userName);
  if (user == null) {
    sender.sendMessage("String_Node_Str" + args.get("String_Node_Str") + "String_Node_Str");
    return;
  }
  String promoterName="String_Node_Str";
  PermissionUser promoter=null;
  if (sender instanceof Player) {
    promoter=PermissionsEx.getPermissionManager().getUser(((Player)sender).getName());
    promoterName=promoter.getName();
  }
  try {
    user.promote(promoter,args.get("String_Node_Str"));
    PermissionGroup targetGroup=user.getRankLadderGroup(args.get("String_Node_Str"));
    this.informPlayer(plugin,user.getName(),"String_Node_Str" + targetGroup.getRankLadder() + "String_Node_Str"+ targetGroup.getName()+ "String_Node_Str");
    sender.sendMessage("String_Node_Str" + user.getName() + "String_Node_Str"+ targetGroup.getName()+ "String_Node_Str");
    Logger.getLogger("String_Node_Str").info("String_Node_Str" + user.getName() + "String_Node_Str"+ targetGroup.getName()+ "String_Node_Str"+ targetGroup.getRankLadder()+ "String_Node_Str"+ promoterName);
  }
 catch (  RankingException e) {
    Logger.getLogger("String_Node_Str").severe("String_Node_Str" + promoterName + "String_Node_Str"+ e.getTarget().getName()+ "String_Node_Str"+ e.getMessage());
  }
}

Fixed version (ground truth):
@Command(name="String_Node_Str",syntax="String_Node_Str",description="String_Node_Str",isPrimary=true) public void promoteUser(Plugin plugin,CommandSender sender,Map<String,String> args){
  String userName=this.autoCompletePlayerName(args.get("String_Node_Str"));
  PermissionUser user=PermissionsEx.getPermissionManager().getUser(userName);
  if (user == null) {
    sender.sendMessage("String_Node_Str" + args.get("String_Node_Str") + "String_Node_Str");
    return;
  }
  String promoterName="String_Node_Str";
  String ladder="String_Node_Str";
  if (args.containsKey("String_Node_Str")) {
    ladder=args.get("String_Node_Str");
  }
  PermissionUser promoter=null;
  if (sender instanceof Player) {
    promoter=PermissionsEx.getPermissionManager().getUser(((Player)sender).getName());
    if (promoter == null || !promoter.has("String_Node_Str" + ladder)) {
      sender.sendMessage("String_Node_Str");
      return;
    }
    promoterName=promoter.getName();
  }
  try {
    PermissionGroup targetGroup=user.promote(promoter,ladder);
    this.informPlayer(plugin,user.getName(),"String_Node_Str" + targetGroup.getRankLadder() + "String_Node_Str"+ targetGroup.getName()+ "String_Node_Str");
    sender.sendMessage("String_Node_Str" + user.getName() + "String_Node_Str"+ targetGroup.getName()+ "String_Node_Str");
    Logger.getLogger("String_Node_Str").info("String_Node_Str" + user.getName() + "String_Node_Str"+ targetGroup.getName()+ "String_Node_Str"+ targetGroup.getRankLadder()+ "String_Node_Str"+ promoterName);
  }
 catch (  RankingException e) {
    Logger.getLogger("String_Node_Str").severe("String_Node_Str" + promoterName + "String_Node_Str"+ e.getTarget().getName()+ "String_Node_Str"+ e.getMessage());
  }
}