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 Google Groups by Tam Truong, 1 year ago
com.mongodb.MongoTimeoutExc eption: Timed out after 30000 ms while waiting for a server that matches ReadPre ferenceServerSelector{readPreference=primary}. Client view of cluster state is { type=UNKNOWN, servers=[{address=locahost:27017, type
via GitHub by pizirun
, 2 years ago
net.kuujo.copycat.protocol.ProtocolException: Invalid server address bar
via GitHub by electrum
, 1 year ago
java.lang.IllegalArgumentException: size is negative
java.util.concurrent.CompletionException: com.mongodb.MongoTimeoutException: Timed out after 30000 ms while waiting for a server that matches ReadPreferenceServerSelector{readPreference=primary}. Client view of cluster state is {type=UNKNOWN, servers=[{address=locahost:27017, type=UNKNOWN, state=CONNECTING,exception={com.mongodb.MongoSocketException: locahost}, caused by {java.net.UnknownHostException: locahost}}] 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:1977) at scala.concurrent.java8.FuturesConvertersImpl$CF.apply(FutureConvertersImpl.scala:21) at scala.concurrent.java8.FuturesConvertersImpl$CF.apply(FutureConvertersImpl.scala:18) at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32) at scala.concurrent.BatchingExecutor$Batch$$anonfun$run$1.processBatch$1(BatchingExecutor.scala:63)