Hey all, we are facing this issue (Only for Samsun...
# koin
s
Hey all, we are facing this issue (Only for Samsung devices so far): I know the error message is a bit generic, but anyone might have a clue what might be the issue ? We are using Koin 3.4.2.
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.Class.isPrimitive()' on a null object reference
at kotlin.jvm.JvmClassMappingKt.getJavaObjectType(JvmClassMapping.kt:60)
at kotlin.reflect.jvm.internal.KClassImpl.hashCode(KClassImpl.kt)
at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936)
at org.koin.ext.KClassExtKt.getFullName(KClassExt.kt:25)
at org.koin.core.definition.BeanDefinitionKt.indexKey(BeanDefinition.kt:95)
at org.koin.core.registry.InstanceRegistry.resolveDefinition$koin_core(InstanceRegistry.kt:106)
at org.koin.core.registry.InstanceRegistry.resolveInstance$koin_core(InstanceRegistry.kt:116)
at org.koin.core.scope.Scope.resolveValue(Scope.kt:246)
at org.koin.core.scope.Scope.resolveInstance(Scope.kt:231)
at org.koin.core.scope.Scope.get(Scope.kt:210)
at org.koin.core.scope.Scope.getOrNull(Scope.kt:175)
at org.koin.androidx.workmanager.factory.KoinWorkerFactory.createWorker(KoinWorkerFactory.kt:47)
at androidx.work.DelegatingWorkerFactory.createWorker(DelegatingWorkerFactory.java:71)
at androidx.work.WorkerFactory.createWorkerWithDefaultFallback(WorkerFactory.java)
at androidx.work.impl.WorkerWrapper.runWorker(WorkerWrapper.java:243)
at androidx.work.impl.WorkerWrapper.run(WorkerWrapper.java:145)
at androidx.work.impl.utils.SerialExecutorImpl$Task.run(SerialExecutorImpl.java:96)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
at java.lang.Thread.run(Thread.java:1012)
a
is it on old device? looks like JVM access problem
s
Unfortunately not so old, OS version: android 13 Model: Galaxy S21+ 5G
a
effectively, weird case 🤔 Do you reproduce it regulary or just this device?
s
I can not reproduce it.