2014-10-21 11:11:50.909 ShotBOT[34714:1730778] *** ASSERTION FAILED: Cannot reindex view 'jobs/cameraDefaultsForJob' which has no map block set
2014-10-21 11:11:50.910 ShotBOT[34714:1730778] *** Assertion failure in __51-[CBLDatabase(ViewIndexing) updateIndexes:forView:]_block_invoke(), /Users/jenkins/jenkins/workspace/build_cblite_ios_102-enterprise/couchbase-lite-ios/Source/CBLView+Internal.m:239
11:11:50.912‖ WARNING: Exception caught in CBLDatabase transaction:
Assertion failed: Cannot reindex view 'jobs/cameraDefaultsForJob' which has no map block set
5 ShotBOT 0x002212d4 __51-[CBLDatabase(ViewIndexing) updateIndexes:forView:]_block_invoke + 9235
6 ShotBOT 0x00215e90 -[CBLDatabase(Internal) _inTransaction:] + 166
7 ShotBOT 0x0021ed4e -[CBLDatabase(ViewIndexing) updateIndexes:forView:] + 169
8 ShotBOT 0x0021ec0b -[CBLView(Internal) updateIndex] + 98
9 ShotBOT 0x0025b9a1 -[CBLDatabase(Views) queryViewNamed:options:lastSequence:status:] + 164
10 ShotBOT 0x002590f7 __21-[CBLQuery runAsync:]_block_invoke + 151
11 ShotBOT 0x0022662a __35-[CBL_Server tellDatabaseNamed:to:]_block_invoke + 85
12 libobjc.A.dylib 0x03ed5771 -[NSObject performSelector:withObject:] + 70
13 Foundation 0x03ac2b70 __NSThreadPerformPerform + 330
14 CoreFoundation 0x041597bf __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
15 CoreFoundation 0x0414f2cd __CFRunLoopDoSources0 + 253
16 CoreFoundation 0x0414e828 __CFRunLoopRun + 952
17 CoreFoundation 0x0414e1ab CFRunLoopRunSpecific + 443
18 CoreFoundation 0x0414dfdb CFRunLoopRunInMode + 123
19 Foundation 0x03ac79e8 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 309
...
11:11:50.916‖ WARNING: CouchbaseLite: Failed to rebuild views (jobs/byDate, jobs/cameraDefaultsForJob): 594
11:11:50.917‖ WARNING: Failed to update view index: 594
Any ideas on what might be causing this?
Todd
On Oct 21, 2014, at 9:16 AM, Todd Freese <to...@filmworkers.com> wrote:I am getting the following error about no map block set. I confirmed that I do have it set. This is on iOS with CBL 1.0.2.
This just started happening.