Skip to main content
Answered

Crash on attachments, Android 9

  • 27 November 2024
  • 5 replies
  • 68 views

   Intercom crashes every time you try to attach any type of content (even embedded gifs) on Android 9

java.lang.NullPointerException
                 	at androidx.compose.ui.node.LayoutNodeDrawScope.drawContent(LayoutNodeDrawScope.kt:49)
                 	at io.intercom.android.sdk.m5.conversation.ui.ConversationScreenKt$ConversationScreenContent$32$1$1.invoke(ConversationScreen.kt:581)
                 	at io.intercom.android.sdk.m5.conversation.ui.ConversationScreenKt$ConversationScreenContent$32$1$1.invoke(ConversationScreen.kt:580)
                 	at androidx.compose.ui.graphics.drawscope.DrawScope$record$1.invoke(DrawScope.kt:1077)
                 	at androidx.compose.ui.graphics.drawscope.DrawScope$record$1.invoke(DrawScope.kt:941)
                 	at androidx.compose.ui.graphics.layer.GraphicsLayer$clipDrawBlock$1.invoke(AndroidGraphicsLayer.android.kt:71)
                 	at androidx.compose.ui.graphics.layer.GraphicsLayer$clipDrawBlock$1.invoke(AndroidGraphicsLayer.android.kt:66)
                 	at androidx.compose.ui.graphics.layer.ViewLayer.dispatchDraw(GraphicsViewLayer.android.kt:592)
                 	at android.view.View.draw(View.java:20210)
                 	at android.view.View.updateDisplayListIfDirty(View.java:19082)
                 	at android.view.View.draw(View.java:19935)
                 	at android.view.ViewGroup.drawChild(ViewGroup.java:4333)
                 	at androidx.compose.ui.graphics.layer.view.DrawChildContainer.drawChild$ui_graphics_release(ViewLayerContainer.android.kt:118)
                 	at androidx.compose.ui.graphics.layer.GraphicsViewLayer.draw(GraphicsViewLayer.android.kt:465)
                 	at androidx.compose.ui.graphics.layer.GraphicsLayer.draw$ui_graphics_release(AndroidGraphicsLayer.android.kt:548)
                 	at androidx.compose.ui.graphics.layer.LayerSnapshotV28$GraphicsLayerPicture.draw(LayerSnapshot.android.kt:73)
                 	at android.view.RecordingCanvas.drawPicture(RecordingCanvas.java:292)
                 	at android.graphics.Bitmap.createBitmap(Bitmap.java:1248)
                 	at android.graphics.Bitmap.createBitmap(Bitmap.java:1205)
                 	at androidx.compose.ui.graphics.layer.LayerSnapshotV28.toBitmap(LayerSnapshot.android.kt:47)
                 	at androidx.compose.ui.graphics.layer.GraphicsLayer.toImageBitmap(AndroidGraphicsLayer.android.kt:864)
                 	at io.intercom.android.sdk.m5.conversation.ui.ConversationScreenKt$ConversationScreenContent$32$2$1.invokeSuspend(ConversationScreen.kt:592)
                 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
                 	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
                 	at androidx.compose.ui.platform.AndroidUiDispatcher.performTrampolineDispatch(AndroidUiDispatcher.android.kt:81)
                 	at androidx.compose.ui.platform.AndroidUiDispatcher.access$performTrampolineDispatch(AndroidUiDispatcher.android.kt:41)
                 	at androidx.compose.ui.platform.AndroidUiDispatcher$dispatchCallback$1.run(AndroidUiDispatcher.android.kt:57)
                 	at android.os.Handler.handleCallback(Handler.java:873)
                 	at android.os.Handler.dispatchMessage(Handler.java:99)
                 	at android.os.Looper.loop(Looper.java:193)
                 	at android.app.ActivityThread.main(ActivityThread.java:6669)
                 	at java.lang.reflect.Method.invoke(Native Method)
                 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
                 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)

 

Best answer by Shaq Payne

Hey Shaq with the Support Engineering team here at Intercom! 🙂

I’ve received reports of this in the past but we’re not currently investigating any widespread issues related to this. Can you confirm which version of the SDK you’re using and upgrade to the latest version found here if you aren’t already? 

View original
Did this topic help you find an answer to your question?

5 replies

Shaq Payne
Intercom Team
Forum|alt.badge.img+2
  • Intercom Team
  • 27 replies
  • Answer
  • December 2, 2024

Hey Shaq with the Support Engineering team here at Intercom! 🙂

I’ve received reports of this in the past but we’re not currently investigating any widespread issues related to this. Can you confirm which version of the SDK you’re using and upgrade to the latest version found here if you aren’t already? 


  • Author
  • New Participant
  • 2 replies
  • December 2, 2024
Shaq Payne wrote:

Hey Shaq with the Support Engineering team here at Intercom! 🙂

I’ve received reports of this in the past but we’re not currently investigating any widespread issues related to this. Can you confirm which version of the SDK you’re using and upgrade to the latest version found here if you aren’t already? 

Hello. We use latest sdk version: 15.11.2


Shaq Payne
Intercom Team
Forum|alt.badge.img+2
  • Intercom Team
  • 27 replies
  • December 30, 2024

Thanks for confirming, are you still seeing this? If so, I can go ahead and escalate this further. 


  • New Participant
  • 1 reply
  • January 1, 2025
Shaq Payne wrote:

Thanks for confirming, are you still seeing this? If so, I can go ahead and escalate this further. 

Still having this issue, I’m using react native SDK version: 8.1.0


  • New Participant
  • 1 reply
  • January 4, 2025

Have the same issue! Whats wrong with android developers at intercom?

Every release — a lot of crashes & problems! Ios works fine! Dislike!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings