Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Possible crash "Reading a state that was created after the snapshot was taken or in a snapshot that has not yet been applied" #1633

Closed
patrickunterwegs opened this issue Nov 17, 2024 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@patrickunterwegs
Copy link
Member

  at androidx.compose.runtime.snapshots.SnapshotKt.readError (Snapshot.kt:1929)
  at androidx.compose.runtime.snapshots.SnapshotKt.writableRecord (Snapshot.kt:2061)
  at androidx.compose.runtime.snapshots.SnapshotKt.writable (Snapshot.kt:2179)
  at androidx.compose.runtime.snapshots.SnapshotStateList.clear (SnapshotStateList.kt:113)
  at at.techbee.jtx.ui.detail.DetailViewModel$load$1$2.invokeSuspend (DetailViewModel.kt:136)
  at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith (ContinuationImpl.kt:33)
  at kotlinx.coroutines.CoroutineContextKt.withContinuationContext (CoroutineContext.kt:104)
  at kotlinx.coroutines.DispatchedTask.run (DispatchedTask.kt:86)
  at kotlinx.coroutines.DispatchedTask.run (DispatchedTask.kt:104)
  at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run (LimitedDispatcher.kt:111)
  at kotlinx.coroutines.scheduling.TaskImpl.run (Tasks.kt:99)
  at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely (CoroutineScheduler.kt:584)
  at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask (CoroutineScheduler.kt:811)
  at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker (CoroutineScheduler.kt:715)
  at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run (CoroutineScheduler.kt:702)```
@patrickunterwegs patrickunterwegs added the bug Something isn't working label Nov 17, 2024
@patrickunterwegs patrickunterwegs added this to the 2.9.3 milestone Nov 17, 2024
@patrickunterwegs patrickunterwegs self-assigned this Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant