com.mongodb.MongoException: invalid operator: $**

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 ubiquitousthey
, 2 years ago
invalid parameter: expected an object ($elemMatch)
via hivmr.com by Unknown author, 1 year ago
Can't canonicalize query: BadValue unknown top level operator: $ne
via solutionscore.com by Unknown author, 2 years ago
invalid operator: $and
com.mongodb.MongoException: invalid operator: $**
at com.mongodb.MongoException.parse(MongoException.java:82)
at com.mongodb.DBApiLayer$MyCollection.__find(DBApiLayer.java:292)
at com.mongodb.DBApiLayer$MyCollection.__find(DBApiLayer.java:273)
at com.mongodb.DBCollection.findOne(DBCollection.java:728)
at com.mongodb.DBCollection.findOne(DBCollection.java:670)
at com.mongodb.DBApiLayer$MyCollection.createIndex(DBApiLayer.java:342)
at com.mongodb.DBCollection.createIndex(DBCollection.java:485)
at com.mongodb.DBCollection.ensureIndex(DBCollection.java:561)
at com.mongodb.DBCollection.ensureIndex(DBCollection.java:512)
at undefined.TestEnsureIndex.main(TestEnsureIndex.java:14)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

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