Null Pointer Exception Frequently Occurs When Flink Processes TiDB Data During Startup

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: flink 处理tidb数据 启动时经常出现空指针异常

| username: TiDBer_kn6fnmHR

After starting the task, this error often occurs:


or

But after a while, it gets better.

| username: TiDBer_q2eTrp5h | Original post link

From the error message, it seems to be caused by an incompatible State Serializer.