android / nowinandroid

A fully functional Android app built entirely with Kotlin and Jetpack Compose
Apache License 2.0
16.79k stars 3.05k forks source link

[Bug]: App crash while scrolling the Interest category list #1371

Open tudang88 opened 6 months ago

tudang88 commented 6 months ago

Is there an existing issue for this?

Is there a StackOverflow question about this issue?

What happened?

I used the nowinandroid demo version on a Tablet run Android 11 (Nec lavie T11). I faced the below issue on the Interests screen. The app crashes while scrolling on List the Interests screen. I have attached the log file for anyone interested. Thank you. now_in_android_crash.log

Relevant logcat output

04-12 19:50:40.564 19191 19191 E FirebaseCrashlytics: Cannot send reports. Timed out while fetching settings.
04-12 19:50:40.567 19191 19191 E AndroidRuntime: FATAL EXCEPTION: main
04-12 19:50:40.567 19191 19191 E AndroidRuntime: Process: com.google.samples.apps.nowinandroid.demo.debug, PID: 19191
04-12 19:50:40.567 19191 19191 E AndroidRuntime: java.lang.IllegalArgumentException: Error: Placement happened before lookahead.
04-12 19:50:40.567 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate.placeAt-f8xVGno(LayoutNodeLayoutDelegate.kt:719)
04-12 19:50:40.567 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.Placeable.access$placeAt-f8xVGno(Placeable.kt:33)
04-12 19:50:40.567 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.Placeable$PlacementScope.place-70tqf50(Placeable.kt:428)
04-12 19:50:40.567 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.Placeable$PlacementScope.place-70tqf50$default(Placeable.kt:230)
04-12 19:50:40.567 19191 19191 E AndroidRuntime:    at androidx.compose.foundation.layout.BoxKt.placeInBox(Box.kt:194)
04-12 19:50:40.567 19191 19191 E AndroidRuntime:    at androidx.compose.foundation.layout.BoxKt.access$placeInBox(Box.kt:1)
04-12 19:50:40.567 19191 19191 E AndroidRuntime:    at androidx.compose.foundation.layout.BoxMeasurePolicy$measure$5.invoke(Box.kt:174)
04-12 19:50:40.567 19191 19191 E AndroidRuntime:    at androidx.compose.foundation.layout.BoxMeasurePolicy$measure$5.invoke(Box.kt:170)
04-12 19:50:40.567 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LookaheadCapablePlaceable$layout$1.placeChildren(LookaheadDelegate.kt:107)
04-12 19:50:40.567 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate$layoutChildrenBlock$1.invoke(LayoutNodeLayoutDelegate.kt:365)
04-12 19:50:40.567 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate$layoutChildrenBlock$1.invoke(LayoutNodeLayoutDelegate.kt:360)
04-12 19:50:40.567 19191 19191 E AndroidRuntime:    at androidx.compose.runtime.snapshots.Snapshot$Companion.observe(Snapshot.kt:2303)
04-12 19:50:40.567 19191 19191 E AndroidRuntime:    at androidx.compose.runtime.snapshots.SnapshotStateObserver$ObservedScopeMap.observe(SnapshotStateObserver.kt:500)
04-12 19:50:40.567 19191 19191 E AndroidRuntime:    at androidx.compose.runtime.snapshots.SnapshotStateObserver.observeReads(SnapshotStateObserver.kt:256)
04-12 19:50:40.567 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.OwnerSnapshotObserver.observeReads$ui_release(OwnerSnapshotObserver.kt:133)
04-12 19:50:40.567 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.OwnerSnapshotObserver.observeLayoutSnapshotReads$ui_release(OwnerSnapshotObserver.kt:83)
04-12 19:50:40.567 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate.layoutChildren(LayoutNodeLayoutDelegate.kt:393)
04-12 19:50:40.567 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate.onNodePlaced$ui_release(LayoutNodeLayoutDelegate.kt:551)
04-12 19:50:40.567 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.InnerNodeCoordinator.placeAt-f8xVGno(InnerNodeCoordinator.kt:160)
04-12 19:50:40.567 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.Placeable.access$placeAt-f8xVGno(Placeable.kt:33)
04-12 19:50:40.567 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.Placeable$PlacementScope.placeRelative(Placeable.kt:417)
04-12 19:50:40.567 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.Placeable$PlacementScope.placeRelative$default(Placeable.kt:203)
04-12 19:50:40.567 19191 19191 E AndroidRuntime:    at androidx.compose.foundation.layout.SizeNode$measure$1.invoke(Size.kt:840)
04-12 19:50:40.567 19191 19191 E AndroidRuntime:    at androidx.compose.foundation.layout.SizeNode$measure$1.invoke(Size.kt:839)
04-12 19:50:40.567 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LookaheadCapablePlaceable$layout$1.placeChildren(LookaheadDelegate.kt:107)
04-12 19:50:40.567 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutModifierNodeCoordinator.placeAt-f8xVGno(LayoutModifierNodeCoordinator.kt:167)
04-12 19:50:40.567 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.Placeable.access$placeAt-f8xVGno(Placeable.kt:33)
04-12 19:50:40.567 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.Placeable$PlacementScope.place-70tqf50(Placeable.kt:428)
04-12 19:50:40.567 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate$placeOuterCoordinatorBlock$1.invoke(LayoutNodeLayoutDelegate.kt:489)
04-12 19:50:40.567 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate$placeOuterCoordinatorBlock$1.invoke(LayoutNodeLayoutDelegate.kt:483)
04-12 19:50:40.567 19191 19191 E AndroidRuntime:    at androidx.compose.runtime.snapshots.Snapshot$Companion.observe(Snapshot.kt:2303)
04-12 19:50:40.567 19191 19191 E AndroidRuntime:    at androidx.compose.runtime.snapshots.SnapshotStateObserver$ObservedScopeMap.observe(SnapshotStateObserver.kt:500)
04-12 19:50:40.567 19191 19191 E AndroidRuntime:    at androidx.compose.runtime.snapshots.SnapshotStateObserver.observeReads(SnapshotStateObserver.kt:256)
04-12 19:50:40.567 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.OwnerSnapshotObserver.observeReads$ui_release(OwnerSnapshotObserver.kt:133)
04-12 19:50:40.567 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.OwnerSnapshotObserver.observeLayoutModifierSnapshotReads$ui_release(OwnerSnapshotObserver.kt:98)
04-12 19:50:40.567 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate.placeOuterCoordinator-f8xVGno(LayoutNodeLayoutDelegate.kt:753)
04-12 19:50:40.567 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate.placeAt-f8xVGno(LayoutNodeLayoutDelegate.kt:724)
04-12 19:50:40.569 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.Placeable.access$placeAt-f8xVGno(Placeable.kt:33)
04-12 19:50:40.569 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.Placeable$PlacementScope.place-70tqf50(Placeable.kt:428)
04-12 19:50:40.569 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.Placeable$PlacementScope.place-70tqf50$default(Placeable.kt:230)
04-12 19:50:40.569 19191 19191 E AndroidRuntime:    at androidx.compose.foundation.layout.BoxKt.placeInBox(Box.kt:194)
04-12 19:50:40.569 19191 19191 E AndroidRuntime:    at androidx.compose.foundation.layout.BoxKt.access$placeInBox(Box.kt:1)
04-12 19:50:40.569 19191 19191 E AndroidRuntime:    at androidx.compose.foundation.layout.BoxMeasurePolicy$measure$2.invoke(Box.kt:133)
04-12 19:50:40.569 19191 19191 E AndroidRuntime:    at androidx.compose.foundation.layout.BoxMeasurePolicy$measure$2.invoke(Box.kt:132)
04-12 19:50:40.569 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LookaheadCapablePlaceable$layout$1.placeChildren(LookaheadDelegate.kt:107)
04-12 19:50:40.569 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate$layoutChildrenBlock$1.invoke(LayoutNodeLayoutDelegate.kt:365)
04-12 19:50:40.569 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate$layoutChildrenBlock$1.invoke(LayoutNodeLayoutDelegate.kt:360)
04-12 19:50:40.569 19191 19191 E AndroidRuntime:    at androidx.compose.runtime.snapshots.Snapshot$Companion.observe(Snapshot.kt:2303)
04-12 19:50:40.569 19191 19191 E AndroidRuntime:    at androidx.compose.runtime.snapshots.SnapshotStateObserver$ObservedScopeMap.observe(SnapshotStateObserver.kt:500)
04-12 19:50:40.569 19191 19191 E AndroidRuntime:    at androidx.compose.runtime.snapshots.SnapshotStateObserver.observeReads(SnapshotStateObserver.kt:256)
04-12 19:50:40.569 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.OwnerSnapshotObserver.observeReads$ui_release(OwnerSnapshotObserver.kt:133)
04-12 19:50:40.569 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.OwnerSnapshotObserver.observeLayoutSnapshotReads$ui_release(OwnerSnapshotObserver.kt:83)
04-12 19:50:40.569 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate.layoutChildren(LayoutNodeLayoutDelegate.kt:393)
04-12 19:50:40.569 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate.onNodePlaced$ui_release(LayoutNodeLayoutDelegate.kt:551)
04-12 19:50:40.569 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.InnerNodeCoordinator.placeAt-f8xVGno(InnerNodeCoordinator.kt:160)
04-12 19:50:40.569 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.Placeable.access$placeAt-f8xVGno(Placeable.kt:33)
04-12 19:50:40.569 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.Placeable$PlacementScope.placeRelative(Placeable.kt:417)
04-12 19:50:40.569 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.Placeable$PlacementScope.placeRelative$default(Placeable.kt:203)
04-12 19:50:40.569 19191 19191 E AndroidRuntime:    at androidx.compose.foundation.layout.PaddingNode$measure$1.invoke(Padding.kt:403)
04-12 19:50:40.569 19191 19191 E AndroidRuntime:    at androidx.compose.foundation.layout.PaddingNode$measure$1.invoke(Padding.kt:401)
04-12 19:50:40.569 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LookaheadCapablePlaceable$layout$1.placeChildren(LookaheadDelegate.kt:107)
04-12 19:50:40.569 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutModifierNodeCoordinator.placeAt-f8xVGno(LayoutModifierNodeCoordinator.kt:167)
04-12 19:50:40.569 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.Placeable.access$placeAt-f8xVGno(Placeable.kt:33)
04-12 19:50:40.569 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.Placeable$PlacementScope.place-70tqf50(Placeable.kt:428)
04-12 19:50:40.569 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate$placeOuterCoordinatorBlock$1.invoke(LayoutNodeLayoutDelegate.kt:489)
04-12 19:50:40.569 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate$placeOuterCoordinatorBlock$1.invoke(LayoutNodeLayoutDelegate.kt:483)
04-12 19:50:40.569 19191 19191 E AndroidRuntime:    at androidx.compose.runtime.snapshots.Snapshot$Companion.observe(Snapshot.kt:2303)
04-12 19:50:40.569 19191 19191 E AndroidRuntime:    at androidx.compose.runtime.snapshots.SnapshotStateObserver$ObservedScopeMap.observe(SnapshotStateObserver.kt:500)
04-12 19:50:40.569 19191 19191 E AndroidRuntime:    at androidx.compose.runtime.snapshots.SnapshotStateObserver.observeReads(SnapshotStateObserver.kt:256)
04-12 19:50:40.569 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.OwnerSnapshotObserver.observeReads$ui_release(OwnerSnapshotObserver.kt:133)
04-12 19:50:40.569 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.OwnerSnapshotObserver.observeLayoutModifierSnapshotReads$ui_release(OwnerSnapshotObserver.kt:98)
04-12 19:50:40.569 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate.placeOuterCoordinator-f8xVGno(LayoutNodeLayoutDelegate.kt:753)
04-12 19:50:40.569 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate.placeAt-f8xVGno(LayoutNodeLayoutDelegate.kt:724)
04-12 19:50:40.569 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.Placeable.access$placeAt-f8xVGno(Placeable.kt:33)
04-12 19:50:40.569 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.Placeable$PlacementScope.placeRelative(Placeable.kt:417)
04-12 19:50:40.569 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.Placeable$PlacementScope.placeRelative$default(Placeable.kt:203)
04-12 19:50:40.570 19191 19191 E AndroidRuntime:    at androidx.compose.material3.ListItemKt$place$1.invoke(ListItem.kt:354)
04-12 19:50:40.570 19191 19191 E AndroidRuntime:    at androidx.compose.material3.ListItemKt$place$1.invoke(ListItem.kt:348)
04-12 19:50:40.570 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LookaheadCapablePlaceable$layout$1.placeChildren(LookaheadDelegate.kt:107)
04-12 19:50:40.570 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate$layoutChildrenBlock$1.invoke(LayoutNodeLayoutDelegate.kt:365)
04-12 19:50:40.570 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate$layoutChildrenBlock$1.invoke(LayoutNodeLayoutDelegate.kt:360)
04-12 19:50:40.570 19191 19191 E AndroidRuntime:    at androidx.compose.runtime.snapshots.Snapshot$Companion.observe(Snapshot.kt:2303)
04-12 19:50:40.570 19191 19191 E AndroidRuntime:    at androidx.compose.runtime.snapshots.SnapshotStateObserver$ObservedScopeMap.observe(SnapshotStateObserver.kt:500)
04-12 19:50:40.570 19191 19191 E AndroidRuntime:    at androidx.compose.runtime.snapshots.SnapshotStateObserver.observeReads(SnapshotStateObserver.kt:256)
04-12 19:50:40.570 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.OwnerSnapshotObserver.observeReads$ui_release(OwnerSnapshotObserver.kt:133)
04-12 19:50:40.570 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.OwnerSnapshotObserver.observeLayoutSnapshotReads$ui_release(OwnerSnapshotObserver.kt:83)
04-12 19:50:40.570 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate.layoutChildren(LayoutNodeLayoutDelegate.kt:393)
04-12 19:50:40.570 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate.onNodePlaced$ui_release(LayoutNodeLayoutDelegate.kt:551)
04-12 19:50:40.570 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.InnerNodeCoordinator.placeAt-f8xVGno(InnerNodeCoordinator.kt:160)
04-12 19:50:40.570 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.Placeable.access$placeAt-f8xVGno(Placeable.kt:33)
04-12 19:50:40.570 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.Placeable$PlacementScope.place-70tqf50(Placeable.kt:428)
04-12 19:50:40.570 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate$placeOuterCoordinatorBlock$1.invoke(LayoutNodeLayoutDelegate.kt:489)
04-12 19:50:40.570 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate$placeOuterCoordinatorBlock$1.invoke(LayoutNodeLayoutDelegate.kt:483)
04-12 19:50:40.570 19191 19191 E AndroidRuntime:    at androidx.compose.runtime.snapshots.Snapshot$Companion.observe(Snapshot.kt:2303)
04-12 19:50:40.570 19191 19191 E AndroidRuntime:    at androidx.compose.runtime.snapshots.SnapshotStateObserver$ObservedScopeMap.observe(SnapshotStateObserver.kt:500)
04-12 19:50:40.570 19191 19191 E AndroidRuntime:    at androidx.compose.runtime.snapshots.SnapshotStateObserver.observeReads(SnapshotStateObserver.kt:256)
04-12 19:50:40.570 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.OwnerSnapshotObserver.observeReads$ui_release(OwnerSnapshotObserver.kt:133)
04-12 19:50:40.570 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.OwnerSnapshotObserver.observeLayoutModifierSnapshotReads$ui_release(OwnerSnapshotObserver.kt:98)
04-12 19:50:40.570 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate.placeOuterCoordinator-f8xVGno(LayoutNodeLayoutDelegate.kt:753)
04-12 19:50:40.570 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate.placeAt-f8xVGno(LayoutNodeLayoutDelegate.kt:724)
04-12 19:50:40.570 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.Placeable.access$placeAt-f8xVGno(Placeable.kt:33)
04-12 19:50:40.570 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.Placeable$PlacementScope.place-70tqf50(Placeable.kt:428)
04-12 19:50:40.570 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.Placeable$PlacementScope.place-70tqf50$default(Placeable.kt:230)
04-12 19:50:40.570 19191 19191 E AndroidRuntime:    at androidx.compose.foundation.layout.BoxKt.placeInBox(Box.kt:194)
04-12 19:50:40.570 19191 19191 E AndroidRuntime:    at androidx.compose.foundation.layout.BoxKt.access$placeInBox(Box.kt:1)
04-12 19:50:40.570 19191 19191 E AndroidRuntime:    at androidx.compose.foundation.layout.BoxMeasurePolicy$measure$2.invoke(Box.kt:133)
04-12 19:50:40.570 19191 19191 E AndroidRuntime:    at androidx.compose.foundation.layout.BoxMeasurePolicy$measure$2.invoke(Box.kt:132)
04-12 19:50:40.570 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LookaheadCapablePlaceable$layout$1.placeChildren(LookaheadDelegate.kt:107)
04-12 19:50:40.570 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate$layoutChildrenBlock$1.invoke(LayoutNodeLayoutDelegate.kt:365)
04-12 19:50:40.570 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate$layoutChildrenBlock$1.invoke(LayoutNodeLayoutDelegate.kt:360)
04-12 19:50:40.570 19191 19191 E AndroidRuntime:    at androidx.compose.runtime.snapshots.Snapshot$Companion.observe(Snapshot.kt:2303)
04-12 19:50:40.570 19191 19191 E AndroidRuntime:    at androidx.compose.runtime.snapshots.SnapshotStateObserver$ObservedScopeMap.observe(SnapshotStateObserver.kt:500)
04-12 19:50:40.570 19191 19191 E AndroidRuntime:    at androidx.compose.runtime.snapshots.SnapshotStateObserver.observeReads(SnapshotStateObserver.kt:256)
04-12 19:50:40.570 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.OwnerSnapshotObserver.observeReads$ui_release(OwnerSnapshotObserver.kt:133)
04-12 19:50:40.572 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.OwnerSnapshotObserver.observeLayoutSnapshotReads$ui_release(OwnerSnapshotObserver.kt:83)
04-12 19:50:40.572 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate.layoutChildren(LayoutNodeLayoutDelegate.kt:393)
04-12 19:50:40.572 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate.onNodePlaced$ui_release(LayoutNodeLayoutDelegate.kt:551)
04-12 19:50:40.572 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.InnerNodeCoordinator.placeAt-f8xVGno(InnerNodeCoordinator.kt:160)
04-12 19:50:40.572 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.Placeable.access$placeAt-f8xVGno(Placeable.kt:33)
04-12 19:50:40.572 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.Placeable$PlacementScope.placeWithLayer(Placeable.kt:451)
04-12 19:50:40.572 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.Placeable$PlacementScope.placeWithLayer$default(Placeable.kt:298)
04-12 19:50:40.572 19191 19191 E AndroidRuntime:    at androidx.compose.ui.graphics.SimpleGraphicsLayerModifier$measure$1.invoke(GraphicsLayerModifier.kt:648)
04-12 19:50:40.572 19191 19191 E AndroidRuntime:    at androidx.compose.ui.graphics.SimpleGraphicsLayerModifier$measure$1.invoke(GraphicsLayerModifier.kt:647)
04-12 19:50:40.572 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LookaheadCapablePlaceable$layout$1.placeChildren(LookaheadDelegate.kt:107)
04-12 19:50:40.572 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutModifierNodeCoordinator.placeAt-f8xVGno(LayoutModifierNodeCoordinator.kt:167)
04-12 19:50:40.572 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.Placeable.access$placeAt-f8xVGno(Placeable.kt:33)
04-12 19:50:40.572 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.Placeable$PlacementScope.placeWithLayer(Placeable.kt:451)
04-12 19:50:40.572 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.Placeable$PlacementScope.placeWithLayer$default(Placeable.kt:298)
04-12 19:50:40.572 19191 19191 E AndroidRuntime:    at androidx.compose.ui.graphics.SimpleGraphicsLayerModifier$measure$1.invoke(GraphicsLayerModifier.kt:648)
04-12 19:50:40.572 19191 19191 E AndroidRuntime:    at androidx.compose.ui.graphics.SimpleGraphicsLayerModifier$measure$1.invoke(GraphicsLayerModifier.kt:647)
04-12 19:50:40.572 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LookaheadCapablePlaceable$layout$1.placeChildren(LookaheadDelegate.kt:107)
04-12 19:50:40.572 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutModifierNodeCoordinator.placeAt-f8xVGno(LayoutModifierNodeCoordinator.kt:167)
04-12 19:50:40.572 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.Placeable.access$placeAt-f8xVGno(Placeable.kt:33)
04-12 19:50:40.572 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.Placeable$PlacementScope.placeWithLayer-aW-9-wM(Placeable.kt:454)
04-12 19:50:40.572 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate$placeOuterCoordinatorBlock$1.invoke(LayoutNodeLayoutDelegate.kt:494)
04-12 19:50:40.572 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate$placeOuterCoordinatorBlock$1.invoke(LayoutNodeLayoutDelegate.kt:483)
04-12 19:50:40.572 19191 19191 E AndroidRuntime:    at androidx.compose.runtime.snapshots.Snapshot$Companion.observe(Snapshot.kt:2303)
04-12 19:50:40.572 19191 19191 E AndroidRuntime:    at androidx.compose.runtime.snapshots.SnapshotStateObserver$ObservedScopeMap.observe(SnapshotStateObserver.kt:500)
04-12 19:50:40.572 19191 19191 E AndroidRuntime:    at androidx.compose.runtime.snapshots.SnapshotStateObserver.observeReads(SnapshotStateObserver.kt:256)
04-12 19:50:40.572 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.OwnerSnapshotObserver.observeReads$ui_release(OwnerSnapshotObserver.kt:133)
04-12 19:50:40.572 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.OwnerSnapshotObserver.observeLayoutModifierSnapshotReads$ui_release(OwnerSnapshotObserver.kt:98)
04-12 19:50:40.572 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate.placeOuterCoordinator-f8xVGno(LayoutNodeLayoutDelegate.kt:753)
04-12 19:50:40.572 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate.placeAt-f8xVGno(LayoutNodeLayoutDelegate.kt:724)
04-12 19:50:40.572 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.Placeable.access$placeAt-f8xVGno(Placeable.kt:33)
04-12 19:50:40.572 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.Placeable$PlacementScope.placeWithLayer-aW-9-wM(Placeable.kt:454)
04-12 19:50:40.572 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.Placeable$PlacementScope.placeWithLayer-aW-9-wM$default(Placeable.kt:319)
04-12 19:50:40.572 19191 19191 E AndroidRuntime:    at androidx.compose.foundation.lazy.LazyListMeasuredItem.place(LazyListMeasuredItem.kt:210)
04-12 19:50:40.572 19191 19191 E AndroidRuntime:    at androidx.compose.foundation.lazy.LazyListMeasureKt$measureLazyList$7.invoke(LazyListMeasure.kt:367)
04-12 19:50:40.572 19191 19191 E AndroidRuntime:    at androidx.compose.foundation.lazy.LazyListMeasureKt$measureLazyList$7.invoke(LazyListMeasure.kt:364)
04-12 19:50:40.572 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.LayoutNodeSubcompositionsState$Scope$layout$1.placeChildren(SubcomposeLayout.kt:897)
04-12 19:50:40.572 19191 19191 E AndroidRuntime:    at androidx.compose.foundation.lazy.LazyListMeasureResult.placeChildren(Unknown Source:6)
04-12 19:50:40.573 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.LayoutNodeSubcompositionsState$createMeasurePolicy$1$measure-3p2s80s$$inlined$createMeasureResult$1.placeChildren(SubcomposeLayout.kt:989)
04-12 19:50:40.573 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate$layoutChildrenBlock$1.invoke(LayoutNodeLayoutDelegate.kt:365)
04-12 19:50:40.573 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate$layoutChildrenBlock$1.invoke(LayoutNodeLayoutDelegate.kt:360)
04-12 19:50:40.573 19191 19191 E AndroidRuntime:    at androidx.compose.runtime.snapshots.Snapshot$Companion.observe(Snapshot.kt:2303)
04-12 19:50:40.573 19191 19191 E AndroidRuntime:    at androidx.compose.runtime.snapshots.SnapshotStateObserver$ObservedScopeMap.observe(SnapshotStateObserver.kt:500)
04-12 19:50:40.573 19191 19191 E AndroidRuntime:    at androidx.compose.runtime.snapshots.SnapshotStateObserver.observeReads(SnapshotStateObserver.kt:256)
04-12 19:50:40.573 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.OwnerSnapshotObserver.observeReads$ui_release(OwnerSnapshotObserver.kt:133)
04-12 19:50:40.573 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.OwnerSnapshotObserver.observeLayoutSnapshotReads$ui_release(OwnerSnapshotObserver.kt:83)
04-12 19:50:40.573 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate.layoutChildren(LayoutNodeLayoutDelegate.kt:393)
04-12 19:50:40.573 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate.onNodePlaced$ui_release(LayoutNodeLayoutDelegate.kt:551)
04-12 19:50:40.573 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.InnerNodeCoordinator.placeAt-f8xVGno(InnerNodeCoordinator.kt:160)
04-12 19:50:40.573 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.Placeable.access$placeAt-f8xVGno(Placeable.kt:33)
04-12 19:50:40.573 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.Placeable$PlacementScope.placeWithLayer(Placeable.kt:451)
04-12 19:50:40.573 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.Placeable$PlacementScope.placeWithLayer$default(Placeable.kt:298)
04-12 19:50:40.573 19191 19191 E AndroidRuntime:    at androidx.compose.ui.graphics.SimpleGraphicsLayerModifier$measure$1.invoke(GraphicsLayerModifier.kt:648)
04-12 19:50:40.573 19191 19191 E AndroidRuntime:    at androidx.compose.ui.graphics.SimpleGraphicsLayerModifier$measure$1.invoke(GraphicsLayerModifier.kt:647)
04-12 19:50:40.573 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LookaheadCapablePlaceable$layout$1.placeChildren(LookaheadDelegate.kt:107)
04-12 19:50:40.573 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutModifierNodeCoordinator.placeAt-f8xVGno(LayoutModifierNodeCoordinator.kt:167)
04-12 19:50:40.573 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.Placeable.access$placeAt-f8xVGno(Placeable.kt:33)
04-12 19:50:40.573 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.Placeable$PlacementScope.placeRelative(Placeable.kt:417)
04-12 19:50:40.573 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.Placeable$PlacementScope.placeRelative$default(Placeable.kt:203)
04-12 19:50:40.573 19191 19191 E AndroidRuntime:    at androidx.compose.foundation.layout.PaddingNode$measure$1.invoke(Padding.kt:403)
04-12 19:50:40.573 19191 19191 E AndroidRuntime:    at androidx.compose.foundation.layout.PaddingNode$measure$1.invoke(Padding.kt:401)
04-12 19:50:40.573 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LookaheadCapablePlaceable$layout$1.placeChildren(LookaheadDelegate.kt:107)
04-12 19:50:40.573 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutModifierNodeCoordinator.placeAt-f8xVGno(LayoutModifierNodeCoordinator.kt:167)
04-12 19:50:40.573 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.Placeable.access$placeAt-f8xVGno(Placeable.kt:33)
04-12 19:50:40.573 19191 19191 E AndroidRuntime:    at androidx.compose.ui.layout.Placeable$PlacementScope.place-70tqf50(Placeable.kt:428)
04-12 19:50:40.573 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate$placeOuterCoordinatorBlock$1.invoke(LayoutNodeLayoutDelegate.kt:489)
04-12 19:50:40.573 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate$placeOuterCoordinatorBlock$1.invoke(LayoutNodeLayoutDelegate.kt:483)
04-12 19:50:40.573 19191 19191 E AndroidRuntime:    at androidx.compose.runtime.snapshots.Snapshot$Companion.observe(Snapshot.kt:2303)
04-12 19:50:40.573 19191 19191 E AndroidRuntime:    at androidx.compose.runtime.snapshots.SnapshotStateObserver$ObservedScopeMap.observe(SnapshotStateObserver.kt:500)
04-12 19:50:40.573 19191 19191 E AndroidRuntime:    at androidx.compose.runtime.snapshots.SnapshotStateObserver.observeReads(SnapshotStateObserver.kt:256)
04-12 19:50:40.573 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.OwnerSnapshotObserver.observeReads$ui_release(OwnerSnapshotObserver.kt:133)
04-12 19:50:40.573 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.OwnerSnapshotObserver.observeLayoutModifierSnapshotReads$ui_release(OwnerSnapshotObserver.kt:98)
04-12 19:50:40.573 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate.placeOuterCoordinator-f8xVGno(LayoutNodeLayoutDelegate.kt:753)
04-12 19:50:40.573 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate.replace(LayoutNodeLayoutDelegate.kt:772)
04-12 19:50:40.573 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutNode.replace$ui_release(LayoutNode.kt:914)
04-12 19:50:40.575 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.MeasureAndLayoutDelegate.measureAndLayout-0kLqBqw(MeasureAndLayoutDelegate.kt:446)
04-12 19:50:40.575 19191 19191 E AndroidRuntime:    at androidx.compose.ui.platform.AndroidComposeView.measureAndLayout-0kLqBqw(AndroidComposeView.android.kt:982)
04-12 19:50:40.575 19191 19191 E AndroidRuntime:    at androidx.compose.ui.node.LayoutNode.forceRemeasure(LayoutNode.kt:1219)
04-12 19:50:40.575 19191 19191 E AndroidRuntime:    at androidx.compose.foundation.lazy.LazyListState.onScroll$foundation_release(LazyListState.kt:352)
04-12 19:50:40.575 19191 19191 E AndroidRuntime:    at androidx.compose.foundation.lazy.LazyListState$scrollableState$1.invoke(LazyListState.kt:187)
04-12 19:50:40.575 19191 19191 E AndroidRuntime:    at androidx.compose.foundation.lazy.LazyListState$scrollableState$1.invoke(LazyListState.kt:187)
04-12 19:50:40.575 19191 19191 E AndroidRuntime:    at androidx.compose.foundation.gestures.DefaultScrollableState$scrollScope$1.scrollBy(ScrollableState.kt:166)
04-12 19:50:40.575 19191 19191 E AndroidRuntime:    at androidx.compose.foundation.gestures.ScrollingLogic$dispatchScroll$performScroll$1.invoke-MK-Hz9U(Scrollable.kt:762)
04-12 19:50:40.575 19191 19191 E AndroidRuntime:    at androidx.compose.foundation.gestures.ScrollingLogic$dispatchScroll$performScroll$1.invoke(Scrollable.kt:752)
04-12 19:50:40.575 19191 19191 E AndroidRuntime:    at androidx.compose.foundation.AndroidEdgeEffectOverscrollEffect.applyToScroll-Rhakbz0(AndroidOverscroll.android.kt:184)
04-12 19:50:40.575 19191 19191 E AndroidRuntime:    at androidx.compose.foundation.gestures.ScrollingLogic.dispatchScroll-3eAAhYA(Scrollable.kt:778)
04-12 19:50:40.575 19191 19191 E AndroidRuntime:    at androidx.compose.foundation.gestures.ScrollDraggableState.dragBy(Scrollable.kt:886)
04-12 19:50:40.575 19191 19191 E AndroidRuntime:    at androidx.compose.foundation.gestures.DraggableNode$abstractDragScope$1.dragBy-k-4lQ0M(Draggable.kt:315)
04-12 19:50:40.575 19191 19191 E AndroidRuntime:    at androidx.compose.foundation.gestures.DraggableNode.draggingBy(Draggable.kt:327)
04-12 19:50:40.575 19191 19191 E AndroidRuntime:    at androidx.compose.foundation.gestures.AbstractDraggableNode$startListeningForEvents$1$1.invokeSuspend(Draggable.kt:437)
04-12 19:50:40.575 19191 19191 E AndroidRuntime:    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
04-12 19:50:40.575 19191 19191 E AndroidRuntime:    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
04-12 19:50:40.575 19191 19191 E AndroidRuntime:    at androidx.compose.ui.platform.AndroidUiDispatcher.performTrampolineDispatch(AndroidUiDispatcher.android.kt:81)
04-12 19:50:40.575 19191 19191 E AndroidRuntime:    at androidx.compose.ui.platform.AndroidUiDispatcher.access$performTrampolineDispatch(AndroidUiDispatcher.android.kt:41)
04-12 19:50:40.575 19191 19191 E AndroidRuntime:    at androidx.compose.ui.platform.AndroidUiDispatcher$dispatchCallback$1.doFrame(AndroidUiDispatcher.android.kt:68)
04-12 19:50:40.575 19191 19191 E AndroidRuntime:    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1054)
04-12 19:50:40.575 19191 19191 E AndroidRuntime:    at android.view.Choreographer.doCallbacks(Choreographer.java:878)
04-12 19:50:40.575 19191 19191 E AndroidRuntime:    at android.view.Choreographer.doFrame(Choreographer.java:807)
04-12 19:50:40.575 19191 19191 E AndroidRuntime:    at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1041)
04-12 19:50:40.575 19191 19191 E AndroidRuntime:    at android.os.Handler.handleCallback(Handler.java:938)
04-12 19:50:40.575 19191 19191 E AndroidRuntime:    at android.os.Handler.dispatchMessage(Handler.java:99)
04-12 19:50:40.575 19191 19191 E AndroidRuntime:    at android.os.Looper.loop(Looper.java:223)
04-12 19:50:40.575 19191 19191 E AndroidRuntime:    at android.app.ActivityThread.main(ActivityThread.java:7791)
04-12 19:50:40.575 19191 19191 E AndroidRuntime:    at java.lang.reflect.Method.invoke(Native Method)
04-12 19:50:40.575 19191 19191 E AndroidRuntime:    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
04-12 19:50:40.575 19191 19191 E AndroidRuntime:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:952)
04-12 19:50:40.575 19191 19191 E AndroidRuntime:    Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@afdd9dc, androidx.compose.runtime.BroadcastFrameClock@29efae5, StandaloneCoroutine{Cancelling}@40c9ba, AndroidUiDispatcher@8e8c06b]
04-12 19:50:40.624  1496 20701 I DropBoxManagerService: add tag=data_app_crash isTagEnabled=true flags=0x2
04-12 19:50:40.639  1496  4912 W ActivityTaskManager:   Force finishing activity com.google.samples.apps.nowinandroid.demo.debug/com.google.samples.apps.nowinandroid.MainActivity

Code of Conduct

cameron-livefront commented 6 months ago

Having this issue as well in my own app - submitted an issue to the Issue Tracker here: https://issuetracker.google.com/issues/335082217