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

Google Groups | Carlos Quiroz | 3 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  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:214)
      1 frame