java.lang.ClassCastException: org.bson.types.Binary cannot be cast to [B

JIRA | alezozov | 6 years ago
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.bson.types.Binary cannot be cast to [B

      at com.mongodb.gridfs.GridFSDBFile.getChunk()
    2. MongoDB Java Driver
      1. com.mongodb.gridfs.GridFSDBFile.getChunk(
      2. com.mongodb.gridfs.GridFSDBFile.writeTo(
      2 frames