org.bson.BsonSerializationException

Expected length to be 16, not 24.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web6

  • Expected length to be 16, not 24.
  • Expected length to be 16, not 24.
  • via GitHub by golf1052
    , 9 months ago
    Size -279948150 is not valid because it is negative.
  • Stack trace

    • org.bson.BsonSerializationException: Expected length to be 16, not 24. at org.bson.codecs.UuidCodec.decode(UuidCodec.java:100) at org.bson.codecs.UuidCodec.decode(UuidCodec.java:36) at org.bson.codecs.DocumentCodec.readValue(DocumentCodec.java:212) at org.bson.codecs.DocumentCodec.decode(DocumentCodec.java:141) at org.bson.codecs.DocumentCodec.decode(DocumentCodec.java:45) at org.bson.Document.parse(Document.java:105) at org.bson.Document.parse(Document.java:90)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.