Hello,
We've had a load of crashes on our Android app lately that are coming from the Intercom SDK. I've attached the stacktrace below. Hoping to bring some light on this to see if there is a known issue.
We haven't updated the Android SDK recently, we're using version 9.1.2.
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'void io.intercom.android.sdk.conversation.ConversationContentPresenter.onProfileScrolled()' on a null object reference
at io.intercom.android.sdk.conversation.ConversationFragment$2.onOffsetChanged(ConversationFragment.java:4)
at com.google.android.material.appbar.AppBarLayout.onOffsetChanged(AppBarLayout.java:32)
at com.google.android.material.appbar.AppBarLayout$BaseBehavior.setHeaderTopBottomOffset(AppBarLayout.java:54)
at com.google.android.material.appbar.AppBarLayout$BaseBehavior.setHeaderTopBottomOffset(AppBarLayout.java:2)
at com.google.android.material.appbar.HeaderBehavior.setHeaderTopBottomOffset(HeaderBehavior.java:9)
at com.google.android.material.appbar.AppBarLayout$BaseBehavior$1.onAnimationUpdate(AppBarLayout.java:16)
at android.animation.ValueAnimator.animateValue(ValueAnimator.java:1522)
at android.animation.ValueAnimator.animateBasedOnTime(ValueAnimator.java:1316)
at android.animation.ValueAnimator.doAnimationFrame(ValueAnimator.java:1446)
at android.animation.AnimationHandler.doAnimationFrame(AnimationHandler.java:146)
at android.animation.AnimationHandler.-wrap2(AnimationHandler.java)
at android.animation.AnimationHandler$1.doFrame(AnimationHandler.java:54)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:909)
at android.view.Choreographer.doCallbacks(Choreographer.java:723)
at android.view.Choreographer.doFrame(Choreographer.java:655)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:897)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6944)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)