wordpress-mobile / wordpress-mobile/WordPress-Android

IndexOutOfBoundsException: Inconsistency detected. Invalid item position 5(offset:5).state:6 androidx.recyclerview.widget.Re...

Open
#20,601 2 comments 0 reactions 1 assignee View on GitHub

@jarvislin is already working on this.

Since Apr 5, 2024.

[Type] Bug [Type] Crash
Dominant language
Kotlin
Stars
3.2k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
69

Description

Sentry Issue: JETPACK-ANDROID-827

IndexOutOfBoundsException: Inconsistency detected. Invalid item position 5(offset:5).state:6 androidx.recyclerview.widget.RecyclerView{2f6ce52 VFED.V... ......ID 0,0-1080,1677 #7f0a0623 app:id/notifications_list}, adapter:org.wordpress.android.ui.notifications.adapters.NotesAdapter@19e131, layout:org.wordpress.android.ui.notifications.NotificationsListFragmentPage$LinearLayoutManagerWrapper@b5f0523, context:dagger.hilt.android.internal.managers.ViewComponentManager$FragmentContextWrapper@8324c43
    at androidx.recyclerview.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:6752)
    at androidx.recyclerview.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:6688)
    at androidx.recyclerview.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:6684)
    at androidx.recyclerview.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2362)
    at androidx.recyclerview.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1662)
...
(79 additional frame(s) were not displayed)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.