Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-9258

Connect ConnectorStatusMetricsGroup sometimes NPE

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.4.0, 2.5.0
    • Fix Version/s: 2.4.0, 2.5.0
    • Component/s: KafkaConnect
    • Labels:
      None

      Description

      java.lang.NullPointerException
      at org.apache.kafka.connect.runtime.Worker$ConnectorStatusMetricsGroup.recordTaskRemoved(Worker.java:901)
      at org.apache.kafka.connect.runtime.Worker.awaitStopTask(Worker.java:720)
      at org.apache.kafka.connect.runtime.Worker.awaitStopTasks(Worker.java:740)
      at org.apache.kafka.connect.runtime.Worker.stopAndAwaitTasks(Worker.java:758)
      at org.apache.kafka.connect.runtime.distributed.DistributedHerder.processTaskConfigUpdatesWithIncrementalCooperative(DistributedHerder.java:575)
      at org.apache.kafka.connect.runtime.distributed.DistributedHerder.tick(DistributedHerder.java:396)
      at org.apache.kafka.connect.runtime.distributed.DistributedHerder.run(DistributedHerder.java:282)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:266)
      at java.util.concurrent.FutureTask.run(FutureTask.java)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at java.lang.Thread.run(Thread.java:748)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cvafadari Cyrus Vafadari
                Reporter:
                cyrusv Cyrus Vafadari
                Reviewer:
                Randall Hauch
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: