You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am simply using a function in the following form: fun someMethod() = runBlocking { ..... // some code launch { callSomeMethod() } ..... // some code }
kotlin/coroutines/AbstractCoroutineContextKey java.lang.NoClassDefFoundError: kotlin/coroutines/AbstractCoroutineContextKey at java.base/java.lang.ClassLoader.defineClass1(Native Method) at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1016) at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:151) at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:821) at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:719) at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:642) at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:600) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) at kotlinx.coroutines.CoroutineDispatcher.<clinit>(CoroutineDispatcher.kt) at kotlinx.coroutines.EventLoopKt.createEventLoop(EventLoop.kt:26) at kotlinx.coroutines.ThreadLocalEventLoop.getEventLoop$kotlinx_coroutines_core(EventLoop.common.kt:126) at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:43) at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source) at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:36) at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source) ......... ......... Caused by: java.lang.ClassNotFoundException: kotlin.coroutines.AbstractCoroutineContextKey
The text was updated successfully, but these errors were encountered:
I am simply using a function in the following form:
fun someMethod() = runBlocking { ..... // some code launch { callSomeMethod() } ..... // some code }
Package Info:
I am getting following error:
kotlin/coroutines/AbstractCoroutineContextKey java.lang.NoClassDefFoundError: kotlin/coroutines/AbstractCoroutineContextKey at java.base/java.lang.ClassLoader.defineClass1(Native Method) at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1016) at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:151) at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:821) at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:719) at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:642) at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:600) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) at kotlinx.coroutines.CoroutineDispatcher.<clinit>(CoroutineDispatcher.kt) at kotlinx.coroutines.EventLoopKt.createEventLoop(EventLoop.kt:26) at kotlinx.coroutines.ThreadLocalEventLoop.getEventLoop$kotlinx_coroutines_core(EventLoop.common.kt:126) at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:43) at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source) at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:36) at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source) ......... ......... Caused by: java.lang.ClassNotFoundException: kotlin.coroutines.AbstractCoroutineContextKey
The text was updated successfully, but these errors were encountered: