com.mongodb.MongoException: BSONElement: bad type 101

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

Solutions on the web

via JIRA by Jeff Yemin, 1 year ago
BSONElement: bad type 101
via JIRA by Jeff Yemin, 1 year ago
BSONElement: bad type 101
via GitHub by hoersten
, 2 years ago
unauthorized db:local ns:local.system.namespaces lock type:0 client:XXX.XXX.XXX.XXX
via JIRA by Randolph Tan, 1 year ago
unauthorized db:offerStore ns:offerStore.offer lock type:0 client:192.x.y.z
via JIRA by Randolph Tan, 1 year ago
unauthorized db:offerStore ns:offerStore.offer lock type:0 client:192.x.y.z
via dineshonjava.com by Unknown author, 2 years ago
unauthorized db:dineshonjavaDB lock type:-1 client:192.168.1.3
com.mongodb.MongoException: BSONElement: bad type 101
at com.mongodb.MongoException.parse(MongoException.java:82)
at com.mongodb.DBApiLayer$MyCollection.__find(DBApiLayer.java:293)
at com.mongodb.DBApiLayer$MyCollection.__find(DBApiLayer.java:274)
at com.mongodb.DBCollection.findOne(DBCollection.java:710)
at com.mongodb.DBCollection.findOne(DBCollection.java:652)
at undefined.CS4355.main(CS4355.java:39)

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.

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