java.lang.IllegalArgumentException: need a connector: admin

JIRA | Antoine Girbal | 6 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. 0

    Error on startup from using Java API

    Google Groups | 6 years ago | Leif Mortenson
    java.lang.IllegalArgumentException: need a connector: admin
  2. 0

    Problem when using different mongo instances within a jvm

    Google Groups | 6 years ago | Michael W.
    java.lang.IllegalArgumentException: need a connector: admin
  3. 0

    [mongodb-user] Error on startup from using Java API

    Google Groups | 6 years ago | Leif Mortenson
    java.lang.IllegalArgumentException: need a connector: admin
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [mongodb-user] Problem when using different mongo instances within a jvm

    Google Groups | 6 years ago | Michael W.
    java.lang.IllegalArgumentException: need a connector: admin

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      need a connector: admin

      at com.mongodb.DBApiLayer.<init>()
    2. MongoDB Java Driver
      ReplicaSetStatus$Updater.run
      1. com.mongodb.DBApiLayer.<init>(DBApiLayer.java:86)
      2. com.mongodb.Mongo.getDB(Mongo.java:319)
      3. com.mongodb.ReplicaSetStatus$Node.update(ReplicaSetStatus.java:149)
      4. com.mongodb.ReplicaSetStatus.updateAll(ReplicaSetStatus.java:314)
      5. com.mongodb.ReplicaSetStatus$Updater.run(ReplicaSetStatus.java:263)
      5 frames