java.lang.NullPointerException

GitHub | baiyq152 | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at scala.collection.convert.Wrappers$JMapWrapperLike$$anon$2.<init>()
  2. Scala
    AbstractMap.$plus$plus
    1. scala.collection.convert.Wrappers$JMapWrapperLike$$anon$2.<init>(Wrappers.scala:265)
    2. scala.collection.convert.Wrappers$JMapWrapperLike$class.iterator(Wrappers.scala:264)
    3. scala.collection.convert.Wrappers$JMapWrapper.iterator(Wrappers.scala:275)
    4. scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    5. scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    6. scala.collection.TraversableOnce$class.foldLeft(TraversableOnce.scala:144)
    7. scala.collection.AbstractTraversable.foldLeft(Traversable.scala:105)
    8. scala.collection.TraversableOnce$class.$div$colon(TraversableOnce.scala:138)
    9. scala.collection.AbstractTraversable.$div$colon(Traversable.scala:105)
    10. scala.collection.immutable.MapLike$class.$plus$plus(MapLike.scala:87)
    11. scala.collection.immutable.AbstractMap.$plus$plus(Map.scala:187)
    11 frames
  3. Apache Kafka
    ZookeeperConsumerConnector.createMessageStreams
    1. kafka.javaapi.consumer.ZookeeperConsumerConnector.createMessageStreams(ZookeeperConsumerConnector.scala:83)
    2. kafka.javaapi.consumer.ZookeeperConsumerConnector.createMessageStreams(ZookeeperConsumerConnector.scala:97)
    2 frames
  4. com.ctrip.ops
    Main.main
    1. com.ctrip.ops.sysdev.inputs.Kafka.emit(Kafka.java:128)
    2. com.ctrip.ops.sysdev.Main.main(Main.java:109)
    2 frames