java.lang.IllegalArgumentException: fields stored in the db can't start with '$' (Bad Key: '$cglib_prop_propertyName')

Spring JIRA | Sathish Kumar Thiyagarajan | 3 years ago
  1. 0

    MongoDb: fields stored in the db can't start with '$'

    GitHub | 4 years ago | tiagoboldt
    java.lang.IllegalArgumentException: fields stored in the db can't start with '$' (Bad Key: '$outer')
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Problem Saving Pojo

    GitHub | 4 years ago | harrychan
    java.lang.IllegalArgumentException: 'ok' should never be null...
  4. 0

    Support for @Property for list of embedded objects [moved]

    GitHub | 4 years ago | jyemin
    java.lang.IllegalArgumentException: can't serialize class com.package.Foo

    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

      fields stored in the db can't start with '$' (Bad Key: '$cglib_prop_propertyName')

      at com.mongodb.DBCollection.validateKey()
    2. MongoDB Java Driver
      DBCollection.save
      1. com.mongodb.DBCollection.validateKey(DBCollection.java:1450)
      2. com.mongodb.DBCollection._checkKeys(DBCollection.java:1410)
      3. com.mongodb.DBCollection._checkObject(DBCollection.java:1397)
      4. com.mongodb.DBCollection.save(DBCollection.java:800)
      5. com.mongodb.DBCollection.save(DBCollection.java:786)
      5 frames