org.bson.BsonSerializationException: Detected unknown BSON type "\x55" for fieldname "". Are you using the latest driver version?

GitHub | golf1052 | 8 months 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

    Find using Java 8 time on collection fails with BsonSerializationExecption

    GitHub | 8 months ago | golf1052
    org.bson.BsonSerializationException: Detected unknown BSON type "\x55" for fieldname "". Are you using the latest driver version?
  2. 0

    GitHub comment 10#232997767

    GitHub | 7 months ago | golf1052
    org.bson.BsonSerializationException: Size -279948150 is not valid because it is negative.

    Root Cause Analysis

    1. org.bson.BsonSerializationException

      Detected unknown BSON type "\x55" for fieldname "". Are you using the latest driver version?

      at org.bson.BsonBinaryReader.readBsonType()
    2. MongoDB Java Driver
      RawBsonDocumentCodec.encode
      1. org.bson.BsonBinaryReader.readBsonType(BsonBinaryReader.java:94)
      2. org.bson.AbstractBsonWriter.pipeDocument(AbstractBsonWriter.java:698)
      3. org.bson.AbstractBsonWriter.pipe(AbstractBsonWriter.java:692)
      4. org.bson.codecs.RawBsonDocumentCodec.encode(RawBsonDocumentCodec.java:49)
      5. org.bson.codecs.RawBsonDocumentCodec.encode(RawBsonDocumentCodec.java:37)
      5 frames