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

Processor got uncaught exception: NullPointerException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.1.1, 0.10.2.1
    • 0.11.0.1, 1.0.0
    • core
    • None

    Description

      [2017-07-12 21:56:39,964] ERROR Processor got uncaught exception. (kafka.network.Processor)
      java.lang.NullPointerException
      at kafka.network.Processor$$anonfun$processCompletedReceives$1.apply(SocketServer.scala:490)
      at kafka.network.Processor$$anonfun$processCompletedReceives$1.apply(SocketServer.scala:487)
      at scala.collection.Iterator$class.foreach(Iterator.scala:727)
      at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
      at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
      at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
      at kafka.network.Processor.processCompletedReceives(SocketServer.scala:487)
      at kafka.network.Processor.run(SocketServer.scala:417)
      at java.lang.Thread.run(Thread.java:745)

      Anyone knows the cause of this exception? What's the effect of it?
      When this exception occurred, the log also showed that the broker was frequently shrinking ISR to itself. Are these two things interrelated?

      Attachments

        Issue Links

          Activity

            People

              rsivaram Rajini Sivaram
              DanC Dan
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: