java.lang.IndexOutOfBoundsException

Inconsistency detected. Invalid item position 3(offset:3).state:12

Samebug tips1

You have to provide valid identical number for each child items.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web317

  • Stack trace

    • java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid item position 3(offset:3).state:12 at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4653) at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4611) at android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:1988) at android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1384) at android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1347) at android.support.v7.widget.LinearLayoutManager.scrollBy(LinearLayoutManager.java:1174) at android.support.v7.widget.LinearLayoutManager.scrollHorizontallyBy(LinearLayoutManager.java:1019) at android.support.v7.widget.RecyclerView$ViewFlinger.run(RecyclerView.java:4051) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:799) at android.view.Choreographer.doCallbacks(Choreographer.java:599) at android.view.Choreographer.doFrame(Choreographer.java:558) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:784) at android.os.Handler.handleCallback(Handler.java:733) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:157) at android.app.ActivityThread.main(ActivityThread.java:5872) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:674) at dalvik.system.NativeStart.main(Native Method)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitor2 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Hiren AmaliyarHiren Amaliyar
    10 times, last one
    Unknown visitor
    Unknown visitorOnce,
    20 more bugmates