Crashes related to Zendesk Messaging Mobile SDK
We are seeing some early crashes related to Zendesk chat SDK both Android and iOS.
Currently, we are using 2.13.0
Android: zendesk.messaging:messaging-android:2.13.0
Caused by kotlin.UninitializedPropertyAccessException: lateinit property conversationScreenCoordinator has not been initialized
at zendesk.messaging.android.internal.conversationscreen.ConversationActivity.onStop(ConversationActivity.kt:224)
at android.app.Instrumentation.callActivityOnStop(Instrumentation.java:1570)
at android.app.Activity.performStop(Activity.java:8655)
at android.app.ActivityThread.callActivityOnStop(ActivityThread.java:5509)
at android.app.ActivityThread.performStopActivityInner(ActivityThread.java:5489)
at android.app.ActivityThread.handleStopActivity(ActivityThread.java:5554)
at android.app.servertransaction.StopActivityItem.execute(StopActivityItem.java:43)
at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:176)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2469)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:240)
at android.os.Looper.loop(Looper.java:351)
at android.app.ActivityThread.main(ActivityThread.java:8374)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:568)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1013)
iOS: ZendeskSDKMessaging (2.13.0)
Crashed: com.apple.main-thread 0 ZendeskSDKConversationKit 0x48400 specialized Sequence.forEach(_:) + 6692 (<compiler-generated>:6692) 1 ZendeskSDKConversationKit 0x4bb74 specialized closure #1 in closure #1 in ConversationKitStore.send<A>(action:_:) + 58 (Observable.swift:58) 2 ZendeskSDKConversationKit 0x4bb74 specialized closure #1 in closure #1 in ConversationKitStore.send<A>(action:_:) + 58 (Observable.swift:58) 3 ZendeskSDKConversationKit 0x471e0 thunk for @escaping @callee_guaranteed () -> () + 2052 (<compiler-generated>:2052) 4 libdispatch.dylib 0x2320 _dispatch_call_block_and_release + 32 5 libdispatch.dylib 0x3eac _dispatch_client_callout + 20 6 libdispatch.dylib 0x126a4 _dispatch_main_queue_drain + 928 7 libdispatch.dylib 0x122f4 _dispatch_main_queue_callback_4CF + 44 8 CoreFoundation 0x98d18 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16 9 CoreFoundation 0x7a650 __CFRunLoopRun + 1992 10 CoreFoundation 0x7f4dc CFRunLoopRunSpecific + 612 11 GraphicsServices 0x135c GSEventRunModal + 164 12 UIKitCore 0x39d37c -[UIApplication _run] + 888 13 UIKitCore 0x39cfe0 UIApplicationMain + 340 14 Coins 0x1b954c4 main + 14 (main.m:14) 15 ??? 0x1b677cdec (Missing)
Could you please investigate and provide us with how to fix this?
Also, we can see that there is a new version 2.14.1.
Should we upgrade it now in order to fix this?
Thank you!
-
Hi,
We've noticed the same crash on iOS as mentioned above which is affecting our crash free rate.
In the latest release 2.16.0 there is a note saying
- Fixed an intermittent crash issue that occurred during the process of notifying observers
Does that mean that the crash has been addressed?
Sequence.forEach(_:)
Thanks,
Dalia
Vous devez vous connecter pour laisser un commentaire.
1 Commentaires