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.DBTCPConnector.isMongosConnection(DBTCPConnector.java:377) at com.mongodb.Mongo.isMongosConnection(Mongo.java:645) at com.mongodb.DBCursor._check(DBCursor.java:454) at com.mongodb.DBCursor._hasNext(DBCursor.java:546) at com.mongodb.DBCursor.hasNext(DBCursor.java:571) at com.mongodb.DBCollection.getIndexInfo(DBCollection.java:1697)