java.lang.IndexOutOfBoundsException

JIRA | Serge Maslyukov | 7 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to poroszd . Or join the community to write better ones.
  1. 0
    samebug tip
    If MongoDB is installed on the same instance as your app, use localhost to connect to MongoDB, e.g. 127.0.0.1:27017.
  2. 0

    [mongodb-user] Using DNS A-name round robin in Client Drivers

    Google Groups | 5 years ago | Chris Berry
    com.mongodb.MongoException: not talking to master and retries used up
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Using DNS A-name round robin in Client Drivers

    Google Groups | 5 years ago | Chris Berry
    com.mongodb.MongoException: not talking to master and retries used up

    2 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. java.lang.IndexOutOfBoundsException

      No message provided

      at java.nio.Buffer.checkIndex()
    2. Java RT
      HeapByteBuffer.get
      1. java.nio.Buffer.checkIndex(Buffer.java:514)
      2. java.nio.HeapByteBuffer.get(HeapByteBuffer.java:121)
      2 frames
    3. MongoDB Java Driver
      DBCollection.findOne
      1. com.mongodb.RawDBObject._readCStr(RawDBObject.java:112)
      2. com.mongodb.RawDBObject$Element.<init>(RawDBObject.java:192)
      3. com.mongodb.RawDBObject$ElementIter.next(RawDBObject.java:323)
      4. com.mongodb.RawDBObject.findElement(RawDBObject.java:167)
      5. com.mongodb.RawDBObject.get(RawDBObject.java:49)
      6. com.mongodb.DBTCPConnector._getError(DBTCPConnector.java:216)
      7. com.mongodb.DBTCPConnector._call(DBTCPConnector.java:170)
      8. com.mongodb.DBTCPConnector.call(DBTCPConnector.java:156)
      9. com.mongodb.DBApiLayer.doQuery(DBApiLayer.java:67)
      10. com.mongodb.DBApiLayer$MyCollection.find(DBApiLayer.java:311)
      11. com.mongodb.DBCollection.findOne(DBCollection.java:344)
      12. com.mongodb.DBCollection.findOne(DBCollection.java:333)
      12 frames