Has anyone come across this stacktrace in their cr...
# compose
z
Has anyone come across this stacktrace in their crash reports? Interestingly it happens overwhelmingly on Motorola devices for us (85%)
Copy code
Fatal Exception: java.lang.IllegalArgumentException Cannot round NaN value.
kotlin.math.MathKt__MathJVMKt.roundToInt (MathJVM.kt:1165)
androidx.compose.ui.unit.Density.roundToPx-0680j_4 (Density.kt:75)
androidx.compose.foundation.layout.PaddingNode.measure-3p2s80s (Padding.kt:395)
androidx.compose.ui.node.LayoutModifierNodeCoordinator.measure-BRTryo0 (LayoutModifierNodeCoordinator.kt:116)
a
Were you able to find the source? There was an old thread
z
Thanks for the link! The trace doesn't link back to any of our application code so its tough to tell exactly what is causing it
👀 1
e
Check for IntrinsicSize usage