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

Stack Overflow | AdolfoV | 4 months ago
  1. 0

    Translate new mongodb 3 aggregate java syntax to groovy

    Stack Overflow | 4 months ago | AdolfoV
    java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to org.bson.conversions.Bson
  2. 0

    MongoException while using ExtentXReporter on local mongodb instance

    GitHub | 3 months ago | srikanthvejendla
    java.lang.ClassCastException: org.bson.Document cannot be cast to org.bson.conversions.Bson
  3. 0

    Generics - ClassCastException while iterating a ArrayList

    Stack Overflow | 4 years ago | user1514499
    java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to com.common.form.Group
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Mule - java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to java.util.List

    Stack Overflow | 3 years ago | Balwant Chauhan
    java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to java.util.List
  6. 0

    getting ClassCastException when iterating parameter ArrayList received from put

    Stack Overflow | 3 years ago | igx
    java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to Foo

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

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

      at com.mongodb.AggregateIterableImpl.createBsonDocumentList()
    2. MongoDB Java Driver
      AggregateIterableImpl.iterator
      1. com.mongodb.AggregateIterableImpl.createBsonDocumentList(AggregateIterableImpl.java:156)
      2. com.mongodb.AggregateIterableImpl.execute(AggregateIterableImpl.java:126)
      3. com.mongodb.AggregateIterableImpl.iterator(AggregateIterableImpl.java:102)
      3 frames