Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-86

java.lang.IndexOutOfBoundsException Error

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Blocker - P1 Blocker - P1
    • None
    • Affects Version/s: 1.2
    • Component/s: None
    • Labels:
      None

      java.lang.IndexOutOfBoundsException
      at java.nio.Buffer.checkIndex(Buffer.java:514)
      at java.nio.DirectByteBuffer.get(DirectByteBuffer.java:209)
      at com.mongodb.RawDBObject._readCStr(RawDBObject.java:112)
      at com.mongodb.RawDBObject$Element.<init>(RawDBObject.java:181)
      at com.mongodb.RawDBObject$ElementIter.next(RawDBObject.java:312)
      at com.mongodb.RawDBObject.findElement(RawDBObject.java:156)
      at com.mongodb.RawDBObject.get(RawDBObject.java:49)
      at com.mongodb.DBTCPConnector._getError(DBTCPConnector.java:216)
      at com.mongodb.DBTCPConnector._call(DBTCPConnector.java:170)
      at com.mongodb.DBTCPConnector.call(DBTCPConnector.java:156)
      at com.mongodb.DBApiLayer.doQuery(DBApiLayer.java:67)
      at com.mongodb.DBApiLayer$MyCollection.find(DBApiLayer.java:311)
      at com.mongodb.DBCollection.findOne(DBCollection.java:310)
      at com.mongodb.DBCollection.findOne(DBCollection.java:300)

      Mongo DB : starting : pid = 0 port = 27017 dbpath = T:\mongodb master = 0 slave = 0 64-bit
      db version v1.2.2, pdfile version 4.5
      git version: 8a4fb8b1c7cb78648c55368d806ba35054f6be54
      sys info: windows (6, 0, 6002, 2, 'Service Pack 2') BOOST_LIB_VERSION=1_39

      java driver 1.2 (same error with v1.0)

            Assignee:
            eliot Eliot Horowitz (Inactive)
            Reporter:
            sergmain Serge
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: