java.lang.NullPointerException

GitHub | CalebFenton | 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

    `activator testOnly` does not work as expected

    GitHub | 8 months ago | ShahBinoy
    java.lang.NullPointerException: null, took 2.999 sec [error] at controllers.auth.LoginController.authenticate(LoginController.java:51)

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at spark.jobserver.JobManagerActor$$anonfun$wrappedReceive$1.applyOrElse()
    2. spark.jobserver
      JobManagerActor$$anonfun$wrappedReceive$1.applyOrElse
      1. spark.jobserver.JobManagerActor$$anonfun$wrappedReceive$1.applyOrElse(JobManagerActor.scala:166)
      1 frame
    3. Scala
      AbstractPartialFunction$mcVL$sp.apply
      1. scala.runtime.AbstractPartialFunction$mcVL$sp.apply$mcVL$sp(AbstractPartialFunction.scala:33)
      2. scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:33)
      3. scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:25)
      3 frames
    4. ooyala.common.akka
      ActorStack$$anonfun$receive$1.applyOrElse
      1. ooyala.common.akka.ActorStack$$anonfun$receive$1.applyOrElse(ActorStack.scala:33)
      1 frame
    5. Scala
      AbstractPartialFunction$mcVL$sp.apply
      1. scala.runtime.AbstractPartialFunction$mcVL$sp.apply$mcVL$sp(AbstractPartialFunction.scala:33)
      2. scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:33)
      3. scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:25)
      3 frames
    6. ooyala.common.akka
      Slf4jLogging$$anonfun$receive$1.applyOrElse
      1. ooyala.common.akka.Slf4jLogging$$anonfun$receive$1$$anonfun$applyOrElse$1.apply$mcV$sp(Slf4jLogging.scala:25)
      2. ooyala.common.akka.Slf4jLogging$class.ooyala$common$akka$Slf4jLogging$$withAkkaSourceLogging(Slf4jLogging.scala:34)
      3. ooyala.common.akka.Slf4jLogging$$anonfun$receive$1.applyOrElse(Slf4jLogging.scala:24)
      3 frames
    7. Scala
      AbstractPartialFunction$mcVL$sp.apply
      1. scala.runtime.AbstractPartialFunction$mcVL$sp.apply$mcVL$sp(AbstractPartialFunction.scala:33)
      2. scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:33)
      3. scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:25)
      3 frames
    8. ooyala.common.akka
      ActorMetrics$$anonfun$receive$1.applyOrElse
      1. ooyala.common.akka.ActorMetrics$$anonfun$receive$1.applyOrElse(ActorMetrics.scala:23)
      1 frame
    9. Akka Actor
      Actor$class.aroundReceive
      1. akka.actor.Actor$class.aroundReceive(Actor.scala:467)
      1 frame
    10. ooyala.common.akka
      InstrumentedActor.aroundReceive
      1. ooyala.common.akka.InstrumentedActor.aroundReceive(InstrumentedActor.scala:8)
      1 frame
    11. Akka Actor
      ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec
      1. akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)
      2. akka.actor.ActorCell.invoke(ActorCell.scala:487)
      3. akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238)
      4. akka.dispatch.Mailbox.run(Mailbox.scala:220)
      5. akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:397)
      5 frames
    12. Scala
      ForkJoinWorkerThread.run
      1. scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
      2. scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
      3. scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
      4. scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
      4 frames