play.api.http.HttpErrorHandlerExceptions$$anon$1: Execution exception[[NullPointerException: null]]

Stack Overflow | raju | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    initializing WSClient in play gives error

    Stack Overflow | 7 months ago | raju
    play.api.http.HttpErrorHandlerExceptions$$anon$1: Execution exception[[NullPointerException: null]]

    Root Cause Analysis

    1. java.lang.NullPointerException

      null

      at controllers.CouponsController.test()
    2. controllers
      CouponsController.test
      1. controllers.CouponsController.test(CouponsController.java:386)
      1 frame
    3. router
      Routes$$anonfun$routes$1$$anonfun$applyOrElse$22$$anonfun$apply$22.apply
      1. router.Routes$$anonfun$routes$1$$anonfun$applyOrElse$22$$anonfun$apply$22.apply(Routes.scala:603)
      2. router.Routes$$anonfun$routes$1$$anonfun$applyOrElse$22$$anonfun$apply$22.apply(Routes.scala:603)
      2 frames
    4. play.core.routing
      HandlerInvokerFactory$JavaActionInvokerFactory$$anon$14$$anon$3$$anon$1.invocation
      1. play.core.routing.HandlerInvokerFactory$$anon$5.resultCall(HandlerInvoker.scala:160)
      2. play.core.routing.HandlerInvokerFactory$JavaActionInvokerFactory$$anon$14$$anon$3$$anon$1.invocation(HandlerInvoker.scala:136)
      2 frames
    5. Play
      JavaAction$$anonfun$7.apply
      1. play.core.j.JavaAction$$anon$1.call(JavaAction.scala:73)
      2. play.http.HttpRequestHandler$1.call(HttpRequestHandler.java:54)
      3. play.core.j.JavaAction$$anonfun$7.apply(JavaAction.scala:108)
      4. play.core.j.JavaAction$$anonfun$7.apply(JavaAction.scala:108)
      4 frames
    6. Scala
      Future$PromiseCompletingRunnable.liftedTree1$1
      1. scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24)
      1 frame