Hi,

Currently, based on the number of files, we will detach separate thread 
with separate database pointer (using cblmanager copy) for file 
parsing.That is working fine.But the app is crashing when we try to use the 
same model, for UI loading  and for parsing and saving models at the same 
time but using different threads and pointers only.

Exception we got,
 <Error>: *** Terminating app due to uncaught exception 
'NSInternalInconsistencyException', reason: 'Document already has a model'

What could be the issue, we are using the different pointers only and 
accessing the model using that pointer only?
Parsing also takes sometime.For 5 jsons files,each of size 700kb to 1Mb 
takes 5 to 10 seconds.


Our requirement is to perform UI operation at the same time of 
parsing.Please help us to resolve this issue. Thanks in advance.

-- 
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/686f5008-e4ed-4e59-a637-02550b664c9d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to