{"record":{"id":"b04e22e8ec6e2163","repo":"apache/flink","slug":"malformed-input-around-byte-b04e22","errorCode":null,"errorMessage":"malformed input around byte {}","messagePattern":"malformed input around byte (.+?)","errorType":"exception","errorClass":"UTFDataFormatException","httpStatus":null,"severity":"error","filePath":"flink-core/src/main/java/org/apache/flink/types/Record.java","lineNumber":1500,"sourceCode":"                    case 4:\n                    case 5:\n                    case 6:\n                    case 7:\n                        /* 0xxxxxxx */\n                        count++;\n                        chararr[chararr_count++] = (char) c;\n                        break;\n                    case 12:\n                    case 13:\n                        /* 110x xxxx 10xx xxxx */\n                        count += 2;\n                        if (count > utflen) {\n                            throw new UTFDataFormatException(\n                                    \"malformed input: partial character at end\");\n                        }\n                        char2 = (int) bytearr[count - 1];\n                        if ((char2 & 0xC0) != 0x80) {\n                            throw new UTFDataFormatException(\n                                    \"malformed input around byte \" + count);\n                        }\n                        chararr[chararr_count++] = (char) (((c & 0x1F) << 6) | (char2 & 0x3F));\n                        break;\n                    case 14:\n                        /* 1110 xxxx 10xx xxxx 10xx xxxx */\n                        count += 3;\n                        if (count > utflen) {\n                            throw new UTFDataFormatException(\n                                    \"malformed input: partial character at end\");\n                        }\n                        char2 = (int) bytearr[count - 2];\n                        char3 = (int) bytearr[count - 1];\n                        if (((char2 & 0xC0) != 0x80) || ((char3 & 0xC0) != 0x80)) {\n                            throw new UTFDataFormatException(\n                                    \"malformed input around byte \" + (count - 1));\n                        }\n                        chararr[chararr_count++] =","sourceCodeStart":1482,"sourceCodeEnd":1518,"githubUrl":"https://github.com/apache/flink/blob/2f3c205e9266cb30240eb7f4fdab15cad629a70f/flink-core/src/main/java/org/apache/flink/types/Record.java#L1482-L1518","documentation":"Error \"malformed input around byte {}\" thrown in apache/flink.","triggerScenarios":"Triggered at runtime when the operation fails because: malformed input around byte the reported value.","commonSituations":"Commonly caused by misconfiguration, missing dependencies or files, unsupported types or operations, or invalid user input leading to: malformed input around byte the reported value.","solutions":["Address the cause reported by the error message: malformed input around byte the reported value","Verify the inputs, configuration values, and classpath/dependency setup related to this operation, then retry."],"exampleFix":"Correct the condition described (\"malformed input around byte 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"}