This is intermittent. Once I reset the simulator and started with new db 
from scratch the delete sequence works fine.

On Monday, December 22, 2014 5:40:08 PM UTC+1, Andrew wrote:
>
>
>
> I started seeing this error in CB Lite on iOS using Cordova plugin 1.0.2
>
> We are deleting a document by id and then trying to refetch the entire 
> list of documents fresh.
>
> 17:33:10.949‖ WARNING: CouchbaseLite: Failed to rebuild views 
> (research-views/documentsByLastModified, research-views/documentTemplates, 
> research-views/components, research-views/componentTemplates, 
> research-views/documents, research-views/composerOptions): 594
>
> 2014-12-22 17:33:10.949 Author[15867:5c03] *** ASSERTION FAILED: Cannot 
> reindex view 'research-views/documents' which has no map block set
>
> 2014-12-22 17:33:10.950 Author[15867:5c03] *** Assertion failure in 
> __51-[CBLDatabase(ViewIndexing) updateIndexes:forView:]_block_invoke(), 
> /Users/jenkins/jenkins/workspace/build_cblite_ios_103-enterprise/couchbase-lite-ios/Source/CBLView+Internal.m:265
>
> 2014-12-22 17:33:10.950 Author[15867:90b] ["View query 
> failed","documentTemplates",{"status":500,"error":"Internal error"}]
>
> 17:33:10.951‖ WARNING: Exception caught in CBLDatabase transaction:
>
> Assertion failed: Cannot reindex view 'research-views/documents' which has 
> no map block set
>
> 5   Author                              0x0005a559 
> __51-[CBLDatabase(ViewIndexing) updateIndexes:forView:]_block_invoke + 9304
>
> 6   Author                              0x0004e6f9 -[CBLDatabase(Internal) 
> _inTransaction:] + 175
>
> 7   Author                              0x00057f8e 
> -[CBLDatabase(ViewIndexing) updateIndexes:forView:] + 169
>
> 8   Author                              0x00057e4b -[CBLView(Internal) 
> updateIndex] + 98
>
> 9   Author                              0x001124d6 -[CBL_Router(Handlers) 
> queryDesignDoc:view:keys:] + 293
>
> 10  Author                              0x001129bd -[CBL_Router(Handlers) 
> do_GET:designDocID:view:] + 68
>
> 11  Author                              0x0010761a -[CBL_Router route] + 
> 1974
>
> 12  Author                              0x00107fbc -[CBL_Router run] + 960
>
> 13  Author                              0x00109525 __19-[CBL_Router 
> start]_block_invoke + 73
>
> 14  Author                              0x0005fa14 __34-[CBL_Server 
> tellDatabaseManager:]_block_invoke + 40
>
> 15  libobjc.A.dylib                     0x02d6f82b -[NSObject 
> performSelector:withObject:] + 70
>
> 16  Foundation                          0x01ebbe48 
> __NSThreadPerformPerform + 285
>
> 17  CoreFoundation                      0x002c177f 
> __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
>
> 18  CoreFoundation                      0x002c110b __CFRunLoopDoSources0 + 
> 235
>
> 19  CoreFoundation                      0x002de1ae __CFRunLoopRun + 910
>
> ...
>
>
>
> Any ideas what's going on ?
>
>
>
>

-- 
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/3dc9057e-6dc0-4ba7-8456-4620bd00105f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to