[JAVA-14] Serialization Exception on toString() Created: 06/Aug/09  Updated: 02/Oct/09  Resolved: 07/Aug/09

Status: Closed
Project: Java Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 0.8

Type: Bug Priority: Major - P3
Reporter: Ryan Nitz Assignee: Kristina Chodorow (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

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)



 Comments   
Comment by Kristina Chodorow (Inactive) [ 07/Aug/09 ]

Serialized as <Binary Data>

Generated at Thu Feb 08 08:51:20 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.