isax5 / Hymnal-Xamarin

New version of the adventist hymnal multi-platform and multi-language
18 stars 7 forks source link

Fix Realms.Exceptions.RealmInvalidObjectException: Attempted to access detached row in NativeException.ThrowIfNecessary (System.Func`2[T,TResult] overrider) #265

Open isax5 opened 1 year ago

isax5 commented 1 year ago

Version 4.2.7(1685698326)

Stacktrace

Realms.NativeException.ThrowIfNecessary (System.Func`2[T,TResult] overrider) [0x00011] in :0;Realms

Realms.ObjectHandle.GetValue (System.String propertyName, Realms.Metadata metadata, Realms.Realm realm) [0x00019] in :0;Realms

Realms.ManagedAccessor.GetValue (System.String propertyName) [0x00000] in :0;Realms

Realms.RealmObjectBase.GetValue (System.String propertyName) [0x00000] in :0;Realms

Hymnal.XF.Models.Realm.FavoriteHymn.get_SavedAt () [0x00008] in <7f5c9939323040349607145ba3774f24>:0;Hymnal.XF.Models.Realm

Hymnal.XF.ViewModels.FavoritesViewModel+<>c__DisplayClass14_2.b__4 (System.Tuple`2[T1,T2] t) [0x00006] in <7f5c9939323040349607145ba3774f24>:0;Hymnal.XF.ViewModels

Hymnal.XF.ViewModels.FavoritesViewModel.OnAppearing () [0x001a6] in <7f5c9939323040349607145ba3774f24>:0;Hymnal.XF.ViewModels

Reason

Realms.Exceptions.RealmInvalidObjectException: Attempted to access detached row

Link to App Center