{"record":{"id":"34deb221949fd003","repo":"apache/hadoop","slug":"expected-strtype-34deb2","errorCode":null,"errorMessage":"Expected strtype","messagePattern":"Expected strtype","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":105,"sourceCode":"\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\n  @InterfaceAudience.Public\n  @InterfaceStability.Evolving\n  public static class NodeToken extends Token {\n    private Node node;","sourceCodeStart":87,"sourceCodeEnd":123,"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#L87-L123","documentation":"Error \"Expected strtype\" thrown in apache/hadoop.","triggerScenarios":"Thrown by Parser when a string literal token was expected in the join expression but a different token type was found. Quote string arguments (such as the join operation name) correctly in the join expression.","commonSituations":"See trigger scenarios.","solutions":["Correct the string literal in the join expression; a quoted string 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"}