-
Bug
-
Resolution: Done
-
Major
-
1.5.3.Final
-
None
-
False
-
False
-
Undefined
-
-
When configuring Debezium on a table with a column of type nmtoken[], we receive the following NPE:
io.debezium.DebeziumException: java.lang.NullPointerException at io.debezium.pipeline.source.AbstractSnapshotChangeEventSource.execute(AbstractSnapshotChangeEventSource.java:82) at io.debezium.pipeline.ChangeEventSourceCoordinator.lambda$start$0(ChangeEventSourceCoordinator.java:110) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: java.lang.NullPointerException at io.debezium.connector.postgresql.PostgresValueConverter.createArrayConverter(PostgresValueConverter.java:497) at io.debezium.connector.postgresql.PostgresValueConverter.converter(PostgresValueConverter.java:468) at io.debezium.relational.TableSchemaBuilder.createValueConverterFor(TableSchemaBuilder.java:400) at io.debezium.relational.TableSchemaBuilder.convertersForColumns(TableSchemaBuilder.java:321) at io.debezium.relational.TableSchemaBuilder.createValueGenerator(TableSchemaBuilder.java:246) at io.debezium.relational.TableSchemaBuilder.create(TableSchemaBuilder.java:138) at io.debezium.relational.RelationalDatabaseSchema.buildAndRegisterSchema(RelationalDatabaseSchema.java:130) at io.debezium.relational.RelationalDatabaseSchema.refreshSchema(RelationalDatabaseSchema.java:204) at java.base/java.util.concurrent.ConcurrentHashMap$KeySetView.forEach(ConcurrentHashMap.java:4698) at java.base/java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1085) at io.debezium.connector.postgresql.PostgresSchema.refreshSchemas(PostgresSchema.java:162) at io.debezium.connector.postgresql.PostgresSchema.refresh(PostgresSchema.java:106) at io.debezium.connector.postgresql.PostgresSnapshotChangeEventSource.connectionCreated(PostgresSnapshotChangeEventSource.java:95) at io.debezium.relational.RelationalSnapshotChangeEventSource.doExecute(RelationalSnapshotChangeEventSource.java:103) at io.debezium.pipeline.source.AbstractSnapshotChangeEventSource.execute(AbstractSnapshotChangeEventSource.java:71) ... 6 more