{"record":{"id":"03b4afd7cae89e14","repo":"apache/hadoop","slug":"expected-numtype-03b4af","errorCode":null,"errorMessage":"Expected numtype","messagePattern":"Expected numtype","errorType":"exception","errorClass":"IOException","httpStatus":null,"severity":"error","filePath":"hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/lib/join/Parser.java","lineNumber":101,"sourceCode":"   */\n  @InterfaceAudience.Public\n  @InterfaceStability.Evolving\n  public static class Token {\n\n    private TType type;\n\n    Token(TType type) {\n      this.type = type;\n    }\n\n    public TType getType() { return type; }\n    \n    public Node getNode() throws IOException {\n      throw new IOException(\"Expected nodetype\");\n    }\n    \n    public double getNum() throws IOException {\n      throw new IOException(\"Expected numtype\");\n    }\n    \n    public String getStr() throws IOException {\n      throw new IOException(\"Expected strtype\");\n    }\n  }\n\n  @InterfaceAudience.Public\n  @InterfaceStability.Evolving\n  public static class NumToken extends Token {\n    private double num;\n    public NumToken(double num) {\n      super(TType.NUM);\n      this.num = num;\n    }\n    public double getNum() { return num; }\n  }\n","sourceCodeStart":83,"sourceCodeEnd":119,"githubUrl":"https://github.com/apache/hadoop/blob/2add9630210752f88ceb1bb74eb65e37bf41da8e/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/lib/join/Parser.java#L83-L119","documentation":"Error \"Expected numtype\" thrown in apache/hadoop.","triggerScenarios":"Thrown by Parser when a numeric literal token was expected in the join expression but a different token type was found. Check numeric arguments (e.g. join counts) in the join expression.","commonSituations":"See trigger scenarios.","solutions":["Correct the numeric literal in the join expression; a number was expected at this position."],"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"}