{"record":{"id":"8012a70b1031e7fe","repo":"apache/flink","slug":"invalid-properties-property-for-object-type-in-n","errorCode":null,"errorMessage":"Invalid 'properties' property for object type in node: {}","messagePattern":"Invalid 'properties' property for object type in node: (.+?)","errorType":"validation","errorClass":"java.lang.IllegalArgumentException","httpStatus":null,"severity":"error","filePath":"flink-formats/flink-json/src/main/java/org/apache/flink/formats/json/JsonRowSchemaConverter.java","lineNumber":247,"sourceCode":"                    \"Union types with more than just a null type are not supported yet.\");\n        }\n\n        // return the first non-void type or void\n        if (types.size() == 2 && types.get(0) == Types.VOID) {\n            return types.get(1);\n        } else {\n            return types.get(0);\n        }\n    }\n\n    private static TypeInformation<Row> convertObject(\n            String location, JsonNode node, JsonNode root) {\n        // validate properties\n        if (!node.has(PROPERTIES)) {\n            return Types.ROW();\n        }\n        if (!node.isObject()) {\n            throw new IllegalArgumentException(\n                    \"Invalid '\" + PROPERTIES + \"' property for object type in node: \" + location);\n        }\n        final JsonNode props = node.get(PROPERTIES);\n        final String[] names = new String[props.size()];\n        final TypeInformation<?>[] types = new TypeInformation[props.size()];\n\n        final Iterator<Map.Entry<String, JsonNode>> fieldIter = props.fields();\n        int i = 0;\n        while (fieldIter.hasNext()) {\n            final Map.Entry<String, JsonNode> subNode = fieldIter.next();\n\n            // set field name\n            names[i] = subNode.getKey();\n\n            // set type\n            types[i] = convertType(location + '/' + subNode.getKey(), subNode.getValue(), root);\n\n            i++;","sourceCodeStart":229,"sourceCodeEnd":265,"githubUrl":"https://github.com/apache/flink/blob/2f3c205e9266cb30240eb7f4fdab15cad629a70f/flink-formats/flink-json/src/main/java/org/apache/flink/formats/json/JsonRowSchemaConverter.java#L229-L265","documentation":"Error \"Invalid 'properties' property for object type in node: {}\" thrown in apache/flink.","triggerScenarios":"Triggered at runtime when the operation fails because: Invalid 'properties' property for object type in node: the reported value.","commonSituations":"Commonly caused by misconfiguration, missing dependencies or files, unsupported types or operations, or invalid user input leading to: Invalid 'properties' property for object type in node: the reported value.","solutions":["Address the cause reported by the error message: Invalid 'properties' property for object type in node: the reported value","Verify the inputs, configuration values, and classpath/dependency setup related to this operation, then retry."],"exampleFix":"Correct the condition described (\"Invalid 'properties' property for object type in node: the reported value\") and rerun the job or command.","handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"2f3c205e9266cb30240eb7f4fdab15cad629a70f","analyzedAt":"2026-08-14T08:48:24.518Z","schemaVersion":2},"datasetVersion":"2026-08-14T10:17:34.591Z"}