java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to org.bson.conversions.Bson

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

    • java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to org.bson.conversions.Bson at com.mongodb.AggregateIterableImpl.createBsonDocumentList(AggregateIterableImpl.java:156) at com.mongodb.AggregateIterableImpl.execute(AggregateIterableImpl.java:126) at com.mongodb.AggregateIterableImpl.iterator(AggregateIterableImpl.java:102)
    No Bugmate found.