I am trying to put properties Map in a CBLite document but getting 
exception. Please answer me what should I do. For formatting reasons I have 
put this question on StackOverflow.

http://stackoverflow.com/questions/22679850/com-couchbase-lite-couchbaseliteexception-when-document-putpropertiesmap-is-ca


Map<String, Object> map = new HashMap<String, Object>();
map = (Map<String, Object>) gson.fromJson(json, map.getClass());
//map.put("_id", UUID.randomUUID().toString());

Document document = mDatabaseLocal.createDocument();
 try {
document.putProperties(map);
} catch (CouchbaseLiteException e) {
e.printStackTrace();
}

Exception:

com.couchbase.lite.CouchbaseLiteException


-- 
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/242eaf5a-b27e-4d04-b4ff-fd886e8d4a66%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to