Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal Exception: java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid item position 11(offset:11).state:16 #108

Closed
phillipthelen opened this issue Dec 5, 2015 · 3 comments
Milestone

Comments

@phillipthelen
Copy link
Member

Fatal Exception: java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid item position 11(offset:11).state:16
   at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4405)
   at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4363)
   at android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:1961)
   at android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1370)
   at android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1333)
   at android.support.v7.widget.LinearLayoutManager.scrollBy(LinearLayoutManager.java:1161)
   at android.support.v7.widget.LinearLayoutManager.scrollVerticallyBy(LinearLayoutManager.java:1018)
   at android.support.v7.widget.RecyclerView$ViewFlinger.run(RecyclerView.java:3807)
   at android.view.Choreographer$CallbackRecord.run(Choreographer.java:814)
   at android.view.Choreographer.doCallbacks(Choreographer.java:614)
   at android.view.Choreographer.doFrame(Choreographer.java:583)
   at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:800)
   at android.os.Handler.handleCallback(Handler.java:733)
   at android.os.Handler.dispatchMessage(Handler.java:95)
   at android.os.Looper.loop(Looper.java:146)
   at android.app.ActivityThread.main(ActivityThread.java:5602)
   at java.lang.reflect.Method.invokeNative(Method.java)
   at java.lang.reflect.Method.invoke(Method.java:515)
   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
   at dalvik.system.NativeStart.main(NativeStart.java)
@phillipthelen phillipthelen added this to the 1.0 milestone Dec 5, 2015
@negue
Copy link
Member

negue commented Dec 5, 2015

according to https://code.google.com/p/android/issues/detail?id=77846 we may forgot a notifyDataSetChanged?

@franzejr
Copy link
Contributor

franzejr commented Dec 7, 2015

We have some notifyDataSetChanged: https://github.com/HabitRPG/habitrpg-android/search?utf8=%E2%9C%93&q=notifyDataSetChanged

This error is happening in the last day, @Viirus ?

@franzejr
Copy link
Contributor

franzejr commented Dec 7, 2015

What do you think, @Viirus ? It has happened in the last few days?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants