On May 20, 2014, at 6:50 PM, Pascal <[email protected]> wrote:

> Yes, this is what seems to be happening, I can't see it from the stack trace 
> but I think this is actually coming from a CBLModel that has been deleted, 
> and while the model instance is still around the document is gone. 

It's an error to use a CBLModel after it's been deleted, so make sure your app 
doesn't keep any dangling references to it.

To answer the other questions that came up: A document's ID is immutable, and 
it's not possible for a document to have a nil ID. If you're seeing 
document.documentID == nil, that implies that document==nil as well.

--Jens

-- 
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/5047DA15-D956-455A-A739-A89BD206B73D%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to