{"record":{"id":"3ae9963b19473a70","repo":"apache/flink","slug":"not-a-valid-mode","errorCode":null,"errorMessage":"not a valid mode ","messagePattern":"not a valid mode ","errorType":"exception","errorClass":"ParquetDecodingException","httpStatus":null,"severity":"error","filePath":"flink-formats/flink-parquet/src/main/java/org/apache/flink/formats/parquet/vector/reader/RunLengthDecoder.java","lineNumber":283,"sourceCode":"                    while (valueIndex < this.currentCount) {\n                        // values are bit packed 8 at a time, so reading bitWidth will always work\n                        ByteBuffer buffer = in.slice(bitWidth);\n                        if (buffer.hasArray()) {\n                            // byte array has better performance than ByteBuffer\n                            this.packer.unpack8Values(\n                                    buffer.array(),\n                                    buffer.arrayOffset() + buffer.position(),\n                                    this.currentBuffer,\n                                    valueIndex);\n                        } else {\n                            this.packer.unpack8Values(\n                                    buffer, buffer.position(), this.currentBuffer, valueIndex);\n                        }\n                        valueIndex += 8;\n                    }\n                    return;\n                default:\n                    throw new ParquetDecodingException(\"not a valid mode \" + this.mode);\n            }\n        } catch (IOException e) {\n            throw new ParquetDecodingException(\"Failed to read from input stream\", e);\n        }\n    }\n\n    enum MODE {\n        RLE,\n        PACKED\n    }\n}\n","sourceCodeStart":265,"sourceCodeEnd":295,"githubUrl":"https://github.com/apache/flink/blob/2f3c205e9266cb30240eb7f4fdab15cad629a70f/flink-formats/flink-parquet/src/main/java/org/apache/flink/formats/parquet/vector/reader/RunLengthDecoder.java#L265-L295","documentation":"Error \"not a valid mode \" thrown in apache/flink.","triggerScenarios":"Triggered at runtime when the operation fails because: not a valid mode.","commonSituations":"Commonly caused by misconfiguration, missing dependencies or files, unsupported types or operations, or invalid user input leading to: not a valid mode.","solutions":["Address the cause reported by the error message: not a valid mode","Verify the inputs, configuration values, and classpath/dependency setup related to this operation, then retry."],"exampleFix":"Correct the condition described (\"not a valid mode\") 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"}