Skip to main content

Hi, we have a crash on Crashlytics, caused by the Intercom Android SDK (version 9.2.0).

I was not able to reproduce.

Intercom version: 9.2.0

Target SDK: API 30

Brand: Xiaomi

Model: POCO M3

Android version: Android 10

Caused by java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

at java.util.ArrayList.get(ArrayList.java:437)

at io.intercom.android.sdk.conversation.ConversationFragment.onConversationCreated(ConversationFragment.java:607)

at io.intercom.android.sdk.conversation.ConversationContentPresenter.newTriggerConversationSuccess(ConversationContentPresenter.java:949)

at java.lang.reflect.Method.invoke(Method.java)

at com.squareup.otto.EventHandler.handleEvent(EventHandler.java:89)

at com.squareup.otto.Bus.dispatch(Bus.java:385)

at com.squareup.otto.Bus.dispatchQueuedEvents(Bus.java:368)

at com.squareup.otto.Bus.post(Bus.java:337)

at io.intercom.android.sdk.MainThreadBus.post(MainThreadBus.java:18)

at io.intercom.android.sdk.api.CallbackHolder$7.onSuccess(CallbackHolder.java:126)

at io.intercom.android.sdk.api.CallbackHolder$7.onSuccess(CallbackHolder.java:122)

at io.intercom.android.sdk.api.BaseCallback.onResponse(BaseCallback.java:32)

at retrofit2.DefaultCallAdapterFactory$ExecutorCallbackCall$1.lambda$onResponse$0$DefaultCallAdapterFactory$ExecutorCallbackCall$1(DefaultCallAdapterFactory.java:89)

at retrofit2.-$$Lambda$DefaultCallAdapterFactory$ExecutorCallbackCall$1$hVGjmafRi6VitDIrPNdoFizVAdk.run(:6)

at android.os.Handler.handleCallback(Handler.java:883)

at android.os.Handler.dispatchMessage(Handler.java:100)

at android.os.Looper.loop(Looper.java:226)

at android.app.ActivityThread.main(ActivityThread.java:7592)

at java.lang.reflect.Method.invoke(Method.java)

at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)

 

Hey @vedad​, you're using an outdated version of our Android SDK. Please ensure that you're running the latest version by updating your dependencies.


Reply