-
Bug
-
Resolution: Done
-
Major
-
3.1.3.Final, 3.2.2.Final
-
None
-
False
-
-
False
In order to make your issue reports as actionable as possible, please provide the following information, depending on the issue type.
Bug report
For bug reports, provide this information, please:
What Debezium connector do you use and what version?
MySQL, 3.1.2.Final
What is the connector configuration?
Customer configuration, will not expose here
What is the captured database version and mode of deployment?
(E.g. on-premises, with a specific cloud provider, etc.)
not relevant
What behavior do you expect?
If super.nextEvent returns null, the override nextEvent method should also return null
What behavior do you see?
The code continues to operate on the potential null Event
Do you see the same behaviour using the latest released Debezium version?
(Ideally, also verify with latest Alpha/Beta/CR version)
Yes, it's still the same code in latest main branch
Do you have the connector logs, ideally from start till finish?
(You might be asked later to provide DEBUG/TRACE level log)
Producer failure Exception:io.debezium.DebeziumException: Cannot invoke "com.github.shyiko.mysql.binlog.event.Event.getHeader()" because "event" is null
at io.debezium.connector.binlog.BinlogStreamingChangeEventSource.wrap(BinlogStreamingChangeEventSource.java:1206)
at io.debezium.connector.binlog.BinlogStreamingChangeEventSource$ReaderThreadLifecycleListener.onEventDeserializationFailure(BinlogStreamingChangeEventSource.java:1260)
at com.github.shyiko.mysql.binlog.BinaryLogClient.listenForEventPackets(BinaryLogClient.java:1095)
at com.github.shyiko.mysql.binlog.BinaryLogClient.connect(BinaryLogClient.java:657)
at com.github.shyiko.mysql.binlog.BinaryLogClient$7.run(BinaryLogClient.java:959)
at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: java.lang.NullPointerException: Cannot invoke "com.github.shyiko.mysql.binlog.event.Event.getHeader()" because "event" is null
at io.debezium.connector.binlog.BinlogStreamingChangeEventSource$1.nextEvent(BinlogStreamingChangeEventSource.java:429)
at com.github.shyiko.mysql.binlog.BinaryLogClient.listenForEventPackets(BinaryLogClient.java:1082)
... 3 more
How to reproduce the issue using our tutorial deployment?
N/A
Feature request or enhancement
For feature requests or enhancements, provide this information, please:
Which use case/requirement will be addressed by the proposed feature?
<Your answer>
Implementation ideas (optional)
<Your answer>