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

NPE in unit test for new consumer

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.0.0
    • Component/s: None
    • Labels:

      Description

      kafka.api.ConsumerTest > testConsumptionWithBrokerFailures FAILED
          java.lang.NullPointerException
              at org.apache.kafka.clients.consumer.KafkaConsumer.ensureCoordinatorReady(KafkaConsumer.java:1238)
              at org.apache.kafka.clients.consumer.KafkaConsumer.initiateCoordinatorRequest(KafkaConsumer.java:1189)
              at org.apache.kafka.clients.consumer.KafkaConsumer.commit(KafkaConsumer.java:777)
              at org.apache.kafka.clients.consumer.KafkaConsumer.commit(KafkaConsumer.java:816)
              at org.apache.kafka.clients.consumer.KafkaConsumer.poll(KafkaConsumer.java:704)
              at kafka.api.ConsumerTest.consumeWithBrokerFailures(ConsumerTest.scala:167)
              at kafka.api.ConsumerTest.testConsumptionWithBrokerFailures(ConsumerTest.scala:152)
      

        Attachments

        1. stack.out
          97 kB
          Jun Rao

          Issue Links

            Activity

              People

              • Assignee:
                guozhang Guozhang Wang
                Reporter:
                nehanarkhede Neha Narkhede
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: