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

java.lang.IllegalStateException: open	at org.bson.util.Assertions.isTrue(Assertions.java:36)	at com.mongodb.DBPort.runCommand(DBPort.java:219)	at com.mongodb.DBPort.ensureOpen(DBPort.java:319)	at com.mongodb.DBPort.(DBPort.java:113)	at com.mongodb.DBPort.(DBPort.java:95)	at com.mongodb.DBPortFactory.create(DBPortFactory.java:28)	at com.mongodb.PooledConnectionProvider$ConnectionItemFactory.create(PooledConnectionProvider.java:186)	at com.mongodb.PooledConnectionProvider$ConnectionItemFactory.create(PooledConnectionProvider.java:183)	at com.mongodb.ConcurrentPool.createNewAndReleasePermitIfFailure(ConcurrentPool.java:150)	at com.mongodb.ConcurrentPool.get(ConcurrentPool.java:118)	at com.mongodb.PooledConnectionProvider.get(PooledConnectionProvider.java:79)	at com.mongodb.DefaultServer.getConnection(DefaultServer.java:61)	at com.mongodb.BaseCluster$WrappedServer.getConnection(BaseCluster.java:254)