Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via kafka-dev by Bob (JIRA), 1 year ago
via Apache's JIRA Issue Tracker by Adrian Muraru, 1 year ago
via kafka-users by Jason Huang, 1 year ago
Can't parse json string: null
via kafka-users by Neha Narkhede, 1 year ago
Can't parse json string: null
java.lang.NullPointerException: 	at scala.util.parsing.combinator.lexical.Scanners$Scanner.(Scanners.scala:52)	at scala.util.parsing.json.JSON$.parseRaw(JSON.scala:71)	at scala.util.parsing.json.JSON$.parseFull(JSON.scala:85)	at kafka.utils.Json$.liftedTree1$1(Json.scala:33)	at kafka.utils.Json$.parseFull(Json.scala:32)	at kafka.utils.ZkUtils$$anonfun$getReplicaAssignmentForTopics$1.apply(ZkUtils.scala:529)	at kafka.utils.ZkUtils$$anonfun$getReplicaAssignmentForTopics$1.apply(ZkUtils.scala:525)	at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:61)	at scala.collection.immutable.List.foreach(List.scala:45)	at kafka.utils.ZkUtils$.getReplicaAssignmentForTopics(ZkUtils.scala:525)	at kafka.controller.KafkaController.initializeControllerContext(KafkaController.scala:535)	at kafka.controller.KafkaController.onControllerFailover(KafkaController.scala:240)	at kafka.controller.KafkaController$$anonfun$1.apply$mcV$sp(KafkaController.scala:111)	at kafka.server.ZookeeperLeaderElector.elect(ZookeeperLeaderElector.scala:62)	at kafka.server.ZookeeperLeaderElector.startup(ZookeeperLeaderElector.scala:46)	at kafka.controller.KafkaController.startup(KafkaController.scala:470)	at kafka.server.KafkaServer.startup(KafkaServer.scala:96)	at kafka.server.KafkaServerStartable.startup(KafkaServerStartable.scala:34)	at kafka.Kafka$.main(Kafka.scala:46)	at kafka.Kafka.main(Kafka.scala)