java.lang.ClassCastException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GridFSDBFile sporadic ClassCastException
    via by Carlos Quiroz,
    • java.lang.ClassCastException: com.mongodb.gridfs.GridFSDBFile cannot be cast to com.mongodb.casbah.gridfs.GridFSDBFileSafeJoda at com.mongodb.casbah.gridfs.GridFS.findOne(GridFS.scala:215)[casbah-gridfs_2.10-2.6.5.jar:2.6.5]
    No Bugmate found.