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

Error when starting with koin 4 + kotlin 2.0.20 #494

Open
zhimbura opened this issue Sep 27, 2024 · 1 comment
Open

Error when starting with koin 4 + kotlin 2.0.20 #494

zhimbura opened this issue Sep 27, 2024 · 1 comment

Comments

@zhimbura
Copy link

I'm trying to build a project with the following versions:

[versions]
agp = "8.2.2"
android-compileSdk = "34"
android-minSdk = "28"
android-targetSdk = "34"
androidx-activityCompose = "1.9.2"
androidx-appcompat = "1.7.0"
androidx-constraintlayout = "2.1.4"
androidx-core-ktx = "1.13.1"
androidx-espresso-core = "3.6.1"
androidx-lifecycle = "2.8.2"
androidx-material = "1.12.0"
androidx-test-junit = "1.2.1"
compose-plugin = "1.6.11"
junit = "4.13.2"
kotlin = "2.0.20"
coroutines = "1.9.0-RC.2"
ktor = "3.0.0-rc-1"
kion = "4.0.0"
serialization = "1.7.2"
realm = "2.3.0"
sentry = "0.7.1"
sentry-android = "7.14.0"
datetime = "0.6.1"
coil = "3.0.0-alpha10"
security-crypto = "1.1.0-alpha06"
timber = "5.0.1"
voyager = "1.1.0-alpha04"
cameraX = "1.3.4"
mlkit = "17.3.0"
accompanist = "0.34.0"
buildkonfig = "0.15.2"
work = "2.9.1"
play-update = "2.1.0"

[libraries]
koin-core                           = { group = "io.insert-koin", name = "koin-core", version.ref = "kion" }
koin-test                           = { group = "io.insert-koin", name = "koin-test", version.ref = "kion" }
koin-compose                        = { group = "io.insert-koin", name = "koin-compose", version.ref = "kion" }
koin-compose-viewmodel              = { group = "io.insert-koin", name = "koin-compose-viewmodel", version.ref = "kion" }
koin-compose-viewmodel-navigation   = { group = "io.insert-koin", name = "koin-compose-viewmodel-navigation", version.ref = "kion" }
koin-androidx-workmanager           = { group = "io.insert-koin", name = "koin-androidx-workmanager", version.ref = "kion" }

voyager-navigator =             { group = "cafe.adriel.voyager", name = "voyager-navigator", version.ref = "voyager" }
voyager-koin =                  { group = "cafe.adriel.voyager", name = "voyager-koin", version.ref = "voyager" }
voyager-navigator-bottom-sheet =  { group = "cafe.adriel.voyager", name = "voyager-bottom-sheet-navigator", version.ref = "voyager" }
voyager-navigator-tab =          { group = "cafe.adriel.voyager", name = "voyager-tab-navigator", version.ref = "voyager" }
voyager-transitions =           { group = "cafe.adriel.voyager", name = "voyager-transitions", version.ref = "voyager" }

And I'm getting the following exception when trying to start the application on iOS:

