BasicDBList not accepting double types anymore

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Cannot Reproduce
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.13.0
    • Component/s: Codecs
    • None
    • Environment:
      Windows 7 64bit, IntelliJ Idea
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      While moving through records with a cursor, when I retrieve a field that is an array e.g.
      "tags":[4.0] and it only contains a single double while doing "BasicDBList l = (BasicDBList) o.get("Tags"); " I get
      "Exception in thread "main" java.lang.ClassCastException: java.lang.Double cannot be cast to com.mongodb.BasicDBList"

      There was no such a problem with previous stable version.

            Assignee:
            Unassigned
            Reporter:
            Krzys
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: