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

NPE raises when a new connector has nothing to commit

    XMLWordPrintable

Details

    Description

      When a Postgres connector has recently started and has nothing to commit, it'll raise a NPE:

      2019-09-03 11:15:57,274 ERROR  ||  WorkerSourceTask{id=usabilla-outbox-form-management-0} Exception thrown while calling task.commit()   [org.apache.kafka.connect.runtime.WorkerSourceTask]
      java.lang.NullPointerException
      	at io.debezium.connector.postgresql.PostgresStreamingChangeEventSource.commitOffset(PostgresStreamingChangeEventSource.java:152)
      	at io.debezium.pipeline.ChangeEventSourceCoordinator.commitOffset(ChangeEventSourceCoordinator.java:109)
      	at io.debezium.connector.postgresql.PostgresConnectorTask.commit(PostgresConnectorTask.java:182)
      	at org.apache.kafka.connect.runtime.WorkerSourceTask.commitSourceTask(WorkerSourceTask.java:507)
      
      

      Attachments

        Activity

          People

            renatomefi Renato Mefi (Inactive)
            renatomefi Renato Mefi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: