You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
While testing your paging library I noticed this crash when refreshing page:
java.lang.IllegalStateException: Realm accessed from incorrect thread. in /tmp/realm-java/realm/realm-library/src/main/cpp/io_realm_internal_OsResults.cpp line 461
at io.realm.internal.OsResults.nativeIsValid(Native Method)
at io.realm.internal.OsResults.isValid(OsResults.java:700)
at io.realm.OrderedRealmCollectionImpl.isValid(OrderedRealmCollectionImpl.java:78)
at io.realm.RealmResults.isValid(RealmResults.java:71)
at dev.arunkumar.compass.paging.RealmTiledDataSource._init_$lambda-1(RealmTiledDataSource.kt:111)
at dev.arunkumar.compass.paging.RealmTiledDataSource.$r8$lambda$bRdLcJUylTJ0at1Xd1D1b6ya11s(Unknown Source:0)
at dev.arunkumar.compass.paging.RealmTiledDataSource$$ExternalSyntheticLambda0.onInvalidated(Unknown Source:2)
at androidx.paging.DataSource$invalidateCallbackTracker$1.invoke(DataSource.kt:103)
at androidx.paging.DataSource$invalidateCallbackTracker$1.invoke(DataSource.kt:103)
at androidx.paging.InvalidateCallbackTracker.invalidate$paging_common(InvalidateCallbackTracker.kt:89)
at androidx.paging.DataSource.invalidate(DataSource.kt:395)
at androidx.paging.LegacyPagingSource$2.invoke(LegacyPagingSource.kt:50)
at androidx.paging.LegacyPagingSource$2.invoke(LegacyPagingSource.kt:48)
at androidx.paging.PagingSource$invalidateCallbackTracker$1.invoke(PagingSource.kt:84)
at androidx.paging.PagingSource$invalidateCallbackTracker$1.invoke(PagingSource.kt:84)
at androidx.paging.InvalidateCallbackTracker.invalidate$paging_common(InvalidateCallbackTracker.kt:89)
at androidx.paging.PagingSource.invalidate(PagingSource.kt:336)
at androidx.paging.PageFetcher.generateNewPagingSource(PageFetcher.kt:204)
at androidx.paging.PageFetcher.access$generateNewPagingSource(PageFetcher.kt:31)
at androidx.paging.PageFetcher$generateNewPagingSource$1.invokeSuspend(Unknown Source:15)
(Coroutine boundary)
The text was updated successfully, but these errors were encountered:
ggajews
changed the title
Crash in paging when calling adaper#refresh
Crash in paging when calling adapter#refresh
Jan 12, 2022
Hi
While testing your paging library I noticed this crash when refreshing page:
The text was updated successfully, but these errors were encountered: