-
-
Notifications
You must be signed in to change notification settings - Fork 73
[Bug] : App Crashes while switching between 'Taste' and 'Playlists' tabs frequently on Profile Screen. #719
Description
listenbrainz_taste_playlist_switching_issue.mp4
Logs :
FATAL EXCEPTION: main
Process: org.listenbrainz.android.debug, PID: 6812
java.lang.IllegalArgumentException: Error: Uninitialized LayoutCoordinates. Please make sure when using the SharedTransitionScope composable function, the modifier passed to the child content is being used, or use SharedTransitionLayout instead.
at androidx.compose.animation.SharedTransitionScopeImpl.getRoot$animation(SharedTransitionScope.kt:1339)
at androidx.compose.animation.SharedBoundsNode.getRootCoords(SharedContentNode.kt:114)
at androidx.compose.animation.SharedBoundsNode.onDetach(SharedContentNode.kt:174)
at androidx.compose.ui.Modifier$Node.runDetachLifecycle$ui(Modifier.kt:281)
at androidx.compose.ui.node.NodeChain.runDetachLifecycle$ui(NodeChain.kt:350)
at androidx.compose.ui.node.NodeChain.resetState$ui(NodeChain.kt:216)
at androidx.compose.ui.node.LayoutNode.resetModifierState(LayoutNode.kt:988)
at androidx.compose.ui.node.LayoutNode.onDeactivate(LayoutNode.kt:1488)
at androidx.compose.runtime.internal.RememberEventDispatcher.dispatchRememberObservers(RememberEventDispatcher.kt:218)
at androidx.compose.runtime.CompositionImpl.deactivate(Composition.kt:1416)
at androidx.compose.ui.layout.LayoutNodeSubcompositionsState.reuseComposition(SubcomposeLayout.kt:1060)
at androidx.compose.ui.layout.LayoutNodeSubcompositionsState.markActiveNodesAsReused(SubcomposeLayout.kt:815)
at androidx.compose.ui.layout.LayoutNodeSubcompositionsState.onDeactivate(SubcomposeLayout.kt:576)
at androidx.compose.ui.node.LayoutNode.onDeactivate(LayoutNode.kt:1486)
at androidx.compose.runtime.internal.RememberEventDispatcher.dispatchRememberObservers(RememberEventDispatcher.kt:218)
at androidx.compose.runtime.CompositionImpl.deactivate(Composition.kt:1416)
at androidx.compose.ui.layout.LayoutNodeSubcompositionsState$deactivateOutOfFrame$1.invoke(SubcomposeLayout.kt:792)
at androidx.compose.ui.layout.LayoutNodeSubcompositionsState$deactivateOutOfFrame$1.invoke(SubcomposeLayout.kt:787)
at androidx.compose.ui.platform.AndroidComposeView.outOfFrameRunnable$lambda$0(AndroidComposeView.android.kt:324)
at androidx.compose.ui.platform.AndroidComposeView.$r8$lambda$TCv4mWygRVUo-fdfoGfRKe-TcqM(Unknown Source:0)
at androidx.compose.ui.platform.AndroidComposeView$$ExternalSyntheticLambda0.run(D8$$SyntheticClass:0)
at android.os.Handler.handleCallback(Handler.java:995)
at android.os.Handler.dispatchMessage(Handler.java:103)
at android.os.Looper.loopOnce(Looper.java:283)
at android.os.Looper.loop(Looper.java:392)
at android.app.ActivityThread.main(ActivityThread.java:9231)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:633)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1026)