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

NPE in MySqlConnectorTask.stop()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 0.9.0.Beta2
    • 0.9.0.Beta1
    • mysql-connector
    • None

      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)
      

              jpechane Jiri Pechanec
              jpechane Jiri Pechanec
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: