-
Bug
-
Resolution: Done
-
Major
-
0.5.1
-
None
The support for MySQL's POINT type introduced with DBZ-222 has one bug – an NPE is raised when a null value is processed:
org.apache.kafka.connect.errors.ConnectException at io.debezium.connector.mysql.AbstractReader.wrap(AbstractReader.java:164) at io.debezium.connector.mysql.AbstractReader.failed(AbstractReader.java:142) at io.debezium.connector.mysql.BinlogReader.handleEvent(BinlogReader.java:332) at com.github.shyiko.mysql.binlog.BinaryLogClient.notifyEventListeners(BinaryLogClient.java:902) at com.github.shyiko.mysql.binlog.BinaryLogClient.listenForEventPackets(BinaryLogClient.java:760) at com.github.shyiko.mysql.binlog.BinaryLogClient.connect(BinaryLogClient.java:472) at com.github.shyiko.mysql.binlog.BinaryLogClient$5.run(BinaryLogClient.java:657) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException at io.debezium.jdbc.JdbcValueConverters.handleUnknownData(JdbcValueConverters.java:1224) at io.debezium.connector.mysql.MySqlValueConverters.convertPoint(MySqlValueConverters.java:525) at io.debezium.connector.mysql.MySqlValueConverters.lambda$converter$1(MySqlValueConverters.java:193) at io.debezium.relational.TableSchemaBuilder.lambda$createValueGenerator$3(TableSchemaBuilder.java:230) at io.debezium.relational.TableSchema.valueFromColumnData(TableSchema.java:111) at io.debezium.connector.mysql.RecordMakers$1.update(RecordMakers.java:235) at io.debezium.connector.mysql.RecordMakers$RecordsForTable.update(RecordMakers.java:444) at io.debezium.connector.mysql.BinlogReader.handleUpdate(BinlogReader.java:573) at io.debezium.connector.mysql.BinlogReader.handleEvent(BinlogReader.java:319) ... 5 more