java.lang.IllegalStateException

open

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web28

  • via Unknown by Stefan Larsson,
  • via Unknown by Stefan Larsson,
  • Stack trace

    • java.lang.IllegalStateException: open at org.bson.util.Assertions.isTrue(Assertions.java:36)[bson-2.12.2.jar:na] at com.mongodb.DBPort.runCommand(DBPort.java:196)[mongo-java-driver-2.12.2.jar:na] at com.mongodb.DBPort$NativeAuthenticator.authenticate(DBPort.java:647)[mongo-java-driver-2.12.2.jar:na] at com.mongodb.DBPort.authenticate(DBPort.java:364)[mongo-java-driver-2.12.2.jar:na] at com.mongodb.DBPort.checkAuth(DBPort.java:375)[mongo-java-driver-2.12.2.jar:na] at com.mongodb.DBTCPConnector.doOperation(DBTCPConnector.java:209)[mongo-java-driver-2.12.2.jar:na] at com.mongodb.DBTCPConnector.say(DBTCPConnector.java:181)[mongo-java-driver-2.12.2.jar:na] at com.mongodb.DBCollectionImpl.insertWithWriteProtocol(DBCollectionImpl.java:528)[mongo-java-driver-2.12.2.jar:na] at com.mongodb.DBCollectionImpl.insert(DBCollectionImpl.java:193)[mongo-java-driver-2.12.2.jar:na] at com.mongodb.DBCollectionImpl.insert(DBCollectionImpl.java:165)[mongo-java-driver-2.12.2.jar:na] at com.mongodb.DBCollection.insert(DBCollection.java:161)[mongo-java-driver-2.12.2.jar:na] at com.mongodb.DBCollection.insert(DBCollection.java:107)[mongo-java-driver-2.12.2.jar:na] at com.mongodb.DBCollection.save(DBCollection.java:966)[mongo-java-driver-2.12.2.jar:na] at org.jongo.Insert.save(Insert.java:50)[jongo-1.0.jar:na] at org.jongo.MongoCollection.save(MongoCollection.java:128)[jongo-1.0.jar:na] at MyAppRepository.save(MyAppRepository.java:43)[MyAppRepository.class:na]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    pulse00pulse00
    22 times, last one
    linxiaolonglinxiaolong
    32 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    3 more bugmates