java.util.concurrent.TimeoutException: Futures timed out after [500 milliseconds]

GitHub | ktoso | 9 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

    FAILED: FileUploadDirectivesExamplesTest

    GitHub | 9 months ago | ktoso
    java.util.concurrent.TimeoutException: Futures timed out after [500 milliseconds]
  2. 0

    failed: FileAndResourceDirectivesSpec

    GitHub | 10 months ago | patriknw
    java.util.concurrent.TimeoutException: Futures timed out after [1 second]
  3. 0

    FAILED: DeflateSpec, timing issue

    GitHub | 10 months ago | ktoso
    java.util.concurrent.TimeoutException: Futures timed out after [1 second]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    FAILED: GzipSpec

    GitHub | 6 months ago | akka-ci
    java.util.concurrent.TimeoutException: Futures timed out after [3 seconds]
  6. 0

    FAILED: GzipSpec

    GitHub | 10 months ago | ktoso
    java.util.concurrent.TimeoutException: Futures timed out after [3 seconds]
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.util.concurrent.TimeoutException

    Futures timed out after [500 milliseconds]

    at scala.concurrent.impl.Promise$DefaultPromise.ready()
  2. Scala
    Await$.ready
    1. scala.concurrent.impl.Promise$DefaultPromise.ready(Promise.scala:219)
    2. scala.concurrent.impl.Promise$DefaultPromise.ready(Promise.scala:153)
    3. scala.concurrent.Await$$anonfun$ready$1.apply(package.scala:169)
    4. scala.concurrent.Await$$anonfun$ready$1.apply(package.scala:169)
    5. scala.concurrent.BlockContext$DefaultBlockContext$.blockOn(BlockContext.scala:53)
    6. scala.concurrent.Await$.ready(package.scala:169)
    6 frames
  3. akka.http.impl
    package$AddFutureAwaitResult.awaitResult
    1. akka.http.impl.util.package$AddFutureAwaitResult.awaitResult(package.scala:60)
    1 frame
  4. akka.http.javadsl
    RouteTest$$anon$1.run
    1. akka.http.javadsl.testkit.RouteTest.runScalaRoute(RouteTest.scala:66)
    2. akka.http.javadsl.testkit.RouteTest.runRoute(RouteTest.scala:45)
    3. akka.http.javadsl.testkit.RouteTest.runRoute(RouteTest.scala:42)
    4. akka.http.javadsl.testkit.RouteTest$$anon$1.run(RouteTest.scala:77)
    4 frames
  5. docs.http.javadsl
    FileUploadDirectivesExamplesTest.testUploadedFile
    1. docs.http.javadsl.server.directives.FileUploadDirectivesExamplesTest.testUploadedFile(FileUploadDirectivesExamplesTest.java:51)
    1 frame
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  7. JUnit
    Suite.runChild
    1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
    2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
    4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    5. org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
    6. org.junit.rules.RunRules.evaluate(RunRules.java:20)
    7. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
    8. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
    9. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
    10. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    11. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    12. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    13. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    14. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    15. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    16. org.junit.runners.Suite.runChild(Suite.java:128)
    16 frames