Recent searches


No recent searches

Zendesk Messaging Android SDK crashes



Posted Jun 02, 2023

Hello Zendesk team, we have integrated the Zendesk messaging SDK into our app for some time now but we noticed some crash occurrences related to your SDK that we would like your input.

We were not able to reproduce those crashes but we have been monitoring their occurrence from Crashlytics for some time now.

SDK:

zendesk.messaging:messaging-android:2.11

 

Crash 1 - Also occurred in previous SDK versions:

Caused by kotlin.UninitializedPropertyAccessException: lateinit property conversationScreenCoordinator has not been initialized
       at zendesk.messaging.android.internal.conversationscreen.ConversationActivity.onStop(ConversationActivity.kt:219)
       at android.app.Instrumentation.callActivityOnStop(Instrumentation.java:1510)
       at android.app.Activity.performStop(Activity.java:8371)
       at android.app.ActivityThread.callActivityOnStop(ActivityThread.java:5415)
       at android.app.ActivityThread.performStopActivityInner(ActivityThread.java:5395)
       at android.app.ActivityThread.handleStopActivity(ActivityThread.java:5460)
       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:2374)
       at android.os.Handler.dispatchMessage(Handler.java:106)
       at android.os.Looper.loopOnce(Looper.java:233)
       at android.os.Looper.loop(Looper.java:344)
       at android.app.ActivityThread.main(ActivityThread.java:8249)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:589)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1071)

 

Crash 2 - Started occurring in the latest 2.11 version:

Fatal Exception: java.lang.OutOfMemoryError: Failed to allocate a 16 byte allocation with 86192 free bytes and 84KB until OOM, target footprint 268435456, growth limit 268435456; giving up on allocation because <1% of heap free after GC.
       at zendesk.conversationkit.android.internal.faye.DefaultSunCoFayeClient$onSubscribedToChannel$1.invokeSuspend(SunCoFayeClient.kt:352)
       at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
       at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
       at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.java:570)
       at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
       at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
     at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)


Let me know if there's any other info we can provide to help you investigate them.

Thanks


0

0

0 comments

Sign in to leave a comment.

Didn't find what you're looking for?

New post