Program: 19037
Project: 19037
Buggy source:
ParsedCommand(Player player,Scanner scanner) throws SMSException {
  args=new ArrayList<String>();
  costs=new ArrayList<Cost>();
  elevated=restricted=false;
  command=null;
  status=null;
  while (scanner.hasNext()) {
    String token=scanner.next();
    if (token.startsWith("String_Node_Str") && command == null) {
      command="String_Node_Str" + token.substring(2);
      elevated=true;
    }
 else     if (token.startsWith("String_Node_Str") && command == null) {
      command="String_Node_Str" + token.substring(2);
      fakeuser=true;
    }
 else     if (token.startsWith("String_Node_Str") && command == null) {
      command=token;
      elevated=false;
    }
 else     if (token.startsWith("String_Node_Str") && command == null) {
      command=token.substring(1);
      elevated=false;
    }
 else     if (token.startsWith("String_Node_Str") && command == null) {
      for (      String c : token.substring(1).split("String_Node_Str")) {
        if (!c.isEmpty()) {
          try {
            costs.add(new Cost(c));
          }
 catch (          IllegalArgumentException e) {
            throw new SMSException(e.getMessage());
          }
        }
      }
    }
 else     if (token.startsWith("String_Node_Str") && command == null) {
      if (checkPlayer(player,token.substring(2))) {
        restricted=true;
      }
    }
 else     if (token.startsWith("String_Node_Str") && command == null) {
      if (!checkPlayer(player,token.substring(1))) {
        restricted=true;
      }
    }
 else     if (token.equals("String_Node_Str")) {
      status=ReturnStatus.MACRO_STOPPED;
      return;
    }
 else     if (token.equals("String_Node_Str")) {
      status=ReturnStatus.CMD_STOPPED;
      return;
    }
 else     if (token.equals("String_Node_Str")) {
      status=ReturnStatus.CMD_OK;
      return;
    }
 else {
      if (command == null)       command=token;
 else       args.add(token);
    }
  }
}

Fixed version (ground truth):
ParsedCommand(Player player,Scanner scanner) throws SMSException {
  args=new ArrayList<String>();
  costs=new ArrayList<Cost>();
  elevated=restricted=whisper=false;
  command=null;
  status=ReturnStatus.CMD_OK;
  while (scanner.hasNext()) {
    String token=scanner.next();
    if (token.startsWith("String_Node_Str") && command == null) {
      command="String_Node_Str" + token.substring(2);
      elevated=true;
    }
 else     if (token.startsWith("String_Node_Str") && command == null) {
      command="String_Node_Str" + token.substring(2);
      fakeuser=true;
    }
 else     if (token.startsWith("String_Node_Str") && command == null) {
      command=token;
      elevated=false;
    }
 else     if (token.startsWith("String_Node_Str") && command == null) {
      command=token.substring(2);
      whisper=true;
    }
 else     if (token.startsWith("String_Node_Str") && command == null) {
      command=token.substring(1);
      elevated=false;
    }
 else     if (token.startsWith("String_Node_Str") && command == null) {
      for (      String c : token.substring(1).split("String_Node_Str")) {
        if (!c.isEmpty()) {
          try {
            costs.add(new Cost(c));
          }
 catch (          IllegalArgumentException e) {
            throw new SMSException(e.getMessage());
          }
        }
      }
    }
 else     if (token.startsWith("String_Node_Str") && command == null) {
      if (checkPlayer(player,token.substring(2))) {
        restricted=true;
      }
    }
 else     if (token.startsWith("String_Node_Str") && command == null) {
      if (!checkPlayer(player,token.substring(1))) {
        restricted=true;
      }
    }
 else     if (token.equals("String_Node_Str")) {
      status=ReturnStatus.MACRO_STOPPED;
      return;
    }
 else     if (token.equals("String_Node_Str")) {
      status=ReturnStatus.CMD_STOPPED;
      return;
    }
 else     if (token.equals("String_Node_Str")) {
      return;
    }
 else {
      if (command == null)       command=token;
 else       args.add(token);
    }
  }
}