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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by ktoso
, 1 year ago
Futures timed out after [500 milliseconds]
via Apache's JIRA Issue Tracker by Stephan Ewen, 1 year ago
via Stack Overflow by Karthick karuppiya
, 1 year ago
Futures timed out after [20000 milliseconds]
via GitHub by ktoso
, 1 year ago
Futures timed out after [100 milliseconds]
via GitHub by patriknw
, 1 year ago
Futures timed out after [1 second]
java.util.concurrent.TimeoutException: Futures timed out after [500 milliseconds]
at scala.concurrent.impl.Promise$DefaultPromise.ready(Promise.scala:219)
at scala.concurrent.impl.Promise$DefaultPromise.ready(Promise.scala:153)
at scala.concurrent.Await$$anonfun$ready$1.apply(package.scala:169)
at scala.concurrent.Await$$anonfun$ready$1.apply(package.scala:169)
at scala.concurrent.BlockContext$DefaultBlockContext$.blockOn(BlockContext.scala:53)
at scala.concurrent.Await$.ready(package.scala:169)
at akka.http.impl.util.package$AddFutureAwaitResult.awaitResult(package.scala:60)
at akka.http.javadsl.testkit.RouteTest.runScalaRoute(RouteTest.scala:66)
at akka.http.javadsl.testkit.RouteTest.runRoute(RouteTest.scala:45)
at akka.http.javadsl.testkit.RouteTest.runRoute(RouteTest.scala:42)
at akka.http.javadsl.testkit.RouteTest$$anon$1.run(RouteTest.scala:77)
at docs.http.javadsl.server.directives.FileUploadDirectivesExamplesTest.testUploadedFile(FileUploadDirectivesExamplesTest.java:51)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)

Users with the same issue

5 times, 1 year ago
Once, 1 week ago
8 times, 3 months ago
Once, 5 days ago
Once, 3 weeks ago
48 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.