When upgrading from 3.1.6 to 3.2.0, I am encounter...
# koin
n
When upgrading from 3.1.6 to 3.2.0, I am encountering
Copy code
java.lang.IllegalStateException: Compose Runtime internal error. Unexpected or incorrect use of the Compose internal runtime API (Start/end imbalance
I see this ticket here, I was wondering if anyone has a solution for this? ... Ninja edit: See googles response here
a
not yet had time to look at it really 🤔
n
no sweat, i'll try to get you a stack trace today. If i recall correctly, it didn't show any koin code in the stack trace, just compose code.
👍 1
here ya go:
Copy code
java.lang.IllegalStateException: Compose Runtime internal error. Unexpected or incorrect use of the Compose internal runtime API (Start/end imbalance). Please report to Google or use <https://goo.gle/compose-feedback>
                                                                                                    	at androidx.compose.runtime.ComposerKt.composeRuntimeError(Composer.kt:3466)
                                                                                                    	at androidx.compose.runtime.ComposerImpl.finalizeCompose(Composer.kt:3550)
                                                                                                    	at androidx.compose.runtime.ComposerImpl.endRoot(Composer.kt:1237)
                                                                                                    	at androidx.compose.runtime.ComposerImpl.doCompose(Composer.kt:2588)
                                                                                                    	at androidx.compose.runtime.ComposerImpl.recompose$runtime_release(Composer.kt:2547)
                                                                                                    	at androidx.compose.runtime.CompositionImpl.recompose(Composition.kt:620)
                                                                                                    	at androidx.compose.runtime.Recomposer.performRecompose(Recomposer.kt:786)
                                                                                                    	at androidx.compose.runtime.Recomposer.access$performRecompose(Recomposer.kt:105)
                                                                                                    	at androidx.compose.runtime.Recomposer$runRecomposeAndApplyChanges$2$2.invoke(Recomposer.kt:456)
                                                                                                    	at androidx.compose.runtime.Recomposer$runRecomposeAndApplyChanges$2$2.invoke(Recomposer.kt:425)
                                                                                                    	at androidx.compose.ui.platform.AndroidUiFrameClock$withFrameNanos$2$callback$1.doFrame(AndroidUiFrameClock.android.kt:34)
                                                                                                    	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:997)
                                                                                                    	at android.view.Choreographer.doCallbacks(Choreographer.java:797)
                                                                                                    	at android.view.Choreographer.doFrame(Choreographer.java:728)
                                                                                                    	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:984)
                                                                                                    	at android.os.Handler.handleCallback(Handler.java:883)
                                                                                                    	at android.os.Handler.dispatchMessage(Handler.java:100)
                                                                                                    	at android.os.Looper.loop(Looper.java:237)
                                                                                                    	at android.app.ActivityThread.main(ActivityThread.java:8167)
                                                                                                    	at java.lang.reflect.Method.invoke(Native Method)
                                                                                                    	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496)
                                                                                                    	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100)
                                                                                                    	Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [androidx.compose.runtime.PausableMonotonicFrameClock@de5e03, StandaloneCoroutine{Cancelling}@8a52180, AndroidUiDispatcher@78473b9]
I made a solid attempt to fix this... like 3 hours worth andI couldn't figure it out 😞 Have you had any luck?
a
an update is required from koin-androidx-compose to be sure to use latests compose fix