org.bson.BsonSerializationException: Expected length to be 16, not 24.

JIRA | Ross Lawley | 1 year ago
  1. 0

    GitHub comment 10#232997767

    GitHub | 5 months ago | golf1052
    org.bson.BsonSerializationException: Size -279948150 is not valid because it is negative.
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Pymongo-spark: BsonSerializationException about decoding a BSON string

    Stack Overflow | 5 months ago | ajayjain
    org.bson.BsonSerializationException: While decoding a BSON string found a size that is not a positive number: 0
  4. 0

    Mongo Access Store has a problem with big navajo messages

    GitHub | 4 months ago | flyaruu
    org.bson.BsonSerializationException: Size 52320612 is larger than MaxDocumentSize 16793600.

    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. org.bson.BsonSerializationException

      Expected length to be 16, not 24.

      at org.bson.codecs.UuidCodec.decode()
    2. MongoDB Java Driver
      Document.parse
      1. org.bson.codecs.UuidCodec.decode(UuidCodec.java:100)
      2. org.bson.codecs.UuidCodec.decode(UuidCodec.java:36)
      3. org.bson.codecs.DocumentCodec.readValue(DocumentCodec.java:212)
      4. org.bson.codecs.DocumentCodec.decode(DocumentCodec.java:141)
      5. org.bson.codecs.DocumentCodec.decode(DocumentCodec.java:45)
      6. org.bson.Document.parse(Document.java:105)
      7. org.bson.Document.parse(Document.java:90)
      7 frames