Crash when opening intercom (Android SDK)

  • 14 November 2022
  • 1 reply

Today we start receiving reports of crashes when intercom is opened, it seems to be something to do with a API response:


Stacktrace received:

java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType
at retrofit2.HttpServiceMethod.parseAnnotations(
at retrofit2.ServiceMethod.parseAnnotations(
at retrofit2.Retrofit.loadServiceMethod(
at retrofit2.Retrofit$1.invoke(
at java.lang.reflect.Proxy.invoke(
at $Proxy2.getHomeCardsSuspend()
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:749)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$


We are using the 10.6.3 version, a few months ago we have to downgrade to this version because of this issue:;s1oid=00Do0000000Yp25&s1nid=0DB2G000000XZEa&s1uid=0055c000009C4Np&s1ext=0&emkind=chatterCommentNotification&emtm=1657132116333


We are looking to upgrade for the latest version, but will take some time.


May this issue be related to the newest android sdk version released today?


Best answer by Daniel M15 16 November 2022, 14:35

View original

1 reply

Userlevel 2

Hey @douglas g​! Daniel from Customer Support Engineering here 🔧 


My best recommendation here would be to update to the newest version of our SDK, as it will contain in fixes for crashes and bugs. I can't guarantee that it will solve this particular issue, but it is always our fist port of call. Even before this this, I would suggest revising your configuration to ensure that it is in line with our installation docs. Failing that, could you please contact us via the Messenger about the issue, supplying as much detail as possible including the device you tested on, the Android OS version, and how many devices/networks you've tested this on? Thank you!