play.api.http.HttpErrorHandlerExceptions$$anon$1

Execution exception[[CompletionException: java.lang.NullPointerException]]


Solutions on the web175

Solution icon of stackoverflow
via Stack Overflow by Rohit Pujar
, 1 year ago
Execution exception[[CompletionException: java.lang.NullPointerException]]

Solution icon of stackoverflow
Execution exception[[CompletionException: java.lang.NullPointerException]]

Solution icon of stackoverflow
Execution exception[[CompletionException: java.lang.NullPointerException]]

Solution icon of stackoverflow
Execution exception[[CompletionException: java.lang.NullPointerException]]

Solution icon of stackoverflow
Execution exception[[CompletionException: java.lang.NullPointerException]]

Solution icon of stackoverflow
via Stack Overflow by bharal
, 6 months ago
Execution exception[[CompletionException: java.lang.NullPointerException]]

Solution icon of stackoverflow
Execution exception[[CompletionException: java.lang.ExceptionInInitializerError]]

Solution icon of googlegroups
Execution exception[[CompletionException: @null: null]]

Solution icon of stackoverflow
Execution exception[[CompletionException: org.apache.commons.mail.EmailException: Sending the email to the following server failed : smtp.gmail.com:465]]

Solution icon of googlegroups
via Google Groups by Steve Chaloner, 1 year ago
Execution exception[[CompletionException: java.lang.RuntimeException: There is no HTTP Context available from here.]]

Stack trace

  • play.api.http.HttpErrorHandlerExceptions$$anon$1: Execution exception[[CompletionException: java.lang.NullPointerException]] at play.api.http.HttpErrorHandlerExceptions$.throwableToUsefulException(HttpErrorHandler.scala:293) at play.api.http.DefaultHttpErrorHandler.onServerError(HttpErrorHandler.scala:220) at play.api.GlobalSettings$class.onError(GlobalSettings.scala:160) at play.api.DefaultGlobal$.onError(GlobalSettings.scala:188) at play.api.http.GlobalSettingsHttpErrorHandler.onServerError(HttpErrorHandler.scala:100) at play.core.server.netty.PlayRequestHandler$$anonfun$2$$anonfun$apply$1.applyOrElse(PlayRequestHandler.scala:100) at play.core.server.netty.PlayRequestHandler$$anonfun$2$$anonfun$apply$1.applyOrElse(PlayRequestHandler.scala:99) at scala.concurrent.Future$$anonfun$recoverWith$1.apply(Future.scala:344) at scala.concurrent.Future$$anonfun$recoverWith$1.apply(Future.scala:343) at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32) Caused by: java.util.concurrent.CompletionException: java.lang.NullPointerException at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273) at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280) at java.util.concurrent.CompletableFuture.uniCompose(CompletableFuture.java:961) at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:926) at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442) at play.core.j.HttpExecutionContext$$anon$2.run(HttpExecutionContext.scala:56) at play.core.j.HttpExecutionContext$$anon$2.run(HttpExecutionContext.scala:56) at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:39) at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:415) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) Caused by: java.lang.NullPointerException: null at be.objectify.deadbolt.java.cache.DefaultSubjectCache.apply(DefaultSubjectCache.java:80) at be.objectify.deadbolt.java.cache.DefaultSubjectCache.apply(DefaultSubjectCache.java:38) at be.objectify.deadbolt.java.ConstraintLogic.getSubject(ConstraintLogic.java:348) at be.objectify.deadbolt.java.ConstraintLogic.subjectTest(ConstraintLogic.java:116) at be.objectify.deadbolt.java.ConstraintLogic.subjectPresent(ConstraintLogic.java:72) at be.objectify.deadbolt.java.actions.SubjectPresentAction.lambda$testSubject$129(SubjectPresentAction.java:91) at java.util.Optional.orElseGet(Optional.java:267) at be.objectify.deadbolt.java.actions.AbstractSubjectAction.lambda$execute$118(AbstractSubjectAction.java:76) at java.util.concurrent.CompletableFuture.uniCompose(CompletableFuture.java:952) at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:926)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.