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

NPE in MySqlConnectorTask.stop()

    Details

      Description

      When start method fails to initialize then stop method can end up in NPE

      connect_1    | java.lang.NullPointerException
      connect_1    | 	at io.debezium.connector.mysql.MySqlConnectorTask.stop(MySqlConnectorTask.java:243)
      connect_1    | 	at org.apache.kafka.connect.runtime.WorkerSourceTask.tryStop(WorkerSourceTask.java:186)
      connect_1    | 	at org.apache.kafka.connect.runtime.WorkerSourceTask.close(WorkerSourceTask.java:150)
      connect_1    | 	at org.apache.kafka.connect.runtime.WorkerTask.doClose(WorkerTask.java:154)
      connect_1    | 	at org.apache.kafka.connect.runtime.WorkerTask.doRun(WorkerTask.java:181)
      connect_1    | 	at org.apache.kafka.connect.runtime.WorkerTask.run(WorkerTask.java:219)
      connect_1    | 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      connect_1    | 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      connect_1    | 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      connect_1    | 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      connect_1    | 	at java.lang.Thread.run(Thread.java:748)
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jpechanec Jiri Pechanec
                Reporter:
                jpechanec Jiri Pechanec
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: