org.bson.BsonSerializationException: Size 52320612 is larger than MaxDocumentSize 16793600.

GitHub | flyaruu | 4 months ago
  1. 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.
  2. 0

    Hygieia Hudson/Jenkins Collector Breaks due to MongoDB BSON Document Size Restrictions

    GitHub | 2 weeks ago | hackeys
    org.bson.BsonSerializationException: Size 18446453 is larger than MaxDocumentSize 16793600.
  3. 0

    GitHub comment 10#232997767

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

    Automated exception search integrated into your IDE

  5. 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

    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

      Size 52320612 is larger than MaxDocumentSize 16793600.

      at org.bson.BsonBinaryWriter.backpatchSize()
    2. MongoDB Java Driver
      AbstractBsonWriter.writeEndArray
      1. org.bson.BsonBinaryWriter.backpatchSize(BsonBinaryWriter.java:367)
      2. org.bson.BsonBinaryWriter.doWriteEndArray(BsonBinaryWriter.java:142)
      3. org.bson.AbstractBsonWriter.writeEndArray(AbstractBsonWriter.java:338)
      3 frames
    3. com.dexels.navajo
      MessageCodec.encode
      1. com.dexels.navajo.mongo.document.MessageCodec.encode(MessageCodec.java:78)
      2. com.dexels.navajo.mongo.document.MessageCodec.encode(MessageCodec.java:1)
      2 frames
    4. MongoDB Java Driver
      MongoCollectionImpl.insertMany
      1. org.bson.codecs.EncoderContext.encodeWithChildContext(EncoderContext.java:91)
      2. org.bson.codecs.DocumentCodec.writeValue(DocumentCodec.java:175)
      3. org.bson.codecs.DocumentCodec.writeMap(DocumentCodec.java:189)
      4. org.bson.codecs.DocumentCodec.writeValue(DocumentCodec.java:172)
      5. org.bson.codecs.DocumentCodec.writeMap(DocumentCodec.java:189)
      6. org.bson.codecs.DocumentCodec.encode(DocumentCodec.java:131)
      7. org.bson.codecs.DocumentCodec.encode(DocumentCodec.java:45)
      8. org.bson.codecs.BsonDocumentWrapperCodec.encode(BsonDocumentWrapperCodec.java:63)
      9. org.bson.codecs.BsonDocumentWrapperCodec.encode(BsonDocumentWrapperCodec.java:29)
      10. com.mongodb.connection.InsertCommandMessage.writeTheWrites(InsertCommandMessage.java:101)
      11. com.mongodb.connection.InsertCommandMessage.writeTheWrites(InsertCommandMessage.java:43)
      12. com.mongodb.connection.BaseWriteCommandMessage.encodeMessageBodyWithMetadata(BaseWriteCommandMessage.java:129)
      13. com.mongodb.connection.RequestMessage.encodeWithMetadata(RequestMessage.java:160)
      14. com.mongodb.connection.WriteCommandProtocol.sendMessage(WriteCommandProtocol.java:220)
      15. com.mongodb.connection.WriteCommandProtocol.execute(WriteCommandProtocol.java:101)
      16. com.mongodb.connection.InsertCommandProtocol.execute(InsertCommandProtocol.java:67)
      17. com.mongodb.connection.InsertCommandProtocol.execute(InsertCommandProtocol.java:37)
      18. com.mongodb.connection.DefaultServer$DefaultServerProtocolExecutor.execute(DefaultServer.java:168)
      19. com.mongodb.connection.DefaultServerConnection.executeProtocol(DefaultServerConnection.java:289)
      20. com.mongodb.connection.DefaultServerConnection.insertCommand(DefaultServerConnection.java:118)
      21. com.mongodb.operation.MixedBulkWriteOperation$Run$2.executeWriteCommandProtocol(MixedBulkWriteOperation.java:456)
      22. com.mongodb.operation.MixedBulkWriteOperation$Run$RunExecutor.execute(MixedBulkWriteOperation.java:647)
      23. com.mongodb.operation.MixedBulkWriteOperation$Run.execute(MixedBulkWriteOperation.java:402)
      24. com.mongodb.operation.MixedBulkWriteOperation$1.call(MixedBulkWriteOperation.java:180)
      25. com.mongodb.operation.MixedBulkWriteOperation$1.call(MixedBulkWriteOperation.java:169)
      26. com.mongodb.operation.OperationHelper.withConnectionSource(OperationHelper.java:232)
      27. com.mongodb.operation.OperationHelper.withConnection(OperationHelper.java:223)
      28. com.mongodb.operation.MixedBulkWriteOperation.execute(MixedBulkWriteOperation.java:169)
      29. com.mongodb.operation.MixedBulkWriteOperation.execute(MixedBulkWriteOperation.java:75)
      30. com.mongodb.Mongo.execute(Mongo.java:827)
      31. com.mongodb.Mongo$2.execute(Mongo.java:810)
      32. com.mongodb.MongoCollectionImpl.insertMany(MongoCollectionImpl.java:323)
      33. com.mongodb.MongoCollectionImpl.insertMany(MongoCollectionImpl.java:311)
      33 frames
    5. com.dexels.navajo
      GenericThread.run
      1. com.dexels.navajo.mongo.accessstore.MongoStore.storeAccess(MongoStore.java:308)
      2. com.dexels.navajo.server.statistics.StatisticsRunner.worker(StatisticsRunner.java:224)
      3. com.dexels.navajo.server.GenericThread.run(GenericThread.java:129)
      3 frames
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame