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

Serialization Exception on toString()

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 0.8
    • Affects Version/s: None
    • Component/s: None
    • None

      What is the solution to this? Should you just remove the binary fields? Should you include the binary field name and something to indicate it is binary?

      Caused by: java.lang.RuntimeException: can't serialize type : class [B
      at com.mongodb.util.JSON.serialize(JSON.java:130)
      at com.mongodb.util.JSON.serialize(JSON.java:109)
      at com.mongodb.util.JSON.serialize(JSON.java:33)
      at com.mongodb.BasicDBObject.toString(BasicDBObject.java:192)

            Assignee:
            kristina Kristina Chodorow (Inactive)
            Reporter:
            rn@deftlabs.com Ryan Nitz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: