java.lang.IllegalArgumentException: BasicBSONList can only work with numeric keys, not: [_id][info]

Google Groups | Kevin Meredith | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    When Inserting List[DBObject] - IllegalArgumentException: BasicBSONList can only work with numeric k

    Google Groups | 3 years ago | Kevin Meredith
    java.lang.IllegalArgumentException: BasicBSONList can only work with numeric keys, not: [_id][info]
  2. 0

    java.lang.IllegalArgumentException: BasicBSONList can only work with numeric keys, not: [_id]

    Stack Overflow | 3 years ago | Kevin Meredith
    java.lang.IllegalArgumentException: BasicBSONList can only work with numeric keys, not: [_id] EDIT Full stack trace [info] java.lang.IllegalArgumentException: BasicBSONList can only work with numeric keys, not: [_id]
  3. 0

    BasicBSONList can only work with numeric keys, not: [_id]

    Stack Overflow | 4 years ago | Kiran
    java.lang.IllegalArgumentException: BasicBSONList can only work with numeric keys, not: [_id]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    save and find json string in mongodb

    Stack Overflow | 4 years ago | Mike Dynamite
    java.lang.IllegalArgumentException: BasicBSONList can only work with numeric keys, not: [_id]
  6. 0

    Store multiple JSON documents (in row arrays format with nested JSON key-value objects) in MongoDB

    Stack Overflow | 3 years ago | user1264304
    java.lang.IllegalArgumentException: BasicBSONList can only work with numeric keys, not: [_id]

  1. poroszd 3 times, last 7 months ago
  2. rp 1 times, last 8 months ago
3 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. java.lang.IllegalArgumentException

    BasicBSONList can only work with numeric keys, not: [_id][info]

    at org.bson.types.BasicBSONList._getInt()
  2. MongoDB Java Driver
    DBCollection.insert
    1. org.bson.types.BasicBSONList._getInt(BasicBSONList.java:161)[info]
    2. org.bson.types.BasicBSONList._getInt(BasicBSONList.java:152)[info]
    3. org.bson.types.BasicBSONList.get(BasicBSONList.java:104)[info]
    4. com.mongodb.DBCollection.apply(DBCollection.java:767)[info]
    5. com.mongodb.DBCollection.apply(DBCollection.java:756)[info]
    6. com.mongodb.DBApiLayer$MyCollection.insert(DBApiLayer.java:220)[info]
    7. com.mongodb.DBApiLayer$MyCollection.insert(DBApiLayer.java:204)[info]
    8. com.mongodb.DBCollection.insert(DBCollection.java:76)[info]
    8 frames
  3. casbah-core
    MongoCollection.insert
    1. com.mongodb.casbah.MongoCollectionBase$class.insert(MongoCollection.scala:508)[info]
    2. com.mongodb.casbah.MongoCollection.insert(MongoCollection.scala:866)
    2 frames