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

NullPointerException thrown when calling getAllTableIds

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.3.0.Final
    • 1.3.0.CR1
    • oracle-connector
    • None

      java.lang.NullPointerException
      at io.debezium.connector.oracle.OracleConnection.getAllTableIds(OracleConnection.java:113)
      at io.debezium.connector.oracle.OracleSnapshotChangeEventSource.getAllTableIds(OracleSnapshotChangeEventSource.java:83)
      at io.debezium.relational.RelationalSnapshotChangeEventSource.determineCapturedTables(RelationalSnapshotChangeEventSource.java:189)
      at io.debezium.relational.RelationalSnapshotChangeEventSource.doExecute(RelationalSnapshotChangeEventSource.java:109)
      at io.debezium.pipeline.source.AbstractSnapshotChangeEventSource.execute(AbstractSnapshotChangeEventSource.java:63)
      at io.debezium.pipeline.ChangeEventSourceCoordinator.lambda$start$0(ChangeEventSourceCoordinator.java:105)
      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)
      

      Create connector using

      {
          "name": "ora-connector",
          "config": {
              "connector.class" : "io.debezium.connector.oracle.OracleConnector",
              "tasks.max" : "1",
              "database.server.name" : "server1",
              "database.hostname" : "host.docker.internal",
              "database.port" : "1521",
              "database.connection.adapter": "xstream",
              "database.user" : "c##xstrm",
              "database.password" : "xs",
              "database.dbname" : "ORCLCDB",
              "database.pdb.name" : "ORCLPDB1",
              "database.out.server.name" : "dbzxout",
              "database.history.kafka.bootstrap.servers" : "kafka:9092",
              "database.history.kafka.topic": "schema-changes.teste"
          }
      }
      

              ccranfor@redhat.com Chris Cranford
              ccranfor@redhat.com Chris Cranford
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: