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 johanandren
, 1 year ago
expected OnNext, found OnError(java.util.concurrent.CompletionException: akka.pattern.AskTimeoutException: Ask timed out on [Actor[akka://RecipeGlobalRateLimit/user/limiter#543672132]] after [2000 ms]. Sender[null] sent message of type "docs.stream.javadsl.cookbook.RecipeGlobalRateLimit$Limiter$WantToPass".
java.lang.AssertionError: expected OnNext, found OnError(java.util.concurrent.CompletionException: akka.pattern.AskTimeoutException: Ask timed out on [Actor[akka://RecipeGlobalRateLimit/user/limiter#543672132]] after [2000 ms]. Sender[null] sent message of type "docs.stream.javadsl.cookbook.RecipeGlobalRateLimit$Limiter$WantToPass". at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:292) at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:308) at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:593) at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577) at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474) at java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:1969) at scala.concurrent.java8.FuturesConvertersImpl$CF.apply(FutureConvertersImpl.scala:21) at scala.concurrent.java8.FuturesConvertersImpl$CF.apply(FutureConvertersImpl.scala:18)