Program: 10466
Project: 10466
Buggy source:
@Override public void parseArgs(ScriptEntry scriptEntry) throws InvalidArgumentsException {
  Script script=null;
  Map<String,String> context=null;
  Duration delay=new Duration(0);
  Duration speed=new Duration((long)Settings.InteractDelayInTicks());
  ScriptQueue queue=ScriptQueue._getQueue(scriptEntry.getResidingQueue());
  for (  String arg : scriptEntry.getArguments()) {
    if (aH.matchesScript(arg)) {
      script=aH.getScriptFrom(arg);
    }
 else     if (aH.matchesValueArg("String_Node_Str",arg,aH.ArgumentType.Duration)) {
      delay=aH.getDurationFrom(arg);
      delay.setPrefix("String_Node_Str");
    }
 else     if (aH.matchesQueue(arg)) {
      queue=aH.getQueueFrom(arg);
    }
 else     if (aH.matchesValueArg("String_Node_Str",arg,aH.ArgumentType.Duration)) {
      speed=aH.getDurationFrom(arg);
    }
 else     if (aH.matchesArg("String_Node_Str",arg)) {
    }
 else     if (aH.matchesArg("String_Node_Str",arg)) {
      speed=new Duration(0);
    }
 else     if (aH.matchesValueArg("String_Node_Str",arg,aH.ArgumentType.Custom)) {
      context=new HashMap<String,String>();
      List<String> contexts=aH.getListFrom(arg);
      for (      String ctxt : contexts) {
        String[] sctxt=ctxt.split("String_Node_Str",2);
        if (sctxt.length > 1)         context.put(sctxt[0].trim().toUpperCase(),sctxt[1].trim());
 else         context.put(sctxt[0].trim().toUpperCase(),"String_Node_Str");
      }
    }
 else     if (aH.matchesValueArg("String_Node_Str",arg,aH.ArgumentType.Word)) {
    }
 else     if (ScriptRegistry.containsScript(aH.getStringFrom(arg))) {
      script=aH.getScriptFrom(arg);
      if (!script.getType().equalsIgnoreCase("String_Node_Str"))       script=null;
    }
 else     throw new InvalidArgumentsException(Messages.ERROR_UNKNOWN_ARGUMENT,arg);
  }
  if (script == null)   throw new InvalidArgumentsException("String_Node_Str");
  scriptEntry.addObject("String_Node_Str",speed.setPrefix("String_Node_Str")).addObject("String_Node_Str",queue).addObject("String_Node_Str",delay.setPrefix("String_Node_Str")).addObject("String_Node_Str",script).addObject("String_Node_Str",context);
}

Fixed version (ground truth):
@Override public void parseArgs(ScriptEntry scriptEntry) throws InvalidArgumentsException {
  Script script=null;
  Map<String,String> context=null;
  Duration delay=new Duration(0);
  Duration speed=new Duration(Settings.InteractDelayInTicks() / 20);
  ScriptQueue queue=ScriptQueue._getQueue(scriptEntry.getResidingQueue());
  for (  String arg : scriptEntry.getArguments()) {
    if (aH.matchesScript(arg)) {
      script=aH.getScriptFrom(arg);
    }
 else     if (aH.matchesValueArg("String_Node_Str",arg,aH.ArgumentType.Duration)) {
      delay=aH.getDurationFrom(arg);
      delay.setPrefix("String_Node_Str");
    }
 else     if (aH.matchesQueue(arg)) {
      queue=aH.getQueueFrom(arg);
    }
 else     if (aH.matchesValueArg("String_Node_Str",arg,aH.ArgumentType.Duration)) {
      speed=aH.getDurationFrom(arg);
    }
 else     if (aH.matchesArg("String_Node_Str",arg)) {
    }
 else     if (aH.matchesArg("String_Node_Str",arg)) {
      speed=new Duration(0);
    }
 else     if (aH.matchesValueArg("String_Node_Str",arg,aH.ArgumentType.Custom)) {
      context=new HashMap<String,String>();
      List<String> contexts=aH.getListFrom(arg);
      for (      String ctxt : contexts) {
        String[] sctxt=ctxt.split("String_Node_Str",2);
        if (sctxt.length > 1)         context.put(sctxt[0].trim().toUpperCase(),sctxt[1].trim());
 else         context.put(sctxt[0].trim().toUpperCase(),"String_Node_Str");
      }
    }
 else     if (aH.matchesValueArg("String_Node_Str",arg,aH.ArgumentType.Word)) {
    }
 else     if (ScriptRegistry.containsScript(aH.getStringFrom(arg))) {
      script=aH.getScriptFrom(arg);
      if (!script.getType().equalsIgnoreCase("String_Node_Str"))       script=null;
    }
 else     throw new InvalidArgumentsException(Messages.ERROR_UNKNOWN_ARGUMENT,arg);
  }
  if (script == null)   throw new InvalidArgumentsException("String_Node_Str");
  scriptEntry.addObject("String_Node_Str",speed.setPrefix("String_Node_Str")).addObject("String_Node_Str",queue).addObject("String_Node_Str",delay.setPrefix("String_Node_Str")).addObject("String_Node_Str",script).addObject("String_Node_Str",context);
}