java.util.concurrent.TimeoutException: Futures timed out after [2 seconds]

GitHub | ktoso | 3 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: TlsSpec

    GitHub | 2 years ago | ktoso
    java.util.concurrent.TimeoutException: Futures timed out after [8 seconds]
  2. 0

    GitHub comment 21660#267265724

    GitHub | 3 months ago | johanandren
    java.util.concurrent.TimeoutException: Futures timed out after [8 seconds]
  3. 0

    GitHub comment 20368#268761579

    GitHub | 3 months ago | patriknw
    java.util.concurrent.TimeoutException: Futures timed out after [8 seconds]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    FAILED: TlsSpec ClientInitiatesViaTcp

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

    BUG: Iterable Source with conflate, buffer and fold fails to finish

    GitHub | 2 years ago | bantonsson
    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 [2 seconds]

    at scala.concurrent.impl.Promise$DefaultPromise.ready()
  2. Scala
    Await$.result
    1. scala.concurrent.impl.Promise$DefaultPromise.ready(Promise.scala:219)
    2. scala.concurrent.impl.Promise$DefaultPromise.result(Promise.scala:223)
    3. scala.concurrent.Await$$anonfun$result$1.apply(package.scala:190)
    4. scala.concurrent.BlockContext$DefaultBlockContext$.blockOn(BlockContext.scala:53)
    5. scala.concurrent.Await$.result(package.scala:190)
    5 frames
  3. akka.stream.io
    TlsSpec$$anonfun$1$$anonfun$apply$mcV$sp$6$$anonfun$apply$6$$anonfun$apply$7$$anonfun$apply$8.apply
    1. akka.stream.io.TlsSpec$$anonfun$1.akka$stream$io$TlsSpec$$anonfun$$server$1(TlsSpec.scala:146)
    2. akka.stream.io.TlsSpec$$anonfun$1$ClientInitiatesViaTcp$2$.decorateFlow(TlsSpec.scala:153)
    3. akka.stream.io.TlsSpec$$anonfun$1$$anonfun$apply$mcV$sp$6$$anonfun$apply$6$$anonfun$apply$7$$anonfun$apply$8.apply(TlsSpec.scala:354)
    3 frames
  4. akka.stream.testkit
    Utils$.assertAllStagesStopped
    1. akka.stream.testkit.Utils$.assertAllStagesStopped(Utils.scala:25)
    1 frame
  5. akka.stream.io
    TlsSpec$$anonfun$1$$anonfun$apply$mcV$sp$6$$anonfun$apply$6$$anonfun$apply$7.apply
    1. akka.stream.io.TlsSpec$$anonfun$1$$anonfun$apply$mcV$sp$6$$anonfun$apply$6$$anonfun$apply$7.apply(TlsSpec.scala:350)
    1 frame
  6. scalatest
    TestSuite$class.withFixture
    1. org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)
    2. org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
    3. org.scalatest.Transformer.apply(Transformer.scala:22)
    4. org.scalatest.Transformer.apply(Transformer.scala:20)
    5. org.scalatest.WordSpecLike$$anon$1.apply(WordSpecLike.scala:1078)
    6. org.scalatest.TestSuite$class.withFixture(TestSuite.scala:196)
    6 frames
  7. akka.stream.testkit
    StreamSpec.withFixture
    1. akka.stream.testkit.StreamSpec.withFixture(StreamSpec.scala:26)
    1 frame
  8. scalatest
    WordSpecLike$class.runTest
    1. org.scalatest.WordSpecLike$class.invokeWithFixture$1(WordSpecLike.scala:1075)
    2. org.scalatest.WordSpecLike$$anonfun$runTest$1.apply(WordSpecLike.scala:1088)
    3. org.scalatest.WordSpecLike$$anonfun$runTest$1.apply(WordSpecLike.scala:1088)
    4. org.scalatest.SuperEngine.runTestImpl(Engine.scala:289)
    5. org.scalatest.WordSpecLike$class.runTest(WordSpecLike.scala:1088)
    5 frames
  9. Akka Testkit
    AkkaSpec.runTest
    1. akka.testkit.AkkaSpec.runTest(AkkaSpec.scala:59)
    1 frame
  10. scalatest
    SuperEngine$$anonfun$traverseSubNodes$1$1.apply
    1. org.scalatest.WordSpecLike$$anonfun$runTests$1.apply(WordSpecLike.scala:1147)
    2. org.scalatest.WordSpecLike$$anonfun$runTests$1.apply(WordSpecLike.scala:1147)
    3. org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:396)
    4. org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:384)
    4 frames
  11. Scala
    List.foreach
    1. scala.collection.immutable.List.foreach(List.scala:381)
    1 frame
  12. scalatest
    SuperEngine$$anonfun$traverseSubNodes$1$1.apply
    1. org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:384)
    2. org.scalatest.SuperEngine.org$scalatest$SuperEngine$$runTestsInBranch(Engine.scala:373)
    3. org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:410)
    4. org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:384)
    4 frames
  13. Scala
    List.foreach
    1. scala.collection.immutable.List.foreach(List.scala:381)
    1 frame
  14. scalatest
    WordSpecLike$class.runTests
    1. org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:384)
    2. org.scalatest.SuperEngine.org$scalatest$SuperEngine$$runTestsInBranch(Engine.scala:379)
    3. org.scalatest.SuperEngine.runTestsImpl(Engine.scala:461)
    4. org.scalatest.WordSpecLike$class.runTests(WordSpecLike.scala:1147)
    4 frames
  15. Akka Testkit
    AkkaSpec.runTests
    1. akka.testkit.AkkaSpec.runTests(AkkaSpec.scala:59)
    1 frame
  16. scalatest
    Suite$class.run
    1. org.scalatest.Suite$class.run(Suite.scala:1147)
    1 frame
  17. Akka Testkit
    AkkaSpec.org$scalatest$WordSpecLike$$super$run
    1. akka.testkit.AkkaSpec.org$scalatest$WordSpecLike$$super$run(AkkaSpec.scala:59)
    1 frame
  18. scalatest
    WordSpecLike$class.run
    1. org.scalatest.WordSpecLike$$anonfun$run$1.apply(WordSpecLike.scala:1192)
    2. org.scalatest.WordSpecLike$$anonfun$run$1.apply(WordSpecLike.scala:1192)
    3. org.scalatest.SuperEngine.runImpl(Engine.scala:521)
    4. org.scalatest.WordSpecLike$class.run(WordSpecLike.scala:1192)
    4 frames
  19. Akka Testkit
    AkkaSpec.org$scalatest$BeforeAndAfterAll$$super$run
    1. akka.testkit.AkkaSpec.org$scalatest$BeforeAndAfterAll$$super$run(AkkaSpec.scala:59)
    1 frame
  20. scalatest
    BeforeAndAfterAll$class.run
    1. org.scalatest.BeforeAndAfterAll$class.liftedTree1$1(BeforeAndAfterAll.scala:213)
    2. org.scalatest.BeforeAndAfterAll$class.run(BeforeAndAfterAll.scala:210)
    2 frames
  21. Akka Testkit
    AkkaSpec.run
    1. akka.testkit.AkkaSpec.run(AkkaSpec.scala:59)
    1 frame
  22. scalatest
    Framework$ScalaTestTask.execute
    1. org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:314)
    2. org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:472)
    2 frames
  23. SBT
    Tests$$anonfun$makeSerial$1.apply
    1. sbt.TestRunner.runTest$1(TestFramework.scala:76)
    2. sbt.TestRunner.run(TestFramework.scala:85)
    3. sbt.TestFramework$$anon$2$$anonfun$$init$$1$$anonfun$apply$8.apply(TestFramework.scala:202)
    4. sbt.TestFramework$$anon$2$$anonfun$$init$$1$$anonfun$apply$8.apply(TestFramework.scala:202)
    5. sbt.TestFramework$.sbt$TestFramework$$withContextLoader(TestFramework.scala:185)
    6. sbt.TestFramework$$anon$2$$anonfun$$init$$1.apply(TestFramework.scala:202)
    7. sbt.TestFramework$$anon$2$$anonfun$$init$$1.apply(TestFramework.scala:202)
    8. sbt.TestFunction.apply(TestFramework.scala:207)
    9. sbt.Tests$.sbt$Tests$$processRunnable$1(Tests.scala:239)
    10. sbt.Tests$$anonfun$makeSerial$1.apply(Tests.scala:245)
    11. sbt.Tests$$anonfun$makeSerial$1.apply(Tests.scala:245)
    11 frames
  24. sbt Task system
    Transform$$anon$3$$anonfun$apply$2.apply
    1. sbt.std.Transform$$anon$3$$anonfun$apply$2.apply(System.scala:44)
    2. sbt.std.Transform$$anon$3$$anonfun$apply$2.apply(System.scala:44)
    2 frames