> On Jan 7, 2015, at 11:42 PM, Christoph Berlin <[email protected]> 
> wrote:
> 
> Yes we do and like I said it worked flawlessly during 15 QA cycles with 
> thousands of messages sent. On three occasions this happened.

You must have said that in an earlier thread? It's hard for me to keep track of 
everyone's name on this forum and what projects they're working on, so it's 
better if you put context like that at the beginning of each thread where it's 
relevant.

Looking at the logs again, those are two very different exceptions.

The first one means that you haven't registered a map block for that view yet. 
Since the exception is occurring on a background thread (the one that's doing 
the async view query for you) I suspect this is a race condition. You may be 
triggering an async view query, either directly or via a LiveQuery, shortly 
before registering your map block, and it just happens to work most of the time 
because of the delay before the background thread gets around to querying.

The second exception is because you passed a nil document to +[CBLModel 
modelForDocument:]. Since I don't have the source of your method 
+[OPChatMessage messageWithChatRoomId:withText:] that did this, I don't know 
what the problem might be. You'll need to inspect your code, or set a 
breakpoint on exceptions and reproduce the problem.

—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/F9CC077C-B713-4DBF-9458-142AEF31E907%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to