com.mongodb.MongoException: invalid operator: $**

JIRA | Steve Briskin | 4 years ago
  1. 0

    Web Application not working

    GitHub | 2 years ago | tteixeira
    com.mongodb.MongoException: can't find a master
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    not talking to master and retries used up [moved]

    GitHub | 4 years ago | jyemin
    com.mongodb.MongoException: not talking to master and retries used up
  4. 0

    Mongo on Linux, From Java App, throwing Exception can't find a master

    Stack Overflow | 5 years ago | Faisal Basra
    com.mongodb.MongoException: can't find a master

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.mongodb.MongoException

      invalid operator: $**

      at com.mongodb.MongoException.parse()
    2. MongoDB Java Driver
      DBCollection.ensureIndex
      1. com.mongodb.MongoException.parse(MongoException.java:82)
      2. com.mongodb.DBApiLayer$MyCollection.__find(DBApiLayer.java:292)
      3. com.mongodb.DBApiLayer$MyCollection.__find(DBApiLayer.java:273)
      4. com.mongodb.DBCollection.findOne(DBCollection.java:728)
      5. com.mongodb.DBCollection.findOne(DBCollection.java:670)
      6. com.mongodb.DBApiLayer$MyCollection.createIndex(DBApiLayer.java:342)
      7. com.mongodb.DBCollection.createIndex(DBCollection.java:485)
      8. com.mongodb.DBCollection.ensureIndex(DBCollection.java:561)
      9. com.mongodb.DBCollection.ensureIndex(DBCollection.java:512)
      9 frames
    3. Unknown
      TestEnsureIndex.main
      1. TestEnsureIndex.main(TestEnsureIndex.java:14)
      1 frame