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

JIRA | Kristina Chodorow | 8 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

    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