{"record":{"id":"2cbfe8ee70cd6aeb","repo":"apache/hadoop","slug":"missing-argument-at","errorCode":null,"errorMessage":"Missing argument at ","messagePattern":"Missing argument at ","errorType":"exception","errorClass":"IOException","httpStatus":null,"severity":"error","filePath":"hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/find/BaseExpression.java","lineNumber":182,"sourceCode":"   *\n   * @return list of argument strings\n   */\n  protected List<String> getArguments() {\n    return this.arguments;\n  }\n\n  /**\n   * Returns the argument at the given position (starting from 1).\n   *\n   * @param position\n   *          argument to be returned\n   * @return requested argument\n   * @throws IOException\n   *           if the argument doesn't exist or is null\n   */\n  protected String getArgument(int position) throws IOException {\n    if (position > this.arguments.size()) {\n      throw new IOException(\"Missing argument at \" + position);\n    }\n    String argument = this.arguments.get(position - 1);\n    if (argument == null) {\n      throw new IOException(\"Null argument at position \" + position);\n    }\n    return argument;\n  }\n\n  /**\n   * Returns the children of this expression.\n   *\n   * @return list of child expressions\n   */\n  protected List<Expression> getChildren() {\n    return this.children;\n  }\n\n  @Override","sourceCodeStart":164,"sourceCodeEnd":200,"githubUrl":"https://github.com/apache/hadoop/blob/2add9630210752f88ceb1bb74eb65e37bf41da8e/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/find/BaseExpression.java#L164-L200","documentation":"Error \"Missing argument at \" thrown in apache/hadoop.","triggerScenarios":"Thrown by find expression parsing when an option that requires an argument is given without one.","commonSituations":"See trigger scenarios.","solutions":["Add the missing argument expected by the find expression at the reported position.","Check the find expression syntax; each operator requires its operand."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"2add9630210752f88ceb1bb74eb65e37bf41da8e","analyzedAt":"2026-08-22T19:55:07.957Z","schemaVersion":2},"datasetVersion":"2026-08-22T20:17:22.307Z"}