com.mongodb.MongoException: can't find a master

JIRA | Antoine Girbal | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    mongodb 2.4.8 initial import

    GitHub | 3 years ago | dblado
    com.mongodb.MongoException: can't find a master

    1 unregistered visitors
    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

      can't find a master

      at com.mongodb.DBTCPConnector.checkMaster()
    2. MongoDB Java Driver
      DB.command
      1. com.mongodb.DBTCPConnector.checkMaster(DBTCPConnector.java:503)
      2. com.mongodb.DBTCPConnector.innerCall(DBTCPConnector.java:236)
      3. com.mongodb.DBTCPConnector.call(DBTCPConnector.java:216)
      4. com.mongodb.DBApiLayer$MyCollection.__find(DBApiLayer.java:288)
      5. com.mongodb.DB.command(DB.java:261)
      6. com.mongodb.DB.command(DB.java:243)
      6 frames