java.lang.RuntimeException: There is no HTTP Context available from here.]]

Stack Overflow | gitness | 3 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

    Not able to send emails from play mailer plugin

    Stack Overflow | 1 year ago | D4Developer
    play.api.http.HttpErrorHandlerExceptions$$anon$1: Execution exception[[CompletionException: org.apache.commons.mail.EmailException: Sending the email to the following server failed : smtp.gmail.com:465]]
  2. 0

    [Play-2.5.4] EntityManager/Session is closed

    Google Groups | 10 months ago | Víctor Borges Jussiani
    java.lang.IllegalStateException: Session/EntityManager is closed]]
  3. 0

    Ebean Id Not Autogenerating

    Stack Overflow | 4 weeks ago | vkuo
    javax.persistence.PersistenceException: ERROR executing DML bindLog[] error[ERROR: syntax error at or near ")"\n Position: 19]]]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Underscore in the routes file causes runtime error

    GitHub | 1 year ago | tenorviol
    play.api.http.HttpErrorHandlerExceptions$$anon$1: Execution exception[[RuntimeException: java.lang.NoSuchMethodError: play.api.libs.functional.syntax.package$.functionalCanBuildApplicative(Lplay/api/libs/functional/Applicative;)Lplay/api/libs/functional/FunctionalCanBuild;]]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      There is no HTTP Context available from here.

      at play.mvc.Http$Context.current()
    2. Play
      Controller.response
      1. play.mvc.Http$Context.current(Http.java:62)
      2. play.mvc.Controller.response(Controller.java:81)
      2 frames
    3. controllers
      JavaController$4.apply
      1. controllers.JavaController$4.apply(JavaController.java:107)
      2. controllers.JavaController$4.apply(JavaController.java:103)
      2 frames
    4. Java RT
      ForkJoinPool.runWorker
      1. java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)
      2. java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577)
      3. java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:443)
      4. java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
      5. java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
      6. java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
      6 frames