YapDatabase icon indicating copy to clipboard operation
YapDatabase copied to clipboard

Getting nil values from [[transaction extension: ] objectAtIndexPath: withMappings: ]

Open mdescalzo opened this issue 5 years ago • 0 comments

I'm getting my app into a state somehow where I begin to get nil values returned from [[transaction extension: ] objectAtIndexPath: withMappings: ] in a few different view controllers with different mappings and different collections. I've run it down to "YapCollectionKey *ck = [databaseTransaction collectionKeyForRowid:rowid];" in YapDatabaseViewTransaction returning nil for the collection key. I have yet to figure out how to reproduce the behavior at will. When it gets into the state, it stays that way.

I've also noticed when things get in the above state I will start to see messages about the database file being locked by another process and a few other sqlite errors. I apologize for not having the exact log entries. I had a bit a "rage event" with the last instance exhibiting the behavior. If/when I see it again, I'll post more precise information.

Any help anyone can provide in running this down would be appreciate.

mdescalzo avatar Mar 14 '19 15:03 mdescalzo