My app is crashing whenever the datasource is updated with new data
automatically in the background.
I am using a LiveQuery
database = [Utility databaseNamed:[NSString
stringWithFormat:@"%@",LISTINGSDB]];
NSAssert(_datasource, @"_dataSource not connected");
_datasource.query = [Listing
queryListingsInDatabase:database].asLiveQuery;
This is the error message -
*** Terminating app due to uncaught exception 'NSInvalidArgumentException',
reason: '*** -[__NSPlaceholderArray initWithObjects:count:]: attempt to
insert nil object from objects[0]'
Am I doing something wrong here?
--
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/6e5a6933-c2e6-4366-89d3-ccc7059f029a%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.