Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-5331

NullPointerException thrown during snapshot when database.history.only.store.captured.ddl is enabled

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Blocker
    • None
    • 1.9.4.Final
    • oracle-connector
    • None
    • False
    • None
    • False

    Description

      为了使您的问题报告尽可能可行,请根据问题类型提供以下信息。

      错误报告

      对于错误报告,请提供此信息:

      "tasks": [
             

      {             "id": 0,             "state": "FAILED",             "worker_id": "x,x,x,x:8083",             "trace": "org.apache.kafka.connect.errors.ConnectException: An exception occurred in the change event producer. This connector will be stopped.\n\tat io.debezium.pipeline.ErrorHandler.setProducerThrowable(ErrorHandler.java:50)\n\tat io.debezium.pipeline.ChangeEventSourceCoordinator.lambda$start$0(ChangeEventSourceCoordinator.java:116)\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\n\tat java.lang.Thread.run(Thread.java:748)\nCaused by: io.debezium.DebeziumException: java.lang.NullPointerException\n\tat io.debezium.pipeline.source.AbstractSnapshotChangeEventSource.execute(AbstractSnapshotChangeEventSource.java:85)\n\tat io.debezium.pipeline.ChangeEventSourceCoordinator.doSnapshot(ChangeEventSourceCoordinator.java:155)\n\tat io.debezium.pipeline.ChangeEventSourceCoordinator.executeChangeEventSources(ChangeEventSourceCoordinator.java:137)\n\tat io.debezium.pipeline.ChangeEventSourceCoordinator.lambda$start$0(ChangeEventSourceCoordinator.java:109)\n\t... 5 more\nCaused by: java.lang.NullPointerException\n\tat io.debezium.connector.oracle.OracleSnapshotChangeEventSource.createSchemaChangeEventsForTables(OracleSnapshotChangeEventSource.java:227)\n\tat io.debezium.relational.RelationalSnapshotChangeEventSource.doExecute(RelationalSnapshotChangeEventSource.java:119)\n\tat io.debezium.pipeline.source.AbstractSnapshotChangeEventSource.execute(AbstractSnapshotChangeEventSource.java:76)\n\t... 8 more\n"         }

      你使用什么 Debezium 连接器,什么版本?

      <你的答案>

      1.9.4.Final

       

      什么是连接器配置?

      <你的答案>

      捕获的数据库版本和部署模式是什么?

      (例如在本地、使用特定的云提供商等)

      <你的答案>

       

      你期望什么行为?

      <你的答案>

      Monitoring table changes

       

      你看到什么行为?

      <你的答案>

      servername.schemarname.tablename topic not generated

      Only servername and history topic are generated

      您在使用最新发布的 Debezium 版本时是否看到相同的行为?

      (理想情况下,还可以使用最新的 Alpha/Beta/CR 版本进行验证)

      <你的答案>

      您是否有连接器日志,最好是从开始到结束?

      (稍后可能会要求您提供DEBUG/TRACE级别的日志)

      <你的答案>

      如何使用我们的教程部署重现问题?

      <你的答案>

      功能请求或增强

      对于功能请求或增强功能,请提供此信息,请:

      提议的功能将解决哪个用例/需求?

      <你的答案>

      实施思路(可选)

      <你的答案>

      Attachments

        Issue Links

          Activity

            People

              ccranfor@redhat.com Chris Cranford
              cyrusmaster cYrus master (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: