We are facing an issue in our app that shows the following error messages in our Firebase. They are for the same issue with other Exceptions too, but these are the first two.
We have tried to retrace the stacktrace locally but nothing was different.
### First error message
Fatal Exception: java.lang.ExceptionInInitializerError:
at kotlin.reflect.jvm.internal.impl.resolve.jvm.JvmPrimitiveType.values(JvmPrimitiveType.java:722)
at kotlin.reflect.jvm.internal.impl.builtins.jvm.JavaToKotlinClassMap.<clinit>(JavaToKotlinClassMap.kt:722)
at kotlin.reflect.jvm.internal.RuntimeTypeMapper.mapJvmClassToKotlinClassId(RuntimeTypeMapper.java:116)
at kotlin.reflect.jvm.internal.KClassImpl.getClassId(KClassImpl.kt:116)
at kotlin.reflect.jvm.internal.KClassImpl.access$getClassId(KClassImpl.kt:5)
at kotlin.reflect.jvm.internal.KClassImpl$Data$simpleName$2.invoke(KClassImpl.java:5)
at kotlin.reflect.jvm.internal.KClassImpl$Data$simpleName$2.invoke(KClassImpl.java:5)
at kotlin.reflect.jvm.internal.ReflectProperties$LazySoftVal.invoke(ReflectProperties.java:19)
at kotlin.reflect.jvm.internal.ReflectProperties$Val.getValue(ReflectProperties.java:19)
at kotlin.reflect.jvm.internal.KClassImpl$Data.getSimpleName(KClassImpl.java:19)
at kotlin.reflect.jvm.internal.KClassImpl.getSimpleName(KClassImpl.kt:19)
at kotlinx.serialization.SealedClassSerializer$descriptor$2$1.invoke(SealedClassSerializer.java:29)
at kotlinx.serialization.SealedClassSerializer$descriptor$2$1.invoke(SealedClassSerializer.java:10)
at com.google.firebase.crashlytics.internal.model.CrashlyticsReport$Session$Application$Organization.X(CrashlyticsReport.java:34)
at kotlinx.serialization.SealedClassSerializer$descriptor$2.invoke(SealedClassSerializer.java:82)
at kotlinx.serialization.SealedClassSerializer$descriptor$2.invoke(SealedClassSerializer.java:13)
at kotlin.SafePublicationLazyImpl.getValue(LazyJVM.kt:1)
at kotlinx.serialization.SealedClassSerializer.getDescriptor(SealedSerializer.kt:1)
at kotlinx.serialization.builtins.BuiltinSerializersKt.getNullable(BuiltinSerializers.kt:1)
at io.intercom.android.sdk.m5.push.SimplePushData.getMessageData(IntercomPushData.kt:1)
at io.intercom.android.sdk.m5.push.IntercomPushData$Companion.createFrom(IntercomPushData.kt:85)
at io.intercom.android.sdk.m5.push.IntercomPushClientHandler.handlePush(IntercomPushClientHandler.kt:17)
at io.intercom.android.sdk.push.IntercomLegacyPushClientHandler.handlePush(IntercomLegacyPushClientHandler.kt:38)
at io.intercom.android.sdk.push.IntercomPushClient.handlePush(IntercomPushClient.kt:1)
at io.intercom.android.sdk.push.IntercomPushClient.handlePush(IntercomPushClient.kt:2)
at io.intercom.android.sdk.fcm.IntercomFcmMessengerService.onMessageReceived(IntercomFcmMessengerService.java:36)
at com.google.firebase.messaging.FirebaseMessagingService.dispatchMessage(FirebaseMessagingService.java:765)
at com.google.firebase.messaging.FirebaseMessagingService.passMessageIntentToSdk(FirebaseMessagingService.java:765)
at com.google.firebase.messaging.FirebaseMessagingService.handleMessageIntent(FirebaseMessagingService.java:765)
at com.google.firebase.messaging.FirebaseMessagingService.handleIntent(FirebaseMessagingService.java:765)
at com.google.firebase.messaging.EnhancedIntentService.lambda$processIntent$0(EnhancedIntentService.java:101)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
at com.google.android.gms.common.util.concurrent.zza.run(zza.java:12)
at java.lang.Thread.run(Thread.java:1012)
### Second error message:
Caused by java.lang.RuntimeException: java.lang.NoSuchMethodException: L9.m.values e]
at java.lang.Enum.enumValues(Enum.java:315)
at java.lang.Enum.-$$Nest$smenumValues()
at java.lang.Enum$1.create(Enum.java:322)
at java.lang.Enum$1.create(Enum.java:320)
at libcore.util.BasicLruCache.get(BasicLruCache.java:63)
at java.lang.Enum.getSharedConstants(Enum.java:334)
at java.lang.Class.getEnumConstantsShared(Class.java:4036)
at java.util.EnumMap.getKeyUniverse(EnumMap.java:749)
at java.util.EnumMap.<init>(EnumMap.java:136)
at kotlin.reflect.jvm.internal.impl.resolve.jvm.JvmPrimitiveType.<clinit>(JvmPrimitiveType.java:181)
at kotlin.reflect.jvm.internal.impl.resolve.jvm.JvmPrimitiveType.values(JvmPrimitiveType.java:722)
at kotlin.reflect.jvm.internal.impl.builtins.jvm.JavaToKotlinClassMap.<clinit>(JavaToKotlinClassMap.kt:722)
at kotlin.reflect.jvm.internal.RuntimeTypeMapper.mapJvmClassToKotlinClassId(RuntimeTypeMapper.java:116)
at kotlin.reflect.jvm.internal.KClassImpl.getClassId(KClassImpl.kt:116)
at kotlin.reflect.jvm.internal.KClassImpl.access$getClassId(KClassImpl.kt:5)
at kotlin.reflect.jvm.internal.KClassImpl$Data$simpleName$2.invoke(KClassImpl.java:5)
at kotlin.reflect.jvm.internal.KClassImpl$Data$simpleName$2.invoke(KClassImpl.java:5)
at kotlin.reflect.jvm.internal.ReflectProperties$LazySoftVal.invoke(ReflectProperties.java:19)
at kotlin.reflect.jvm.internal.ReflectProperties$Val.getValue(ReflectProperties.java:19)
at kotlin.reflect.jvm.internal.KClassImpl$Data.getSimpleName(KClassImpl.java:19)
at kotlin.reflect.jvm.internal.KClassImpl.getSimpleName(KClassImpl.kt:19)
at kotlinx.serialization.SealedClassSerializer$descriptor$2$1.invoke(SealedClassSerializer.java:29)
at kotlinx.serialization.SealedClassSerializer$descriptor$2$1.invoke(SealedClassSerializer.java:10)
at com.google.firebase.crashlytics.internal.model.CrashlyticsReport$Session$Application$Organization.X(CrashlyticsReport.java:34)
at kotlinx.serialization.SealedClassSerializer$descriptor$2.invoke(SealedClassSerializer.java:82)
at kotlinx.serialization.SealedClassSerializer$descriptor$2.invoke(SealedClassSerializer.java:13)
at kotlin.SafePublicationLazyImpl.getValue(LazyJVM.kt:1)
at kotlinx.serialization.SealedClassSerializer.getDescriptor(SealedSerializer.kt:1)
at kotlinx.serialization.builtins.BuiltinSerializersKt.getNullable(BuiltinSerializers.kt:1)
at io.intercom.android.sdk.m5.push.SimplePushData.getMessageData(IntercomPushData.kt:1)
at io.intercom.android.sdk.m5.push.IntercomPushData$Companion.createFrom(IntercomPushData.kt:85)
at io.intercom.android.sdk.m5.push.IntercomPushClientHandler.handlePush(IntercomPushClientHandler.kt:17)
at io.intercom.android.sdk.push.IntercomLegacyPushClientHandler.handlePush(IntercomLegacyPushClientHandler.kt:38)
at io.intercom.android.sdk.push.IntercomPushClient.handlePush(IntercomPushClient.kt:1)
at io.intercom.android.sdk.push.IntercomPushClient.handlePush(IntercomPushClient.kt:2)
at io.intercom.android.sdk.fcm.IntercomFcmMessengerService.onMessageReceived(IntercomFcmMessengerService.java:36)
at com.google.firebase.messaging.FirebaseMessagingService.dispatchMessage(FirebaseMessagingService.java:765)
at com.google.firebase.messaging.FirebaseMessagingService.passMessageIntentToSdk(FirebaseMessagingService.java:765)
at com.google.firebase.messaging.FirebaseMessagingService.handleMessageIntent(FirebaseMessagingService.java:765)
at com.google.firebase.messaging.FirebaseMessagingService.handleIntent(FirebaseMessagingService.java:765)
at com.google.firebase.messaging.EnhancedIntentService.lambda$processIntent$0(EnhancedIntentService.java:101)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
at com.google.android.gms.common.util.concurrent.zza.run(zza.java:12)
at java.lang.Thread.run(Thread.java:1012)