Weird Error just stated

33 views
Skip to first unread message

Todd Freese

unread,
Oct 21, 2014, 12:16:59 PM10/21/14
to mobile-c...@googlegroups.com
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.

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

Jens Alfke

unread,
Oct 21, 2014, 4:38:42 PM10/21/14
to mobile-c...@googlegroups.com

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. 

Sounds just like issue #438, which was reported about six weeks ago and hasn't been figured out. Could you add your report (with backtrace) there?

This just started happening.

Did you just upgrade CBL, or upgrade Xcode, or anything else that might have caused it?

I have some speculation but I'll post it on the bug report.

—Jens

Todd Freese

unread,
Oct 21, 2014, 6:05:19 PM10/21/14
to mobile-c...@googlegroups.com
If my memory serves me right, this started after upgrading to Xcode 6.

I will post a backtrace to the github issue tomorrow.

Thanks!

T
Reply all
Reply to author
Forward
0 new messages