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

GridFS causes java.lang.ClassCastException

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.1.1, 3.2.0
    • Component/s: GridFS
    • Labels:
    • Sprint:
      Java Sprint 28

      Description

      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

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: