com.mongodb.WriteConcernException: Write failed with error code 8 and error message 'assertion src/mongo/db/storage/mmap_v1/extent.h:81'

  1. 0

    Issue in data insertion mongodb error

    Stack Overflow | 5 months ago | kiranramannaiyer
    com.mongodb.WriteConcernException: Write failed with error code 8 and error message 'assertion src/mongo/db/storage/mmap_v1/extent.h:81'
  2. 0

    MongoDB+Azure+Android: com.mongodb.WriteConcernException err: "not master" code: "10058"

    Stack Overflow | 3 years ago | Anonsage
    com.mongodb.WriteConcernException: { "serverUsed" : "/<my-remote-ip>:27017" , "err" : "not master" , "code" : 10058 , "n" : 0 , "lastOp" : { "$ts" : 0 , "$inc" : 0} , "connectionId" : 1918 , "ok" : 1.0}
  3. 0

    Error Handling with Spring Data and Mongo Java Driver

    Stack Overflow | 3 years ago | skelly
    com.mongodb.WriteConcernException: { \"serverUsed\" : \"localhost/127.0.0.1:27017\" , \"n\" : 0 , \"connectionId\" : 20 , \"wnote\" : \"no replication has been enabled, so w=\\\"ACKNOWLEDGED\\\" won't work\" , \"err\" : \"norepl\" , \"ok\" : 1.0} \n\tat com.mongodb.CommandResult.getException(CommandResult.java:77)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Type assumption causes Cast Exception upon mongo session persistence

    Eclipse Bugzilla | 4 years ago | mihovilic
    com.mongodb.WriteConcernException: { "serverUsed" : "test-l/10.0.25.104:27017" , "err" : "have conflicting mods in update" , "code" : 10151 , "n" : 0 , "lastOp" : { "$ts" : 1366803822 , "$inc" : 3} , "connectionId" : 117201 , "ok" : 1.0}
  6. 0

    Unifi NVR causes troubles all the time - Ubiquiti Networks Community

    ubnt.com | 8 months ago
    com.ubnt.airvision.service.recording.C: com.mongodb.WriteConcernException: { "serverUsed" : "localhost/127.0.0.1:7441" , "connectionId" : 5 , "err" : "insertDocument :: caused by :: 0 assertion src/mongo/db/structure/btree/key.cpp:597" , "code" : 8 , "n" : 0 , "ok" : 1.0}

  1. rp 1 times, last 5 months ago
1 unregistered visitors
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. com.mongodb.WriteConcernException

    Write failed with error code 8 and error message 'assertion src/mongo/db/storage/mmap_v1/extent.h:81'

    at com.mongodb.operation.BaseWriteOperation.convertBulkWriteException()
  2. MongoDB Java Driver
    DBCollection.insert
    1. com.mongodb.operation.BaseWriteOperation.convertBulkWriteException(BaseWriteOperation.java:239)
    2. com.mongodb.operation.BaseWriteOperation.access$300(BaseWriteOperation.java:60)
    3. com.mongodb.operation.BaseWriteOperation$1.call(BaseWriteOperation.java:146)
    4. com.mongodb.operation.BaseWriteOperation$1.call(BaseWriteOperation.java:133)
    5. com.mongodb.operation.OperationHelper.withConnectionSource(OperationHelper.java:230)
    6. com.mongodb.operation.OperationHelper.withConnection(OperationHelper.java:221)
    7. com.mongodb.operation.BaseWriteOperation.execute(BaseWriteOperation.java:133)
    8. com.mongodb.operation.BaseWriteOperation.execute(BaseWriteOperation.java:60)
    9. com.mongodb.Mongo.execute(Mongo.java:782)
    10. com.mongodb.Mongo$2.execute(Mongo.java:765)
    11. com.mongodb.DBCollection.executeWriteOperation(DBCollection.java:333)
    12. com.mongodb.DBCollection.insert(DBCollection.java:328)
    13. com.mongodb.DBCollection.insert(DBCollection.java:319)
    14. com.mongodb.DBCollection.insert(DBCollection.java:289)
    15. com.mongodb.DBCollection.insert(DBCollection.java:255)
    16. com.mongodb.DBCollection.insert(DBCollection.java:192)
    16 frames