java.lang.UnsupportedOperationException: can't handle : -1

JIRA | Kristina Chodorow | 8 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      can't handle : -1

      at com.mongodb.ByteDecoder.decodeNext()
    2. MongoDB Java Driver
      Tester.main
      1. com.mongodb.ByteDecoder.decodeNext(ByteDecoder.java:247)
      2. com.mongodb.ByteDecoder.decodeNext(ByteDecoder.java:232)
      3. com.mongodb.ByteDecoder.readObject(ByteDecoder.java:104)
      4. com.mongodb.DBApiLayer$SingleResult.<init>(DBApiLayer.java:534)
      5. com.mongodb.DBApiLayer$MyCollection.find(DBApiLayer.java:415)
      6. com.mongodb.DBCollection.findOne(DBCollection.java:258)
      7. com.mongodb.DBCollection.findOne(DBCollection.java:249)
      8. com.mongodb.Tester.main(Tester.java:9)
      8 frames