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 using Moloco adapter #34

Open
AGulev opened this issue Jan 4, 2025 · 0 comments
Open

Crash using Moloco adapter #34

AGulev opened this issue Jan 4, 2025 · 0 comments

Comments

@AGulev
Copy link
Contributor

AGulev commented Jan 4, 2025

025-01-03 17:12:56.063 19974-20212 MolocoSDKE...tionFilter com.defold.ironsource1               E  [a] SDK detected in stacktrace
2025-01-03 17:12:56.074 19974-20212 MolocoErrorReportingApi com.defold.ironsource1               E  [a] SDK Crashed
                                                                                                    java.lang.ExceptionInInitializerError
                                                                                                    	at io.ktor.client.HttpClientJvmKt.HttpClient(Unknown Source:0)
                                                                                                    	at com.moloco.sdk.internal.http.a.a(SourceFile:1)
                                                                                                    	at com.moloco.sdk.service_locator.a$i$a.a(SourceFile:1)
                                                                                                    	at com.moloco.sdk.service_locator.a$i$a.invoke(SourceFile:1)
                                                                                                    	at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
                                                                                                    	at com.moloco.sdk.service_locator.a$i.a(SourceFile:1)
                                                                                                    	at com.moloco.sdk.service_locator.a$f$a.a(SourceFile:8)
                                                                                                    	at com.moloco.sdk.service_locator.a$f$a.invoke(SourceFile:1)
                                                                                                    	at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
                                                                                                    	at com.moloco.sdk.service_locator.a$f.a(SourceFile:6)
                                                                                                    	at com.moloco.sdk.service_locator.a$f$b.a(SourceFile:1)
                                                                                                    	at com.moloco.sdk.service_locator.a$f$b.invoke(SourceFile:1)
                                                                                                    	at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
                                                                                                    	at com.moloco.sdk.service_locator.a$f.b(SourceFile:1)
                                                                                                    	at com.moloco.sdk.internal.publisher.u$f.invokeSuspend(SourceFile:5)
                                                                                                    	at com.moloco.sdk.internal.publisher.u$f.a(Unknown Source:8)
                                                                                                    	at com.moloco.sdk.internal.publisher.u$f.invoke(Unknown Source:4)
                                                                                                    	at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:42)
                                                                                                    	at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:164)
                                                                                                    	at kotlinx.coroutines.BuildersKt.withContext(Unknown Source:1)
                                                                                                    	at com.moloco.sdk.internal.publisher.u.b(SourceFile:2)
                                                                                                    	at com.moloco.sdk.internal.publisher.u.a(SourceFile:23)
                                                                                                    	at com.moloco.sdk.publisher.Moloco$initialize$1.invokeSuspend(SourceFile:14)
                                                                                                    	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
                                                                                                    	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:101)
                                                                                                    	at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:113)
                                                                                                    	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
                                                                                                    	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:589)
                                                                                                    	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:823)
                                                                                                    	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:720)
                                                                                                    	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:707)
                                                                                                    	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@1af3d01, Dispatchers.IO]
                                                                                                    Caused by: java.lang.IllegalStateException: Failed to find HTTP client engine implementation: consider adding client engine dependency. See https://ktor.io/docs/http-client-engines.html
                                                                                                    	at io.ktor.client.HttpClientJvmKt.<clinit>(HttpClientJvm.kt:40)
                                                                                                    	... 31 more
2025-01-03 17:12:56.139 19974-20212 AndroidRuntime          com.defold.ironsource1               E  FATAL EXCEPTION: DefaultDispatcher-worker-1
                                                                                                    Process: com.defold.ironsource1, PID: 19974
                                                                                                    java.lang.ExceptionInInitializerError
                                                                                                    	at io.ktor.client.HttpClientJvmKt.HttpClient(Unknown Source:0)
                                                                                                    	at com.moloco.sdk.internal.http.a.a(SourceFile:1)
                                                                                                    	at com.moloco.sdk.service_locator.a$i$a.a(SourceFile:1)
                                                                                                    	at com.moloco.sdk.service_locator.a$i$a.invoke(SourceFile:1)
                                                                                                    	at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
                                                                                                    	at com.moloco.sdk.service_locator.a$i.a(SourceFile:1)
                                                                                                    	at com.moloco.sdk.service_locator.a$f$a.a(SourceFile:8)
                                                                                                    	at com.moloco.sdk.service_locator.a$f$a.invoke(SourceFile:1)
                                                                                                    	at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
                                                                                                    	at com.moloco.sdk.service_locator.a$f.a(SourceFile:6)
                                                                                                    	at com.moloco.sdk.service_locator.a$f$b.a(SourceFile:1)
                                                                                                    	at com.moloco.sdk.service_locator.a$f$b.invoke(SourceFile:1)
                                                                                                    	at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
                                                                                                    	at com.moloco.sdk.service_locator.a$f.b(SourceFile:1)
                                                                                                    	at com.moloco.sdk.internal.publisher.u$f.invokeSuspend(SourceFile:5)
                                                                                                    	at com.moloco.sdk.internal.publisher.u$f.a(Unknown Source:8)
                                                                                                    	at com.moloco.sdk.internal.publisher.u$f.invoke(Unknown Source:4)
                                                                                                    	at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:42)
                                                                                                    	at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:164)
                                                                                                    	at kotlinx.coroutines.BuildersKt.withContext(Unknown Source:1)
                                                                                                    	at com.moloco.sdk.internal.publisher.u.b(SourceFile:2)
                                                                                                    	at com.moloco.sdk.internal.publisher.u.a(SourceFile:23)
                                                                                                    	at com.moloco.sdk.publisher.Moloco$initialize$1.invokeSuspend(SourceFile:14)
                                                                                                    	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
                                                                                                    	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:101)
                                                                                                    	at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:113)
                                                                                                    	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
                                                                                                    	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:589)
                                                                                                    	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:823)
                                                                                                    	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:720)
                                                                                                    	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:707)
                                                                                                    	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@1af3d01, Dispatchers.IO]
                                                                                                    Caused by: java.lang.IllegalStateException: Failed to find HTTP client engine implementation: consider adding client engine dependency. See https://ktor.io/docs/http-client-engines.html
                                                                                                    	at io.ktor.client.HttpClientJvmKt.<clinit>(HttpClientJvm.kt:40)
                                                                                                    	... 31 more
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