Skip to content

[CRASH] IndexOutOfBoundsException #17

Description

@ildar

during scan:

05-19 14:54:58.416  4642  5001 D BluetoothGatt: readRssi() - device: 21:9C:C5:A9:73:43
05-19 14:54:58.799  4642  4911 V BLEM_MAViewModel: checkTimeStamp: removed 26:CA:BE:2F:B6:FF because TTL was exceeded.
05-19 14:54:58.815  4642  4642 D AndroidRuntime: Shutting down VM
05-19 14:54:58.816  4642  4642 E AndroidRuntime: FATAL EXCEPTION: main
05-19 14:54:58.816  4642  4642 E AndroidRuntime: Process: com.huc.android_ble_monitor, PID: 4642
05-19 14:54:58.816  4642  4642 E AndroidRuntime: java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid item position 32(offset:32).state:33 androidx.recyclerview.widget.RecyclerView{4bcdf87 VFED..... .F....ID 0,0-720,1120 #7f090164 app:id/scan_result_recycler_view}, adapter:b.c.a.c.b@63bf5b8, layout:androidx.recyclerview.widget.LinearLayoutManager@b5df91, context:com.huc.android_ble_monitor.activities.MainActivity@ed739cf
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at androidx.recyclerview.widget.j0.k(:49)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at androidx.recyclerview.widget.D.c(:3)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at androidx.recyclerview.widget.LinearLayoutManager.B1()
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at androidx.recyclerview.widget.LinearLayoutManager.m1(:2)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at androidx.recyclerview.widget.LinearLayoutManager.A0(:22)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at androidx.recyclerview.widget.RecyclerView.v()
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at androidx.recyclerview.widget.RecyclerView.t()
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at androidx.recyclerview.widget.RecyclerView.onLayout()
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.view.View.layout(View.java:17641)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:5575)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at androidx.swiperefreshlayout.widget.SwipeRefreshLayout.onLayout()
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.view.View.layout(View.java:17641)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:5575)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1741)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1585)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.widget.LinearLayout.onLayout(LinearLayout.java:1494)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.view.View.layout(View.java:17641)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:5575)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at androidx.drawerlayout.widget.DrawerLayout.onLayout()
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.view.View.layout(View.java:17641)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:5575)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.view.View.layout(View.java:17641)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:5575)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1741)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1585)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.widget.LinearLayout.onLayout(LinearLayout.java:1494)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.view.View.layout(View.java:17641)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:5575)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.view.View.layout(View.java:17641)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:5575)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1741)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1585)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.widget.LinearLayout.onLayout(LinearLayout.java:1494)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.view.View.layout(View.java:17641)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:5575)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at com.android.internal.policy.DecorView.onLayout(DecorView.java:727)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.view.View.layout(View.java:17641)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:5575)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2346)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2068)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1254)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6344)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:874)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.view.Choreographer.doCallbacks(Choreographer.java:686)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.view.Choreographer.doFrame(Choreographer.java:621)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:860)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:751)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:95)
05-19 14:54:58.816  4642  4642 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:154)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions