com.mongodb.MongoException$DuplicateKey: { "serverUsed" : "localhost/127.0.0.1:27017" , "connectionId" : 415 , "err" : "insertDocument :: caused by :: 11000 E11000 duplicate key error index: sbtest.sbtest6.$_id_ dup key: { : 1 }" , "code" : 11000 , "n" : 0 , "ok" : 1.0}

Google Groups | 彪 杨 | 3 years ago
  1. 0

    run sysbench-mongodb error

    Google Groups | 3 years ago | 彪 杨
    com.mongodb.MongoException$DuplicateKey: { "serverUsed" : "localhost/127.0.0.1:27017" , "connectionId" : 415 , "err" : "insertDocument :: caused by :: 11000 E11000 duplicate key error index: sbtest.sbtest6.$_id_ dup key: { : 1 }" , "code" : 11000 , "n" : 0 , "ok" : 1.0}
  2. 0

    Getting error when trying to bulk insert using MongoCollection.insert(...)

    Google Groups | 3 years ago | geekinasuit
    com.mongodb.MongoException$DuplicateKey: { >> "serverUsed" : "localhost:27017" , "err" : "E11000 duplicate key error >> index: forecast.instruments.$_id_ dup key: { : ObjectId('52a7bc25300455469383965a') >> }" , "code" : 11000 , "n" : 0 , "connectionId" : 45 , "ok" : 1.0}
  3. 0

    run sysbench-mongodb error

    Google Groups | 3 years ago | 彪 杨
    com.mongodb.MongoException$DuplicateKey: { "serverUsed" : "localhost/ 127.0.0.1:27017" , "connectionId" : 415 , "err" : "insertDocument :: caused by :: 11000 E11000 duplicate key error index: sbtest.sbtest6.$_id_ dup key: { : 1 }" , "code" : 11000 , "n" : 0 , "ok" : 1.0}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    run sysbench-mongodb error

    Google Groups | 3 years ago | 彪 杨
    com.mongodb.MongoException$DuplicateKey: { "serverUsed" : "localhost/127.0.0.1:27017" , "connectionId" : 410 , "err" : "insertDocument :: caused by :: 11000 E11000 duplicate key error index: sbtest.sbtest3.$_id_ dup key: { : 1 }" , "code" : 11000 , "n" : 0 , "ok" : 1.0}
  6. 0

    run sysbench-mongodb error

    Google Groups | 3 years ago | 彪 杨
    com.mongodb.MongoException$DuplicateKey: { "serverUsed" : "localhost/127.0.0.1:27017" , "connectionId" : 411 , "err" : "insertDocument :: caused by :: 11000 E11000 duplicate key error index: sbtest.sbtest5.$_id_ dup key: { : 1 }" , "code" : 11000 , "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.MongoException$DuplicateKey

      { "serverUsed" : "localhost/127.0.0.1:27017" , "connectionId" : 415 , "err" : "insertDocument :: caused by :: 11000 E11000 duplicate key error index: sbtest.sbtest6.$_id_ dup key: { : 1 }" , "code" : 11000 , "n" : 0 , "ok" : 1.0}

      at com.mongodb.CommandResult.getException()
    2. MongoDB Java Driver
      DBTCPConnector.say
      1. com.mongodb.CommandResult.getException(CommandResult.java:74)
      2. com.mongodb.CommandResult.throwOnError(CommandResult.java:110)
      3. com.mongodb.DBTCPConnector._checkWriteError(DBTCPConnector.java:102)
      4. com.mongodb.DBTCPConnector.say(DBTCPConnector.java:142)
      5. com.mongodb.DBTCPConnector.say(DBTCPConnector.java:115)
      5 frames