kafka.common.KafkaException: Can't parse json string: null

kafka-dev | Bob (JIRA) | 4 years ago
  1. 0

    [jira] [Commented] (KAFKA-797) Cannot start Kafka 0.8 per Quick Start instructions

    kafka-dev | 4 years ago | Bob (JIRA)
    kafka.common.KafkaException: Can't parse json string: null
  2. 0

    How does a kafka of one have issues becoming a leader? ERROR Error while electing or becoming leader on broker

    kafka-users | 3 years ago | David Montgomery
    kafka.common.KafkaException: Can't parse json string: null
  3. 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Can't start Kafka server with 0.8.0.

    kafka-users | 4 years ago | Jason Huang
    kafka.common.KafkaException: Can't parse json string: null
  6. 0

    Re: Can't start Kafka server with 0.8.0.

    kafka-users | 4 years ago | Jason Huang
    kafka.common.KafkaException: Can't parse json string: null

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at scala.util.parsing.combinator.lexical.Scanners$Scanner.<init>()
    2. scala-parser-combinators
      JSON$.parseFull
      1. scala.util.parsing.combinator.lexical.Scanners$Scanner.<init>(Scanners.scala:52)
      2. scala.util.parsing.json.JSON$.parseRaw(JSON.scala:71)
      3. scala.util.parsing.json.JSON$.parseFull(JSON.scala:85)
      3 frames
    3. Apache Kafka
      ZkUtils$$anonfun$getReplicaAssignmentForTopics$1.apply
      1. kafka.utils.Json$.liftedTree1$1(Json.scala:17)
      2. kafka.utils.Json$.parseFull(Json.scala:16)
      3. kafka.utils.ZkUtils$$anonfun$getReplicaAssignmentForTopics$1.apply(ZkUtils.scala:484)
      4. kafka.utils.ZkUtils$$anonfun$getReplicaAssignmentForTopics$1.apply(ZkUtils.scala:480)
      4 frames
    4. Scala
      List.foreach
      1. scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:61)
      2. scala.collection.immutable.List.foreach(List.scala:45)
      2 frames
    5. Apache Kafka
      ZookeeperLeaderElector$LeaderChangeListener.handleDataDeleted
      1. kafka.utils.ZkUtils$.getReplicaAssignmentForTopics(ZkUtils.scala:480)
      2. kafka.controller.KafkaController.initializeControllerContext(KafkaController.scala:451)
      3. kafka.controller.KafkaController.onControllerFailover(KafkaController.scala:225)
      4. kafka.controller.KafkaController$$anonfun$1.apply$mcV$sp(KafkaController.scala:87)
      5. kafka.server.ZookeeperLeaderElector.elect(ZookeeperLeaderElector.scala:53)
      6. kafka.server.ZookeeperLeaderElector$LeaderChangeListener.handleDataDeleted(ZookeeperLeaderElector.scala:106)
      6 frames
    6. ZooKeeper Client
      ZkEventThread.run
      1. org.I0Itec.zkclient.ZkClient$6.run(ZkClient.java:549)
      2. org.I0Itec.zkclient.ZkEventThread.run(ZkEventThread.java:71)
      2 frames