Uncaught Kotlin exception: kotlin.native.internal.IrLinkageError: Can not read value from variable 'tmp0_safe_receiver': Variable uses unlinked class symbol 'org.koin.compose.stable/StableParametersDefinition|null[0]'
    at 0   My App                      0x101a157f7        kfun:kotlin.Throwable#<init>(kotlin.String?){} + 119 
    at 1   My App                      0x101a0e81b        kfun:kotlin.Error#<init>(kotlin.String?){} + 115 
    at 2   My App                      0x101a4c2ab        kfun:kotlin.native.internal.IrLinkageError#<init>(kotlin.String?){} + 115 
    at 3   My App                      0x101a4c36f        kfun:kotlin.native.internal#ThrowIrLinkageError(kotlin.String?){}kotlin.Nothing + 175 
    at 4   My App                      0x100f0ea8b        kfun:com.wbpoint.ui.main.MainScreen#Content(androidx.compose.runtime.Composer?;kotlin.Int){} + 6271 
    at 5   My App                      0x102b27e2f        kfun:cafe.adriel.voyager.core.screen.Screen#Content(androidx.compose.runtime.Composer?;kotlin.Int){}-trampoline + 107 
    at 6   My App                      0x102b2f5fb        kfun:cafe.adriel.voyager.navigator.CurrentScreen$lambda$1#internal + 455 
    at 7   My App                      0x102b30a77        kfun:cafe.adriel.voyager.navigator.$CurrentScreen$lambda$1$FUNCTION_REFERENCE$2.invoke#internal + 115 
    at 8   My App                      0x102b30b9f        kfun:cafe.adriel.voyager.navigator.$CurrentScreen$lambda$1$FUNCTION_REFERENCE$2.$<bridge-DNNNU>invoke(androidx.compose.runtime.Composer;kotlin.Int){}#internal + 159 
    at 9   My App                      0x101b71bc7        kfun:kotlin.Function2#invoke(1:0;1:1){}1:2-trampoline + 115 
    at 10  My App                      0x101e3b3f7        kfun:androidx.compose.runtime.internal.ComposableLambdaImpl#invoke(androidx.compose.runtime.Composer;kotlin.Int){}kotlin.Any? + 603 
    at 11  My App                      0x101e49e6b        kfun:androidx.compose.runtime.internal.ComposableLambdaImpl#$<bridge-NNNNU>invoke(androidx.compose.runtime.Composer;kotlin.Int){}kotlin.Any?(androidx.compose.runtime.Composer;kotlin.Any?){}kotlin.Any? + 163 
    at 12  My App                      0x101b71bc7        kfun:kotlin.Function2#invoke(1:0;1:1){}1:2-trampoline + 115 
    at 13  My App                      0x101d30b63        kfun:androidx.compose.runtime#CompositionLocalProvider(androidx.compose.runtime.ProvidedValue<*>;kotlin.Function2<androidx.compose.runtime.Composer,kotlin.Int,kotlin.Unit>;androidx.compose.runtime.Composer?;kotlin.Int){} + 615 
    at 14  My App                      0x10264ebb7        kfun:androidx.compose.runtime.saveable.SaveableStateHolderImpl.SaveableStateProvider#internal + 2823 
    at 15  My App                      0x1026539fb        kfun:androidx.compose.runtime.saveable.SaveableStateHolder#SaveableStateProvider(kotlin.Any;kotlin.Function2<androidx.compose.runtime.Composer,kotlin.Int,kotlin.Unit>;androidx.compose.runtime.Composer?;kotlin.Int){}-trampoline + 123 
    at 16  My App                      0x102b2d26b        kfun:cafe.adriel.voyager.navigator.Navigator.saveableState$lambda$2#internal + 519 
    at 17  My App                      0x102b2d97b        kfun:cafe.adriel.voyager.navigator.Navigator.$saveableState$lambda$2$FUNCTION_REFERENCE$11.invoke#internal + 123 
    at 18  My App                      0x102b2dafb        kfun:cafe.adriel.voyager.navigator.Navigator.$saveableState$lambda$2$FUNCTION_REFERENCE$11.$<bridge-DNNNU>invoke(androidx.compose.runtime.Composer;kotlin.Int){}#internal + 159 
    at 19  My App                      0x101b71bc7        kfun:kotlin.Function2#invoke(1:0;1:1){}1:2-trampoline + 115 
    at 20  My App                      0x101e3b3f7        kfun:androidx.compose.runtime.internal.ComposableLambdaImpl#invoke(androidx.compose.runtime.Composer;kotlin.Int){}kotlin.Any? + 603 
    at 21  My App                      0x101e49e6b        kfun:androidx.compose.runtime.internal.ComposableLambdaImpl#$<bridge-NNNNU>invoke(androidx.compose.runtime.Composer;kotlin.Int){}kotlin.Any?(androidx.compose.runtime.Composer;kotlin.Any?){}kotlin.Any? + 163 
    at 22  My App                      0x101b71bc7        kfun:kotlin.Function2#invoke(1:0;1:1){}1:2-trampoline + 115 
    at 23  My App                      0x102b1c9a3        kfun:cafe.adriel.voyager.core.lifecycle.RecursiveProvideBeforeScreenContent$lambda$6#internal + 435 
    at 24  My App                      0x102b1d827        kfun:cafe.adriel.voyager.core.lifecycle.$RecursiveProvideBeforeScreenContent$lambda$6$FUNCTION_REFERENCE$6.invoke#internal + 115 
    at 25  My App                      0x102b1d94f        kfun:cafe.adriel.voyager.core.lifecycle.$RecursiveProvideBeforeScreenContent$lambda$6$FUNCTION_REFERENCE$6.$<bridge-DNNNU>invoke(androidx.compose.runtime.Composer;kotlin.Int){}#internal + 159 
    at 26  My App                      0x101b71bc7        kfun:kotlin.Function2#invoke(1:0;1:1){}1:2-trampoline + 115 
    at 27  My App                      0x101e3b3f7        kfun:androidx.compose.runtime.internal.ComposableLambdaImpl#invoke(androidx.compose.runtime.Composer;kotlin.Int){}kotlin.Any? + 603 
    at 28  My App                      0x101e49e6b        kfun:androidx.compose.runtime.internal.ComposableLambdaImpl#$<bridge-NNNNU>invoke(androidx.compose.runtime.Composer;kotlin.Int){}kotlin.Any?(androidx.compose.runtime.Composer;kotlin.Any?){}kotlin.Any? + 163 
    at 29  My App                      0x101b71bc7        kfun:kotlin.Function2#invoke(1:0;1:1){}1:2-trampoline + 115 
    at 30  My App                      0x102b1914f        kfun:cafe.adriel.voyager.core.lifecycle.ScreenLifecycleContentProvider#ProvideBeforeScreenContent(kotlin.Function4<kotlin.String,kotlin.Function2<androidx.compose.runtime.Composer,kotlin.Int,kotlin.Unit>,androidx.compose.runtime.Composer,kotlin.Int,kotlin.Unit>;kotlin.Function2<androidx.compose.runtime.Composer,kotlin.Int,kotlin.Unit>;androidx.compose.runtime.Composer?;kotlin.Int){} + 799 
    at 31  My App                      0x102b26adf        kfun:cafe.adriel.voyager.core.lifecycle.ScreenLifecycleContentProvider#ProvideBeforeScreenContent(kotlin.Function4<kotlin.String,kotlin.Function2<androidx.compose.runtime.Composer,kotlin.Int,kotlin.Unit>,androidx.compose.runtime.Composer,kotlin.Int,kotlin.Unit>;kotlin.Function2<androidx.compose.runtime.Composer,kotlin.Int,kotlin.Unit>;androidx.compose.runtime.Composer?;kotlin.Int){}-trampoline + 123 
    at 32  My App                      0x102b1b947        kfun:cafe.adriel.voyager.core.lifecycle.RecursiveProvideBeforeScreenContent#internal + 3531 
    at 33  My App                      0x102b1a947        kfun:cafe.adriel.voyager.core.lifecycle#MultipleProvideBeforeScreenContent(kotlin.collections.List<cafe.adriel.voyager.core.lifecycle.ScreenLifecycleContentProvider>;kotlin.Function4<kotlin.String,kotlin.Function2<androidx.compose.runtime.Composer,kotlin.Int,kotlin.Unit>,androidx.compose.runtime.Composer,kotlin.Int,kotlin.Unit>;kotlin.Function2<androidx.compose.runtime.Composer,kotlin.Int,kotlin.Unit>;androidx.compose.runtime.Composer?;kotlin.Int){} + 1387 
    at 34  My App                      0x102b2c063        kfun:cafe.adriel.voyager.navigator.Navigator#saveableState(kotlin.String;cafe.adriel.voyager.core.screen.Screen?;kotlin.Function2<androidx.compose.runtime.Composer,kotlin.Int,kotlin.Unit>;androidx.compose.runtime.Composer?;kotlin.Int;kotlin.Int){} + 2611 
    at 35  My App                      0x102b288c3        kfun:cafe.adriel.voyager.navigator#CurrentScreen(androidx.compose.runtime.Composer?;kotlin.Int){} + 915 
    at 36  My App                      0x102b2ee3b        kfun:cafe.adriel.voyager.navigator.ComposableSingletons$NavigatorKt.<init>$lambda$0#internal + 307 
    at 37  My App                      0x102b2f07b        kfun:cafe.adriel.voyager.navigator.ComposableSingletons$NavigatorKt.$<init>$lambda$0$FUNCTION_REFERENCE$14.invoke#internal + 123 
    at 38  My App                      0x102b2f153        kfun:cafe.adriel.voyager.navigator.ComposableSingletons$NavigatorKt.$<init>$lambda$0$FUNCTION_REFERENCE$14.$<bridge-DNNNNU>invoke(cafe.adriel.voyager.navigator.Navigator;androidx.compose.runtime.Composer;kotlin.Int){}#internal + 195 
    at 39  My App                      0x101b71cc3        kfun:kotlin.Function3#invoke(1:0;1:1;1:2){}1:3-trampoline + 123 
    at 40  My App                      0x101e3b763        kfun:androidx.compose.runtime.internal.ComposableLambdaImpl#invoke(kotlin.Any?;androidx.compose.runtime.Composer;kotlin.Int){}kotlin.Any? + 635 
    at 41  My App                      0x101e49f6f        kfun:androidx.compose.runtime.internal.ComposableLambdaImpl#$<bridge-NNNNNU>invoke(kotlin.Any?;androidx.compose.runtime.Composer;kotlin.Int){}kotlin.Any?(kotlin.Any?;androidx.compose.runtime.Composer;kotlin.Any?){}kotlin.Any? + 199 
    at 42  My App                      0x101b71cc3        kfun:kotlin.Function3#invoke(1:0;1:1;1:2){}1:3-trampoline + 123 
    at 43  My App                      0x102b2fe23        kfun:cafe.adriel.voyager.navigator.Navigator$lambda$7$lambda$6#internal + 939 
    at 44  My App                      0x102b318d3        kfun:cafe.adriel.voyager.navigator.$Navigator$lambda$7$lambda$6$FUNCTION_REFERENCE$16.invoke#internal + 127 
    at 45  My App                      0x102b31a7f        kfun:cafe.adriel.voyager.navigator.$Navigator$lambda$7$lambda$6$FUNCTION_REFERENCE$16.$<bridge-DNNNU>invoke(androidx.compose.runtime.Composer;kotlin.Int){}#internal + 159 
    at 46  My App                      0x101b71bc7        kfun:kotlin.Function2#invoke(1:0;1:1){}1:2-trampoline + 115 
    at 47  My App                      0x101e3b3f7        kfun:androidx.compose.runtime.internal.ComposableLambdaImpl#invoke(androidx.compose.runtime.Composer;kotlin.Int){}kotlin.Any? + 603 
    at 48  My App                      0x101e49e6b        kfun:androidx.compose.runtime.internal.ComposableLambdaImpl#$<bridge-NNNNU>invoke(androidx.compose.runtime.Composer;kotlin.Int){}kotlin.Any?(androidx.compose.runtime.Composer;kotlin.Any?){}kotlin.Any? + 163 
    at 49  My App                      0x101b71bc7        kfun:kotlin.Function2#invoke(1:0;1:1){}1:2-trampoline + 115 
    at 50  My App                      0x101d30b63        kfun:androidx.compose.runtime#CompositionLocalProvider(androidx.compose.runtime.ProvidedValue<*>;kotlin.Function2<androidx.compose.runtime.Composer,kotlin.Int,kotlin.Unit>;androidx.compose.runtime.Composer?;kotlin.Int){} + 615 
    at 51  My App                      0x102b305fb        kfun:cafe.adriel.voyager.navigator.Navigator$lambda$7#internal + 1875 
    at 52  My App                      0x102b31363        kfun:cafe.adriel.voyager.navigator.$Navigator$lambda$7$FUNCTION_REFERENCE$7.invoke#internal + 131 
    at 53  My App                      0x102b3153b        kfun:cafe.adriel.voyager.navigator.$Navigator$lambda$7$FUNCTION_REFERENCE$7.$<bridge-DNNNU>invoke(androidx.compose.runtime.Composer;kotlin.Int){}#internal + 159 
    at 54  My App                      0x101b71bc7        kfun:kotlin.Function2#invoke(1:0;1:1){}1:2-trampoline + 115 
    at 55  My App                      0x101e3b3f7        kfun:androidx.compose.runtime.internal.ComposableLambdaImpl#invoke(androidx.compose.runtime.Composer;kotlin.Int){}kotlin.Any? + 603 
    at 56  My App                      0x101e49e6b        kfun:androidx.compose.runtime.internal.ComposableLambdaImpl#$<bridge-NNNNU>invoke(androidx.compose.runtime.Composer;kotlin.Int){}kotlin.Any?(androidx.compose.runtime.Composer;kotlin.Any?){}kotlin.Any? + 163 
    at 57  My App                      0x101b71bc7        kfun:kotlin.Function2#invoke(1:0;1:1){}1:2-trampoline + 115 
    at 58  My App                      0x101d30b63        kfun:androidx.compose.runtime#CompositionLocalProvider(androidx.compose.runtime.ProvidedValue<*>;kotlin.Function2<androidx.compose.runtime.Composer,kotlin.Int,kotlin.Unit>;androidx.compose.runtime.Composer?;kotlin.Int){} + 615 
    at 59  My App                      0x102b2a52b        kfun:cafe.adriel.voyager.navigator#Navigator(kotlin.collections.List<cafe.adriel.voyager.core.screen.Screen>;cafe.adriel.voyager.navigator.NavigatorDisposeBehavior?;kotlin.Function1<cafe.adriel.voyager.core.screen.Screen,kotlin.Boolean>?;kotlin.String?;kotlin.Function3<cafe.adriel.voyager.navigator.Navigator,androidx.compose.runtime.Composer,kotlin.Int,kotlin.Unit>?;androidx.compose.runtime.Composer?;kotlin.Int;kotlin.Int){} + 3655 
    at 60  My App                      0x102b2955f        kfun:cafe.adriel.voyager.navigator#Navigator(cafe.adriel.voyager.core.screen.Screen;cafe.adriel.voyager.navigator.NavigatorDisposeBehavior?;kotlin.Function1<cafe.adriel.voyager.core.screen.Screen,kotlin.Boolean>?;kotlin.String?;kotlin.Function3<cafe.adriel.voyager.navigator.Navigator,androidx.compose.runtime.Composer,kotlin.Int,kotlin.Unit>?;androidx.compose.runtime.Composer?;kotlin.Int;kotlin.Int){} + 2939 
    at 61  My App                      0x1008bbd1f        kfun:com.wbpoint.Content#internal + 2819 
    at 62  My App                      0x1008c068b        kfun:com.wbpoint.ComposableSingletons$AppKt.<init>$lambda$5#internal + 9003 
    at 63  My App                      0x1008c0fe7        kfun:com.wbpoint.ComposableSingletons$AppKt.$<init>$lambda$5$FUNCTION_REFERENCE$2.invoke#internal + 95 
    at 64  My App                      0x1008c109b        kfun:com.wbpoint.ComposableSingletons$AppKt.$<init>$lambda$5$FUNCTION_REFERENCE$2.$<bridge-DNNNU>invoke(androidx.compose.runtime.Composer;kotlin.Int){}#internal + 159 
    at 65  My App                      0x101b71bc7        kfun:kotlin.Function2#invoke(1:0;1:1){}1:2-trampoline + 115 
    at 66  My App                      0x101e3b3f7        kfun:androidx.compose.runtime.internal.ComposableLambdaImpl#invoke(androidx.compose.runtime.Composer;kotlin.Int){}kotlin.Any? + 603 
    at 67  My App                      0x101e49e6b        kfun:androidx.compose.runtime.internal.ComposableLambdaImpl#$<bridge-NNNNU>invoke(androidx.compose.runtime.Composer;kotlin.Int){}kotlin.Any?(androidx.compose.runtime.Composer;kotlin.Any?){}kotlin.Any? + 163 
    at 68  My App                      0x101b71bc7        kfun:kotlin.Function2#invoke(1:0;1:1){}1:2-trampoline + 115 
    at 69  My App                      0x101d30b63        kfun:androidx.compose.runtime#CompositionLocalProvider(androidx.compose.runtime.ProvidedValue<*>;kotlin.Function2<androidx.compose.runtime.Composer,kotlin.Int,kotlin.Unit>;androidx.compose.runtime.Composer?;kotlin.Int){} + 615 
    at 70  My App                      0x102ef8adf        kfun:androidx.compose.material3#ProvideTextStyle(androidx.compose.ui.text.TextStyle;kotlin.Function2<androidx.compose.runtime.Composer,kotlin.Int,kotlin.Unit>;androidx.compose.runtime.Composer?;kotlin.Int){} + 1447 
    at 71  My App                      0x102e5596f        kfun:androidx.compose.material3.MaterialTheme$lambda$0#internal + 611 
    at 72  My App                      0x102e55c4b        kfun:androidx.compose.material3.$MaterialTheme$lambda$0$FUNCTION_REFERENCE$0.invoke#internal + 119 
    at 73  My App                      0x102e55d9f        kfun:androidx.compose.material3.$MaterialTheme$lambda$0$FUNCTION_REFERENCE$0.$<bridge-DNNNU>invoke(androidx.compose.runtime.Composer;kotlin.Int){}#internal + 159 
    at 74  My App                      0x101b71bc7        kfun:kotlin.Function2#invoke(1:0;1:1){}1:2-trampoline + 115 
    at 75  My App                      0x101e3b3f7        kfun:androidx.compose.runtime.internal.ComposableLambdaImpl#invoke(androidx.compose.runtime.Composer;kotlin.Int){}kotlin.Any? + 603 
    at 76  My App                      0x101e49e6b        kfun:androidx.compose.runtime.internal.ComposableLambdaImpl#$<bridge-NNNNU>invoke(androidx.compose.runtime.Composer;kotlin.Int){}kotlin.Any?(androidx.compose.runtime.Composer;kotlin.Any?){}kotlin.Any? + 163 
    at 77  My App                      0x101b71bc7        kfun:kotlin.Function2#invoke(1:0;1:1){}1:2-trampoline + 115 
    at 78  My App                      0x101d307c7        kfun:androidx.compose.runtime#CompositionLocalProvider(kotlin.Array<out|androidx.compose.runtime.ProvidedValue<*>>...;kotlin.Function2<androidx.compose.runtime.Composer,kotlin.Int,kotlin.Unit>;androidx.compose.runtime.Composer?;kotlin.Int){} + 615 
    at 79  My App                      0x102e54043        kfun:androidx.compose.material3#MaterialTheme(androidx.compose.material3.ColorScheme?;androidx.compose.material3.Shapes?;androidx.compose.material3.Typography?;kotlin.Function2<androidx.compose.runtime.Composer,kotlin.Int,kotlin.Unit>;androidx.compose.runtime.Composer?;kotlin.Int;kotlin.Int){} + 3835 
    at 80  My App                      0x100ef4167        kfun:com.wbpoint.android.core_ui.theme.WBPointTheme$lambda$2#internal + 539 
    at 81  My App                      0x100ef4527        kfun:com.wbpoint.android.core_ui.theme.$WBPointTheme$lambda$2$FUNCTION_REFERENCE$2.invoke#internal + 119 
    at 82  My App                      0x100ef467b        kfun:com.wbpoint.android.core_ui.theme.$WBPointTheme$lambda$2$FUNCTION_REFERENCE$2.$<bridge-DNNNU>invoke(androidx.compose.runtime.Composer;kotlin.Int){}#internal + 159 
    at 83  My App                      0x101b71bc7        kfun:kotlin.Function2#invoke(1:0;1:1){}1:2-trampoline + 115 
    at 84  My App                      0x101e3b3f7        kfun:androidx.compose.runtime.internal.ComposableLambdaImpl#invoke(androidx.compose.runtime.Composer;kotlin.Int){}kotlin.Any? + 603 
    at 85  My App                      0x101e49e6b        kfun:androidx.compose.runtime.internal.ComposableLambdaImpl#$<bridge-NNNNU>invoke(androidx.compose.runtime.Composer;kotlin.Int){}kotlin.Any?(androidx.compose.runtime.Composer;kotlin.Any?){}kotlin.Any? + 163 
    at 86  My App                      0x101b71bc7        kfun:kotlin.Function2#invoke(1:0;1:1){}1:2-trampoline + 115 
    at 87  My App                      0x101d307c7        kfun:androidx.compose.runtime#CompositionLocalProvider(kotlin.Array<out|androidx.compose.runtime.ProvidedValue<*>>...;kotlin.Function2<androidx.compose.runtime.Composer,kotlin.Int,kotlin.Unit>;androidx.compose.runtime.Composer?;kotlin.Int){} + 615 
    at 88  My App                      0x100ef3cb7        kfun:com.wbpoint.android.core_ui.theme#WBPointTheme(kotlin.Boolean;kotlin.Boolean;kotlin.Function2<androidx.compose.runtime.Composer,kotlin.Int,kotlin.Unit>;androidx.compose.runtime.Composer?;kotlin.Int;kotlin.Int){} + 2639 
    at 89  My App                      0x1008bb103        kfun:com.wbpoint#App(androidx.compose.runtime.Composer?;kotlin.Int){} + 559 
    at 90  My App                      0x10145ff5f        kfun:com.wbpoint.ComposableSingletons$MainViewControllerKt.<init>$lambda$0#internal + 419 
    at 91  My App                      0x101460033        kfun:com.wbpoint.ComposableSingletons$MainViewControllerKt.$<init>$lambda$0$FUNCTION_REFERENCE$0.invoke#internal + 95 
    at 92  My App                      0x1014600e7        kfun:com.wbpoint.ComposableSingletons$MainViewControllerKt.$<init>$lambda$0$FUNCTION_REFERENCE$0.$<bridge-DNNNU>invoke(androidx.compose.runtime.Composer;kotlin.Int){}#internal + 159 
    at 93  My App                      0x101b71bc7        kfun:kotlin.Function2#invoke(1:0;1:1){}1:2-trampoline + 115 
    at 94  My App                      0x101e3b3f7        kfun:androidx.compose.runtime.internal.ComposableLambdaImpl#invoke(androidx.compose.runtime.Composer;kotlin.Int){}kotlin.Any? + 603 
    at 95  My App                      0x101e49e6b        kfun:androidx.compose.runtime.internal.ComposableLambdaImpl#$<bridge-NNNNU>invoke(androidx.compose.runtime.Composer;kotlin.Int){}kotlin.Any?(androidx.compose.runtime.Composer;kotlin.Any?){}kotlin.Any? + 163 
    at 96  My App                      0x101b71bc7        kfun:kotlin.Function2#invoke(1:0;1:1){}1:2-trampoline + 115 
    at 97  My App                      0x101d307c7        kfun:androidx.compose.runtime#CompositionLocalProvider(kotlin.Array<out|androidx.compose.runtime.ProvidedValue<*>>...;kotlin.Function2<androidx.compose.runtime.Composer,kotlin.Int,kotlin.Unit>;androidx.compose.runtime.Composer?;kotlin.Int){} + 615 
    at 98  My App                      0x102967833        kfun:androidx.compose.ui.window#ProvideContainerCompositionLocals(androidx.compose.ui.window.ComposeContainer;kotlin.Function2<androidx.compose.runtime.Composer,kotlin.Int,kotlin.Unit>;androidx.compose.runtime.Composer?;kotlin.Int){} + 2019 
    at 99  My App                      0x102965def        kfun:androidx.compose.ui.window.ComposeContainer.createMediator$lambda$2#internal + 503 
    at 100 My App                      0x102966457        kfun:androidx.compose.ui.window.ComposeContainer.$createMediator$lambda$2$FUNCTION_REFERENCE$4.invoke#internal + 115 
    at 101 My App                      0x10296657f        kfun:androidx.compose.ui.window.ComposeContainer.$createMediator$lambda$2$FUNCTION_REFERENCE$4.$<bridge-DNNNU>invoke(androidx.compose.runtime.Composer;kotlin.Int){}#internal + 159 
    at 102 My App                      0x101b71bc7        kfun:kotlin.Function2#invoke(1:0;1:1){}1:2-trampoline + 115 
    at 103 My App                      0x101e3b3f7        kfun:androidx.compose.runtime.internal.ComposableLambdaImpl#invoke(androidx.compose.runtime.Composer;kotlin.Int){}kotlin.Any? + 603 
    at 104 My App                      0x101e49e6b        kfun:androidx.compose.runtime.internal.ComposableLambdaImpl#$<bridge-NNNNU>invoke(androidx.compose.runtime.Composer;kotlin.Int){}kotlin.Any?(androidx.compose.runtime.Composer;kotlin.Any?){}kotlin.Any? + 163 
    at 105 My App                      0x101b71bc7        kfun:kotlin.Function2#invoke(1:0;1:1){}1:2-trampoline + 115 
    at 106 My App                      0x1028b0f4f        kfun:androidx.compose.ui.layout#OverlayLayout(androidx.compose.ui.Modifier;kotlin.Function2<androidx.compose.runtime.Composer,kotlin.Int,kotlin.Unit>;androidx.compose.runtime.Composer?;kotlin.Int){} + 2995 
    at 107 My App                      0x1028f2713        kfun:androidx.compose.ui.viewinterop#TrackInteropPlacementContainer__at__androidx.compose.ui.viewinterop.InteropContainer(kotlin.Function2<androidx.compose.runtime.Composer,kotlin.Int,kotlin.Unit>;androidx.compose.runtime.Composer?;kotlin.Int){} + 1899 
    at 108 My App                      0x1029438ab        kfun:androidx.compose.ui.scene.ComposeSceneMediator.setContent$lambda$26$lambda$25$lambda$24#internal + 531 
    at 109 My App                      0x102948fe3        kfun:androidx.compose.ui.scene.ComposeSceneMediator.$setContent$lambda$26$lambda$25$lambda$24$FUNCTION_REFERENCE$53.invoke#internal + 119 
    at 110 My App                      0x102949137        kfun:androidx.compose.ui.scene.ComposeSceneMediator.$setContent$lambda$26$lambda$25$lambda$24$FUNCTION_REFERENCE$53.$<bridge-DNNNU>invoke(androidx.compose.runtime.Composer;kotlin.Int){}#internal + 159 
    at 111 My App                      0x101b71bc7        kfun:kotlin.Function2#invoke(1:0;1:1){}1:2-trampoline + 115 
    at 112 My App                      0x101e3b3f7        kfun:androidx.compose.runtime.internal.ComposableLambdaImpl#invoke(androidx.compose.runtime.Composer;kotlin.Int){}kotlin.Any? + 603 
    at 113 My App                      0x101e49e6b        kfun:androidx.compose.runtime.internal.ComposableLambdaImpl#$<bridge-NNNNU>invoke(androidx.compose.runtime.Composer;kotlin.Int){}kotlin.Any?(androidx.compose.runtime.Composer;kotlin.Any?){}kotlin.Any? + 163 
    at 114 My App                      0x101b71bc7        kfun:kotlin.Function2#invoke(1:0;1:1){}1:2-trampoline + 115 
    at 115 My App                      0x101d307c7        kfun:androidx.compose.runtime#CompositionLocalProvider(kotlin.Array<out|androidx.compose.runtime.ProvidedValue<*>>...;kotlin.Function2<androidx.compose.runtime.Composer,kotlin.Int,kotlin.Unit>;androidx.compose.runtime.Composer?;kotlin.Int){} + 615 
    at 116 My App                      0x10293a6db        kfun:androidx.compose.ui.scene.ComposeSceneMediator.ProvideComposeSceneMediatorCompositionLocals#internal + 1695 
    at 117 My App                      0x102943c1f        kfun:androidx.compose.ui.scene.ComposeSceneMediator.setContent$lambda$26$lambda$25#internal + 763 
    at 118 My App                      0x1029491eb        kfun:androidx.compose.ui.scene.ComposeSceneMediator.$setContent$lambda$26$lambda$25$FUNCTION_REFERENCE$54.invoke#internal + 119 
    at 119 My App                      0x10294933f        kfun:androidx.compose.ui.scene.ComposeSceneMediator.$setContent$lambda$26$lambda$25$FUNCTION_REFERENCE$54.$<bridge-DNNNU>invoke(androidx.compose.runtime.Composer;kotlin.Int){}#internal + 159 
    at 120 My App                      0x101b71bc7        kfun:kotlin.Function2#invoke(1:0;1:1){}1:2-trampoline + 115 
    at 121 My App                      0x101e3b3f7        kfun:androidx.compose.runtime.internal.ComposableLambdaImpl#invoke(androidx.compose.runtime.Composer;kotlin.Int){}kotlin.Any? + 603 
    at 122 My App                      0x101e41f57        kfun:androidx.compose.runtime.internal.ComposableLambdaImpl.invoke$invoke#internal + 171 
    at 123 My App                      0x101e451a3        kfun:androidx.compose.runtime.internal.ComposableLambdaImpl.$invoke$FUNCTION_REFERENCE$0.invoke#internal + 115 
    at 124 My App                      0x101e4535b        kfun:androidx.compose.runtime.internal.ComposableLambdaImpl.$invoke$FUNCTION_REFERENCE$0.$<bridge-DNNNU>invoke(androidx.compose.runtime.Composer;kotlin.Int){}#internal + 159 
    at 125 My App                      0x101b71bc7        kfun:kotlin.Function2#invoke(1:0;1:1){}1:2-trampoline + 115 
    Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.runtime.BroadcastFrameClock@7e52be8, StandaloneCoroutine{Cancelling}@7ccb568, FlushCoroutineDispatcher@7ed48a8]
        at 0   My App                      0x101a157f7        kfun:kotlin.Throwable#<init>(kotlin.String?){} + 119 
        at 1   My App                      0x101a0e9b3        kfun:kotlin.Exception#<init>(kotlin.String?){} + 115 
        at 2   My App                      0x101a0ebd3        kfun:kotlin.RuntimeException#<init>(kotlin.String?){} + 115 
        at 3   My App                      0x101cde0d7        kfun:kotlinx.coroutines.internal.DiagnosticCoroutineContextException#<init>(kotlin.coroutines.CoroutineContext){} + 171 
        at 4   My App                      0x101cb152b        kfun:kotlinx.coroutines.internal#handleUncaughtCoroutineException(kotlin.coroutines.CoroutineContext;kotlin.Throwable){} + 655 
        at 5   My App                      0x101c44213        kfun:kotlinx.coroutines#handleCoroutineException(kotlin.coroutines.CoroutineContext;kotlin.Throwable){} + 531 
        at 6   My App                      0x101c37dab        kfun:kotlinx.coroutines.StandaloneCoroutine.handleJobException#internal + 171 
        at 7   My App                      0x101ce693b        kfun:kotlinx.coroutines.JobSupport#handleJobException(kotlin.Throwable){}kotlin.Boolean-trampoline + 63 
        at 8   My App                      0x101c4f3ab        kfun:kotlinx.coroutines.JobSupport.finalizeFinishingState#internal + 1211 
        at 9   My App                      0x101c576a3        kfun:kotlinx.coroutines.JobSupport.tryMakeCompletingSlowPath#internal + 2327 
        at 10  My App                      0x101c56d4b        kfun:kotlinx.coroutines.JobSupport.tryMakeCompleting#internal + 755 
        at 11  My App                      0x101c5686b        kfun:kotlinx.coroutines.JobSupport#makeCompletingOnce(kotlin.Any?){}kotlin.Any? + 379 
        at 12  My App                      0x101c34077        kfun:kotlinx.coroutines.AbstractCoroutine#resumeWith(kotlin.Result<1:0>){} + 207 
        at 13  My App                      0x101b71427        kfun:kotlin.coroutines.Continuation#resumeWith(kotlin.Result<1:0>){}-trampoline + 99 
        at 14  My App                      0x101a1ba0b        kfun:kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(kotlin.Result<kotlin.Any?>){} + 1215 
        at 15  My App                      0x101b71427        kfun:kotlin.coroutines.Continuation#resumeWith(kotlin.Result<1:0>){}-trampoline + 99 
        at 16  My App                      0x101cd6753        kfun:kotlinx.coroutines.UndispatchedCoroutine#afterResume(kotlin.Any?){} + 247 
        at 17  My App                      0x101ce1e9f        kfun:kotlinx.coroutines.AbstractCoroutine#afterResume(kotlin.Any?){}-trampoline + 63 
        at 18  My App                      0x101c340d3        kfun:kotlinx.coroutines.AbstractCoroutine#resumeWith(kotlin.Result<1:0>){} + 299 
        at 19  My App                      0x101b71427        kfun:kotlin.coroutines.Continuation#resumeWith(kotlin.Result<1:0>){}-trampoline + 99 
        at 20  My App                      0x101a1ba0b        kfun:kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(kotlin.Result<kotlin.Any?>){} + 1215 
        at 21  My App                      0x101b71427        kfun:kotlin.coroutines.Continuation#resumeWith(kotlin.Result<1:0>){}-trampoline + 99 
        at 22  My App                      0x101cbc73f        kfun:kotlinx.coroutines.internal.ScopeCoroutine#afterResume(kotlin.Any?){} + 247 
        at 23  My App                      0x101ce1e9f        kfun:kotlinx.coroutines.AbstractCoroutine#afterResume(kotlin.Any?){}-trampoline + 63 
        at 24  My App                      0x101c340d3        kfun:kotlinx.coroutines.AbstractCoroutine#resumeWith(kotlin.Result<1:0>){} + 299 
        at 25  My App                      0x101b71427        kfun:kotlin.coroutines.Continuation#resumeWith(kotlin.Result<1:0>){}-trampoline + 99 
        at 26  My App                      0x101a1ba0b        kfun:kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(kotlin.Result<kotlin.Any?>){} + 1215 
        at 27  My App                      0x101b71427        kfun:kotlin.coroutines.Continuation#resumeWith(kotlin.Result<1:0>){}-trampoline + 99 
        at 28  My App                      0x101cb5107        kfun:kotlinx.coroutines.DispatchedTask#run(){} + 1695 
        at 29  My App                      0x101ce573f        kfun:kotlinx.coroutines.Runnable#run(){}-trampoline + 91 
        at 30  My App                      0x1028c320b        kfun:androidx.compose.ui.platform.FlushCoroutineDispatcher.dispatch$lambda$1$lambda$0#internal + 475 
        at 31  My App                      0x1028c49bb        kfun:androidx.compose.ui.platform.FlushCoroutineDispatcher.$dispatch$lambda$1$lambda$0$FUNCTION_REFERENCE$4.invoke#internal + 75 
        at 32  My App                      0x1028c4ab7        kfun:androidx.compose.ui.platform.FlushCoroutineDispatcher.$dispatch$lambda$1$lambda$0$FUNCTION_REFERENCE$4.$<bridge-DNN>invoke(){}#internal + 71 
        at 33  My App                      0x101b6e237        kfun:kotlin.Function0#invoke(){}1:0-trampoline + 99 
        at 34  My App                      0x1028c2a8b        kfun:androidx.compose.ui.platform.FlushCoroutineDispatcher.performRun#internal + 319 
        at 35  My App                      0x1028c33b3        kfun:androidx.compose.ui.platform.FlushCoroutineDispatcher.dispatch$lambda$1#internal + 255 
        at 36  My App                      0x1028c43f7        kfun:androidx.compose.ui.platform.FlushCoroutineDispatcher.$dispatch$lambda$1$FUNCTION_REFERENCE$0.invoke#internal + 139 
        at 37  My App                      0x101b71bc7        kfun:kotlin.Function2#invoke(1:0;1:1){}1:2-trampoline + 115 
        at 38  My App                      0x101a202e7        kfun:kotlin.coroutines.intrinsics.object-4.invokeSuspend#internal + 739 
        at 39  My App                      0x101b7133b        kfun:kotlin.coroutines.native.internal.BaseContinuationImpl#invokeSuspend(kotlin.Result<kotlin.Any?>){}kotlin.Any?-trampoline + 71 
        at 40  My App                      0x101a1b7d3        kfun:kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(kotlin.Result<kotlin.Any?>){} + 647 
        at 41  My App                      0x101b71427        kfun:kotlin.coroutines.Continuation#resumeWith(kotlin.Result<1:0>){}-trampoline + 99 
        at 42  My App                      0x101cb51cf        kfun:kotlinx.coroutines.DispatchedTask#run(){} + 1895 
        at 43  My App                      0x101ce573f        kfun:kotlinx.coroutines.Runnable#run(){}-trampoline + 91 
        at 44  My App                      0x101ce08cb        kfun:kotlinx.coroutines.DarwinMainDispatcher.dispatch$lambda$0#internal + 67 
        at 45  My App                      0x101ce0b53        kfun:kotlinx.coroutines.DarwinMainDispatcher.$dispatch$lambda$0$FUNCTION_REFERENCE$1.invoke#internal + 71 
        at 46  My App                      0x101ce0c23        kfun:kotlinx.coroutines.DarwinMainDispatcher.$dispatch$lambda$0$FUNCTION_REFERENCE$1.$<bridge-DNN>invoke(){}#internal + 71 
        at 47  My App                      0x101b6e237        kfun:kotlin.Function0#invoke(){}1:0-trampoline + 99 
        at 48  My App                      0x101ce1bcb        _6f72672e6a6574627261696e732e6b6f746c696e783a6b6f746c696e782d636f726f7574696e65732d636f72652f6f70742f6275696c644167656e742f776f726b2f343465633665383530643563363366302f6b6f746c696e782d636f726f7574696e65732d636f72652f6e617469766544617277696e2f7372632f44697370617463686572732e6b74_knbridge13 + 203 
        at 49  libdispatch.dylib                   0x180170103        _dispatch_call_block_and_release + 23 
        at 50  libdispatch.dylib                   0x180171977        _dispatch_client_callout + 15 
        at 51  libdispatch.dylib                   0x1801807c7        _dispatch_main_queue_drain + 1275 
        at 52  libdispatch.dylib                   0x1801802bb        _dispatch_main_queue_callback_4CF + 39 
        at 53  CoreFoundation                      0x18040e95f        __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 11 
        at 54  CoreFoundation                      0x180409077        __CFRunLoopRun + 1935 
        at 55  CoreFoundation                      0x1804084d3        CFRunLoopRunSpecific + 571 
        at 56  GraphicsServices                    0x18ef2aae3        GSEventRunModal + 159 
        at 57  UIKitCore                           0x1853d0a27        -[UIApplication _run] + 867 
        at 58  UIKitCore                           0x1853d46af        UIApplicationMain + 123 
        at 59  SwiftUI                             0x1ccf100e3        OUTLINED_FUNCTION_65 + 491 
        at 60  SwiftUI                             0x1ccf0ff8b        OUTLINED_FUNCTION_65 + 147 
        at 61  SwiftUI                             0x1ccbcd6d7        OUTLINED_FUNCTION_0 + 91 
        at 62  My App                      0x1007cc333        $s14my_app6iOSAppV5$mainyyFZ + 39 
        at 63  My App                      0x1007cc3df        main + 11 (/Users/tihonustinov/Documents/projects/my-app-shared/iosApp/iosApp/iOSApp.swift:<unknown>)
        at 64  dyld                                0x10791d543        0x0 + 4421965123 
        at 65  ???                                 0x1079fa0df        0x0 + 4422869215 
        at 66  ???                                 0x6147ffffffffffff 0x0 + 7009852820002177023 

Is there any solution to bypass this error?

I saw in the merge request for the transition to koin 4 that you suggested adding 2 functions to the project. I didn't quite understand how to add them. If this will help bypass the error, how can I do it?

@zhimbura
Copy link
Author

Sure, I replaced all instances of koinScreenModel with getScreenModel according to the example from the merge request #359, and it worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant