com.mongodb.WriteConcernException: Write failed with error code 16836 and error message 'Cannot apply $pull to a non-array value'

Stack Overflow | aarish | 1 month ago
  1. 0

    MangoDB pull query in java

    Stack Overflow | 1 month ago | aarish
    com.mongodb.WriteConcernException: Write failed with error code 16836 and error message 'Cannot apply $pull to a non-array value'
  2. 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}
  3. 0

    GitHub comment 365#209966986

    GitHub | 8 months ago | Davilink
    com.mongodb.WriteConcernException: Write failed with error code 16837 and error message 'cannot use the part (recipients of recipients.address) to traverse the element ({recipients: [ { address: "hij@example.com", name: "Bessie Theresa Harmon", _id: ObjectId('570fa6be9aea6dd83337d634') } ]})'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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'
  6. 0

    Update entity throws an exception WriteConcernException

    GitHub | 3 years ago | evgeny-konovalov
    com.mongodb.WriteConcernException: { "serverUsed" : "/127.0.0.1:27017" , "connectionId" : 297 , "err" : "The _id field cannot be changed from {_id: ObjectId('534e9a8be4b0e58534c1f139')} to {_id: \"534e9a8be4b0e58534c1f139\"}." , "code" : 16836 , "n" : 0 , "ok" : 1.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. com.mongodb.WriteConcernException

      Write failed with error code 16836 and error message 'Cannot apply $pull to a non-array value'

      at com.mongodb.operation.BaseWriteOperation.convertBulkWriteException()
    2. MongoDB Java Driver
      BaseWriteOperation.convertBulkWriteException
      1. com.mongodb.operation.BaseWriteOperation.convertBulkWriteException(BaseWriteOperation.java:239)
      1 frame