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

Crash on linear progress indeterminate component demo screen #770

Open
paulinea opened this issue Jan 8, 2024 · 0 comments
Open

Crash on linear progress indeterminate component demo screen #770

paulinea opened this issue Jan 8, 2024 · 0 comments
Labels
🐞 bug Something isn't working 📱 demo app

Comments

@paulinea
Copy link
Member

paulinea commented Jan 8, 2024

Steps to reproduce:

  • Go to linear progress indicator demo screen
  • In customization bottom sheet, set indeterminate and enable icon
  • Switch from light to dark mode or the inverse

App crashes with the following exception:

FATAL EXCEPTION: main
Process: com.orange.ods.app, PID: 15987
androidx.compose.runtime.ComposeRuntimeError: Compose Runtime internal error. Unexpected or incorrect use of the Compose internal runtime API (Cannot skip the enclosing group while in an empty region). Please report to Google or use https://goo.gle/compose-feedback
at androidx.compose.runtime.ComposerKt.composeRuntimeError(Composer.kt:4557)
at androidx.compose.runtime.SlotReader.skipToGroupEnd(SlotTable.kt:3480)
at androidx.compose.runtime.ComposerImpl.skipReaderToGroupEnd(Composer.kt:2745)
at androidx.compose.runtime.ComposerImpl.recomposeToGroupEnd(Composer.kt:2501)
at androidx.compose.runtime.ComposerImpl.skipToGroupEnd(Composer.kt:2760)
at androidx.compose.material.TextKt.Text--4IGK_g(Text.kt:399)
at androidx.compose.material.TextKt$Text$2.invoke(Unknown Source:72)
at androidx.compose.material.TextKt$Text$2.invoke(Unknown Source:10)
at androidx.compose.runtime.RecomposeScopeImpl.compose(RecomposeScopeImpl.kt:169)
at androidx.compose.runtime.ComposerImpl.recomposeToGroupEnd(Composer.kt:2468)
at androidx.compose.runtime.ComposerImpl.skipCurrentGroup(Composer.kt:2737)
at androidx.compose.runtime.ComposerImpl.doCompose(Composer.kt:3352)
at androidx.compose.runtime.ComposerImpl.recompose$runtime_release(Composer.kt:3303)
at androidx.compose.runtime.CompositionImpl.recompose(Composition.kt:781)
at androidx.compose.runtime.Recomposer.performRecompose(Recomposer.kt:1097)
at androidx.compose.runtime.Recomposer.access$performRecompose(Recomposer.kt:124)
at androidx.compose.runtime.Recomposer$runRecomposeAndApplyChanges$2$1.invoke(Recomposer.kt:569)
at androidx.compose.runtime.Recomposer$runRecomposeAndApplyChanges$2$1.invoke(Recomposer.kt:537)
at androidx.compose.ui.platform.AndroidUiFrameClock$withFrameNanos$2$callback$1.doFrame(AndroidUiFrameClock.android.kt:41)
at androidx.compose.ui.platform.AndroidUiDispatcher.performFrameDispatch(AndroidUiDispatcher.android.kt:109)
at androidx.compose.ui.platform.AndroidUiDispatcher.access$performFrameDispatch(AndroidUiDispatcher.android.kt:41)
at androidx.compose.ui.platform.AndroidUiDispatcher$dispatchCallback$1.doFrame(AndroidUiDispatcher.android.kt:69)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1648)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1659)
at android.view.Choreographer.doCallbacks(Choreographer.java:1129)
at android.view.Choreographer.doFrame(Choreographer.java:1045)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1622)
at android.os.Handler.handleCallback(Handler.java:958)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:230)
at android.os.Looper.loop(Looper.java:319)
at android.app.ActivityThread.main(ActivityThread.java:8893)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:608)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.runtime.PausableMonotonicFrameClock@4ba3e23, androidx.compose.ui.platform.MotionDurationScaleImpl@44d4f20, StandaloneCoroutine{Cancelling}@5c6a0d9, AndroidUiDispatcher@b6aca9e]
@paulinea paulinea added 🐞 bug Something isn't working 📱 demo app labels Jan 8, 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 📱 demo app
Development

No branches or pull requests

1 participant