Answered

Fatal Exception: java.lang.IndexOutOfBoundsException

  • 5 March 2024
  • 1 reply
  • 42 views

I’m using Android SDK version 14.0.0 and I got this crash in intercom.

Inconsistency detected. Invalid view holder adapter positionPartViewHolderCompose{5687a3 position=24 id=-1, oldPos=23, pLpos:23 scrap [attachedScrap] tmpDetached no parent} androidx.recyclerview.widget.RecyclerView{acb0621 VFED..... ......I. 0,109-720,762 #7f0a0212 app:id/conversation_list}, adapter:io.intercom.android.sdk.conversation.ConversationPartAdapter@1f9fbdb, layout:androidx.recyclerview.widget.LinearLayoutManager@88f2678, context:io.intercom.android.sdk.activities.IntercomConversationActivity@4ee8fa7

androidx.recyclerview.widget.RecyclerView$Recycler in validateViewHolderForOffsetPosition at line 6156
androidx.recyclerview.widget.RecyclerView$Recycler in tryGetViewHolderForPositionByDeadline at line 6339
androidx.recyclerview.widget.RecyclerView$Recycler in getViewForPosition at line 6300
androidx.recyclerview.widget.RecyclerView$Recycler in getViewForPosition at line 6296
androidx.recyclerview.widget.LinearLayoutManager$LayoutState in next at line 2330
androidx.recyclerview.widget.LinearLayoutManager in layoutChunk at line 1631
androidx.recyclerview.widget.LinearLayoutManager in fill at line 1591
androidx.recyclerview.widget.LinearLayoutManager in onLayoutChildren at line 668
androidx.recyclerview.widget.RecyclerView in dispatchLayoutStep1 at line 4255
androidx.recyclerview.widget.RecyclerView in dispatchLayout at line 4010
androidx.recyclerview.widget.RecyclerView in consumePendingUpdateOperations at line 2028
androidx.recyclerview.widget.RecyclerView$ViewFlinger in run at line 5434
android.view.Choreographer$CallbackRecord in run at line 972
android.view.Choreographer in doCallbacks at line 796
android.view.Choreographer in doFrame at line 727
android.view.Choreographer$FrameDisplayEventReceiver in run at line 957
android.os.Handler in handleCallback at line 938
android.os.Handler in dispatchMessage at line 99
android.os.Looper in loop at line 250
android.app.ActivityThread in main at line 7877
java.lang.reflect.Method in invoke
com.android.internal.os.RuntimeInit$MethodAndArgsCaller in run at line 592
com.android.internal.os.ZygoteInit in main at line 958

icon

Best answer by mateusz.leszkiewicz 5 March 2024, 16:10

View original

1 reply

Userlevel 2
Badge +3

Hi Aksh,

We are officially supporting only the late version of our SDK; at the moment of writing this reply, this is 15.6.3.

Please update your SDK to the latest release, and if the issue occurs, reach out to us.

Our engineers will help you resolve that issue promptly.

Please let me know if you have any questions about this 😸

Reply