I met such exception when I put a class with nested array objects
e.g.
Class A{
  B b[];
}
Class B{
  C c[];
}
Class C{
  xxx
}
*Error msg:*
com.couchbase.lite.CouchbaseLiteException
at com.couchbase.lite.Database.putRevision(Database.java:3578)
at com.couchbase.lite.Database.putRevision(Database.java:3421)
at com.couchbase.lite.Document.putProperties(Document.java:407)
at com.couchbase.lite.Document.putProperties(Document.java:250)

*line 3578 is:*
if(!oldRev.isDeleted()) {
json = encodeDocumentJSON(oldRev);
if(json == null) {
// bad or missing json
*throw new CouchbaseLiteException(Status.BAD_REQUEST);//3578*
}

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/50792759-4443-4415-9906-31afd54a6b42%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to