java.lang.NullPointerException

GitHub | romac | 2 years 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 | 10 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 me.reminisce.service.gameboardgen.questiongen.QuestionGenerator.dispatcher()
    2. me.reminisce.service
      WhoLikedYourPost$$anonfun$receive$1$$anonfun$applyOrElse$1.apply
      1. me.reminisce.service.gameboardgen.questiongen.QuestionGenerator.dispatcher(QuestionGenerator.scala:28)
      2. me.reminisce.service.gameboardgen.questiongen.WhoLikedYourPost$$anonfun$receive$1$$anonfun$applyOrElse$1.apply(WhoLikedYourPost.scala:39)
      3. me.reminisce.service.gameboardgen.questiongen.WhoLikedYourPost$$anonfun$receive$1$$anonfun$applyOrElse$1.apply(WhoLikedYourPost.scala:34)
      3 frames
    3. Scala
      CallbackRunnable.run
      1. scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)
      1 frame
    4. Akka Actor
      BatchingExecutor$Batch$$anonfun$run$1.apply
      1. akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.processBatch$1(BatchingExecutor.scala:67)
      2. akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.apply$mcV$sp(BatchingExecutor.scala:82)
      3. akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.apply(BatchingExecutor.scala:59)
      4. akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.apply(BatchingExecutor.scala:59)
      4 frames
    5. Scala
      BlockContext$.withBlockContext
      1. scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:72)
      1 frame
    6. Akka Actor
      ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec
      1. akka.dispatch.BatchingExecutor$Batch.run(BatchingExecutor.scala:58)
      2. akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:41)
      3. akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393)
      3 frames
    7. 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