java.lang.IllegalArgumentException: Document field names can't have a . in them. (Bad Key: 'dimensionArray.$.v')

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by Gottexbrokerssa
, 11 months ago
fields stored in the db can't have . in them. (Bad Key: '_id.ticker')
via GitHub by Gottexbrokerssa
, 2 years ago
fields stored in the db can't have . in them. (Bad Key: '_id.ticker')
java.lang.IllegalArgumentException: Document field names can't have a . in them. (Bad Key: 'dimensionArray.$.v')
at com.mongodb.DBCollection.validateKey(DBCollection.java:1843)
at com.mongodb.DBCollection._checkKeys(DBCollection.java:1803)
at com.mongodb.DBCollection._checkObject(DBCollection.java:1790)
at com.mongodb.DBCollectionImpl.update(DBCollectionImpl.java:256)
at com.mongodb.DBCollection.update(DBCollection.java:191)
at com.mongodb.DBCollection.update(DBCollection.java:224)

Users with the same issue

Samebug visitor profile picture
Unknown user
3 times, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.