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 GitHub by srikanthvejendla
, 1 year ago
org.bson.Document cannot be cast to org.bson.conversions.Bson
java.lang.ClassCastException: org.bson.Document cannot be cast to org.bson.conversions.Bson	at com.mongodb.FindIterableImpl.(	at com.mongodb.MongoCollectionImpl.find(	at com.mongodb.MongoCollectionImpl.find(	at com.relevantcodes.extentreports.reporter.ExtentXReporter.setupProject(	at com.relevantcodes.extentreports.reporter.ExtentXReporter.start(	at com.relevantcodes.extentreports.Report.attach(	at java.util.Spliterators$ArraySpliterator.forEachRemaining(	at$Head.forEach(	at com.relevantcodes.extentreports.ExtentReports.attachReporter(	at