java.lang.ClassCastException: com.mongodb.gridfs.GridFSDBFile cannot be cast to com.mongodb.casbah.gridfs.GridFSDBFileSafeJoda

Google Groups | Carlos Quiroz | 3 years ago
  1. 0

    GridFSDBFile sporadic ClassCastException

    Google Groups | 3 years ago | Carlos Quiroz
    java.lang.ClassCastException: com.mongodb.gridfs.GridFSDBFile cannot be cast to com.mongodb.casbah.gridfs.GridFSDBFileSafeJoda

    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

      com.mongodb.gridfs.GridFSDBFile cannot be cast to com.mongodb.casbah.gridfs.GridFSDBFileSafeJoda

      at com.mongodb.casbah.gridfs.GridFS.findOne()
    2. com.mongodb.casbah
      GridFS.findOne
      1. com.mongodb.casbah.gridfs.GridFS.findOne(GridFS.scala:215)
      1 frame