java.lang.NullPointerException

GitHub | jypma | 7 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.
  1. 0

    JZeppelinDataAnalytics - Cannot push data to cassandra

    Google Groups | 9 months ago | Thuc Vu
    java.lang.NullPointerException: null > at > org.kaaproject.kaa.server.appenders.cassandra.appender.CassandraLogAppender.doAppend(CassandraLogAppender.java:96) > ~[cassandra-appender-0.9.0.jar:na] > at > org.kaaproject.kaa.server.common.log.shared.appender.AbstractLogAppender.doAppend(AbstractLogAppender.java:166) > ~[log-shared-0.9.0.jar:na] > at > org.kaaproject.kaa.server.operations.service.akka.actors.core.ApplicationLogActorMessageProcessor.lambda$processLogEventPack$1(ApplicationLogActorMessageProcessor.java:113) > ~[kaa-node-0.9.0.jar:na] > at java.util.ArrayList.forEach(ArrayList.java:1249) ~[na:1.8.0_66] > at > org.kaaproject.kaa.server.operations.service.akka.actors.core.ApplicationLogActorMessageProcessor.processLogEventPack(ApplicationLogActorMessageProcessor.java:111) > ~[kaa-node-0.9.0.jar:na] > at > org.kaaproject.kaa.server.operations.service.akka.actors.core.ApplicationLogActor.onReceive(ApplicationLogActor.java:97) > ~[kaa-node-0.9.0.jar:na] > at > akka.actor.UntypedActor$$anonfun$receive$1.applyOrElse(UntypedActor.scala:167)

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at scala.collection.immutable.HashSet$HashTrieSet.iterator()
    2. Scala
      HashSet$HashTrieSet.iterator
      1. scala.collection.immutable.HashSet$HashTrieSet.iterator(HashSet.scala:965)
      2. scala.collection.immutable.HashSet$HashTrieSet.iterator(HashSet.scala:517)
      2 frames
    3. akka.stream.impl
      ActorMaterializerImpl.materialize
      1. akka.stream.impl.fusing.Fusing$.akka$stream$impl$fusing$Fusing$$descend(Fusing.scala:366)
      2. akka.stream.impl.fusing.Fusing$.doAggressive(Fusing.scala:44)
      3. akka.stream.impl.fusing.Fusing$.aggressive(Fusing.scala:34)
      4. akka.stream.impl.ActorMaterializerImpl.materialize(ActorMaterializerImpl.scala:144)
      5. akka.stream.impl.ActorMaterializerImpl.materialize(ActorMaterializerImpl.scala:138)
      5 frames
    4. akka.stream.scaladsl
      Source.runWith
      1. akka.stream.scaladsl.RunnableGraph.run(Flow.scala:351)
      2. akka.stream.scaladsl.Source.runWith(Source.scala:81)
      2 frames
    5. akka.stream.javadsl
      Source.runWith
      1. akka.stream.javadsl.Source.runWith(Source.scala:521)
      1 frame
    6. com.tradeshift.reaktive
      DataCenterForwarder.lambda$2
      1. com.tradeshift.reaktive.replication.DataCenterForwarder.lambda$2(DataCenterForwarder.java:117)
      1 frame
    7. Akka Actor
      UnitCaseStatement.apply
      1. akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:26)
      2. akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:21)
      2 frames
    8. Scala
      PartialFunction$class.applyOrElse
      1. scala.PartialFunction$class.applyOrElse(PartialFunction.scala:123)
      1 frame
    9. Akka Actor
      UnitCaseStatement.applyOrElse
      1. akka.japi.pf.UnitCaseStatement.applyOrElse(CaseStatements.scala:21)
      1 frame
    10. Scala
      PartialFunction$OrElse.applyOrElse
      1. scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:170)
      1 frame
    11. Akka Actor
      Actor$class.aroundReceive
      1. akka.actor.Actor$class.aroundReceive(Actor.scala:484)
      1 frame