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) #239

Open isax5 opened 2 years ago

isax5 commented 2 years ago

Version 4.2.6(1666954107)

Stacktrace

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

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

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

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

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

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

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

Reason

Realms.Exceptions.RealmInvalidObjectException: Attempted to access detached row

Link to App Center