Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2030

GridFS causes java.lang.ClassCastException

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.1, 3.2.0
    • Affects Version/s: 3.1.0
    • Component/s: GridFS

      The line https://github.com/mongodb/mongo-java-driver/blob/169aa0c5db4387874b62005672ebdf529e9905c9/driver/src/main/com/mongodb/client/gridfs/GridFSFindIterableImpl.java#L125 causes the exception java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long on Android

            Assignee:
            ross@mongodb.com Ross Lawley
            Reporter:
            leisim Simon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: