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

NullPointerException happens when a transaction commits that is unknown to the connector

XMLWordPrintable

      After applying changes in DBZ-8860, we introduced a small NPE bug in a corner case when a transaction commit is observed but there is no transaction in the buffer with that transaction id.

      caused by:
          java.lang.NullPointerException: "Cannot invoke "io.debezium.connector.oracle.logminer.processor.Transaction.getTransactionId()" because "transaction" is null"
          io.debezium.connector.oracle.logminer.processor.AbstractLogMinerEventProcessor:cleanupAfterTransactionRemovedFromCache:809
          io.debezium.connector.oracle.logminer.processor.AbstractLogMinerEventProcessor:handleCommit:626
          io.debezium.connector.oracle.logminer.processor.AbstractLogMinerEventProcessor:processRow:498
          io.debezium.connector.oracle.logminer.processor.AbstractLogMinerEventProcessor:processResults:442
          io.debezium.connector.oracle.logminer.processor.AbstractLogMinerEventProcessor:process:290
          io.debezium.connector.oracle.logminer.LogMinerStreamingChangeEventSource:execute:243
          io.debezium.connector.oracle.logminer.LogMinerStreamingChangeEventSource:execute:62
          io.debezium.pipeline.ChangeEventSourceCoordinator:streamEvents:324
          io.debezium.pipeline.ChangeEventSourceCoordinator:executeChangeEventSources:203
          io.debezium.pipeline.ChangeEventSourceCoordinator:lambda$start$0:143
          java.util.concurrent.Executors$RunnableAdapter:call:572
          java.util.concurrent.FutureTask:317
          java.util.concurrent.ThreadPoolExecutor:runWorker:1144
          java.util.concurrent.ThreadPoolExecutor$Worker::642
          java.lang.Thread:run:1583
      

              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: