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.union()
    2. Scala
      HashSet.union
      1. scala.collection.immutable.HashSet.union(HashSet.scala:89)
      2. scala.collection.immutable.HashSet.union(HashSet.scala:35)
      2 frames
    3. akka.stream.impl
      StreamLayout$CompositeModule.fuse
      1. akka.stream.impl.StreamLayout$Module$class.compose(StreamLayout.scala:282)
      2. akka.stream.impl.StreamLayout$CompositeModule.compose(StreamLayout.scala:416)
      3. akka.stream.impl.StreamLayout$Module$class.fuse(StreamLayout.scala:194)
      4. akka.stream.impl.StreamLayout$CompositeModule.fuse(StreamLayout.scala:416)
      4 frames
    4. akka.stream.scaladsl
      Flow.to
      1. akka.stream.scaladsl.Flow.toMat(Flow.scala:109)
      2. akka.stream.scaladsl.Flow.to(Flow.scala:80)
      2 frames
    5. akka.stream.javadsl
      Flow.to
      1. akka.stream.javadsl.Flow.to(Flow.scala:149)
      1 frame
    6. com.tradeshift.reaktive
      DataCenterForwarder.lambda$2
      1. com.tradeshift.reaktive.replication.DataCenterForwarder.filteredDataCenterSink(DataCenterForwarder.java:188)
      2. com.tradeshift.reaktive.replication.DataCenterForwarder.lambda$2(DataCenterForwarder.java:114)
      2 frames
    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