celzero / rethink-app

DNS over HTTPS / DNS over Tor / DNSCrypt client, WireGuard proxifier, firewall, and connection tracker for Android.
https://rethinkfirewall.com/
Apache License 2.0
3.01k stars 153 forks source link

v55o: IndexOutOfBoundsException in NetworkLogsActivity via Recycler.validateViewHolderForOffsetPosition #1664

Open ignoramous opened 2 months ago

ignoramous commented 2 months ago

Happened when typing in the search box in Configure -> Apps:

08-28 01:32:17.767 23474 23474 E AndroidRuntime: Process: com.celzero.bravedns, PID: 23474
08-28 01:32:17.767 23474 23474 E AndroidRuntime: java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid view holder adapter positionConnectionTrackerViewHolder{fcd17d9 position=112 id=-1, oldPos=211, pLpos:112 scrap [attachedScrap] tmpDetached no parent} com.simplecityapps.recyclerview_fastscroll.views.FastScrollRecyclerView{590ca8b VFED..C.. ........ 5,153-1075,1314 #7f09054e app:id/recycler_connection viewInfo = }, adapter:com.celzero.bravedns.adapter.ConnectionTrackerAdapter@29d1a40, layout:androidx.recyclerview.widget.LinearLayoutManager@56195a5, context:com.celzero.bravedns.ui.activity.NetworkLogsActivity@cecc4a8
08-28 01:32:17.767 23474 23474 E AndroidRuntime: >--at androidx.recyclerview.widget.RecyclerView$Recycler.validateViewHolderForOffsetPosition(RecyclerView.java:6590)
08-28 01:32:17.767 23474 23474 E AndroidRuntime: >--at androidx.recyclerview.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:6796)
08-28 01:32:17.767 23474 23474 E AndroidRuntime: >--at androidx.recyclerview.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:6757)
08-28 01:32:17.767 23474 23474 E AndroidRuntime: >--at androidx.recyclerview.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:6753)
08-28 01:32:17.767 23474 23474 E AndroidRuntime: >--at androidx.recyclerview.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2362)
08-28 01:32:17.767 23474 23474 E AndroidRuntime: >--at androidx.recyclerview.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1662)
08-28 01:32:17.767 23474 23474 E AndroidRuntime: >--at androidx.recyclerview.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1622)
08-28 01:32:17.767 23474 23474 E AndroidRuntime: >--at androidx.recyclerview.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:687)
08-28 01:32:17.767 23474 23474 E AndroidRuntime: >--at androidx.recyclerview.widget.RecyclerView.dispatchLayoutStep1(RecyclerView.java:4591)
08-28 01:32:17.767 23474 23474 E AndroidRuntime: >--at androidx.recyclerview.widget.RecyclerView.dispatchLayout(RecyclerView.java:4346)
08-28 01:32:17.767 23474 23474 E AndroidRuntime: >--at androidx.recyclerview.widget.RecyclerView.consumePendingUpdateOperations(RecyclerView.java:2106)
08-28 01:32:17.767 23474 23474 E AndroidRuntime: >--at androidx.recyclerview.widget.RecyclerView$1.run(RecyclerView.java:468)
08-28 01:32:17.767 23474 23474 E AndroidRuntime: >--at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1544)
08-28 01:32:17.767 23474 23474 E AndroidRuntime: >--at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1553)
08-28 01:32:17.767 23474 23474 E AndroidRuntime: >--at android.view.Choreographer.doCallbacks(Choreographer.java:1109)
08-28 01:32:17.767 23474 23474 E AndroidRuntime: >--at android.view.Choreographer.doFrame(Choreographer.java:984)
08-28 01:32:17.767 23474 23474 E AndroidRuntime: >--at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1527)
08-28 01:32:17.767 23474 23474 E AndroidRuntime: >--at android.os.Handler.handleCallback(Handler.java:958)
08-28 01:32:17.767 23474 23474 E AndroidRuntime: >--at android.os.Handler.dispatchMessage(Handler.java:99)
08-28 01:32:17.767 23474 23474 E AndroidRuntime: >--at android.os.Looper.loopOnce(Looper.java:257)
08-28 01:32:17.767 23474 23474 E AndroidRuntime: >--at android.os.Looper.loop(Looper.java:368)
08-28 01:32:17.767 23474 23474 E AndroidRuntime: >--at android.app.ActivityThread.main(ActivityThread.java:8826)
08-28 01:32:17.767 23474 23474 E AndroidRuntime: >--at java.lang.reflect.Method.invoke(Native Method)
08-28 01:32:17.767 23474 23474 E AndroidRuntime: >--at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:572)
08-28 01:32:17.767 23474 23474 E AndroidRuntime: >--at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1049)
ignoramous commented 1 month ago
09-23 07:15:55.283  7701  7701 E AndroidRuntime: FATAL EXCEPTION: main          
09-23 07:15:55.283  7701  7701 E AndroidRuntime: Process: com.celzero.bravedns, PID: 7701
09-23 07:15:55.283  7701  7701 E AndroidRuntime: java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid view holder adapter positionConnectionTrackerViewHolder{1fcff7e position=52 id=-1, oldPos=60, pLpos:52 scrap [attachedScrap] tmpDetached no parent} com.simplecityapps.recyclerview_fastscroll.views.FastScrollRecyclerView{6b53f7 VFED..C.. ........ 5,153-1075,1314 #7f090563 app:id/recycler_connection viewInfo = }, adapter:com.celzero.bravedns.adapter.ConnectionTrackerAdapter@e5d1059, layout:androidx.recyclerview.widget.LinearLayoutManager@4e78bb1, context:com.celzero.bravedns.ui.activity.NetworkLogsActivity@cbcdafa
09-23 07:15:55.283  7701  7701 E AndroidRuntime: >--at androidx.recyclerview.widget.RecyclerView$Recycler.validateViewHolderForOffsetPosition(RecyclerView.java:6590)
09-23 07:15:55.283  7701  7701 E AndroidRuntime: >--at androidx.recyclerview.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:6796)
09-23 07:15:55.283  7701  7701 E AndroidRuntime: >--at androidx.recyclerview.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:6757)
09-23 07:15:55.283  7701  7701 E AndroidRuntime: >--at androidx.recyclerview.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:6753)
09-23 07:15:55.283  7701  7701 E AndroidRuntime: >--at androidx.recyclerview.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2362)
09-23 07:15:55.283  7701  7701 E AndroidRuntime: >--at androidx.recyclerview.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1662)
09-23 07:15:55.283  7701  7701 E AndroidRuntime: >--at androidx.recyclerview.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1622)
09-23 07:15:55.283  7701  7701 E AndroidRuntime: >--at androidx.recyclerview.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:687)
09-23 07:15:55.283  7701  7701 E AndroidRuntime: >--at androidx.recyclerview.widget.RecyclerView.dispatchLayoutStep1(RecyclerView.java:4591)
09-23 07:15:55.283  7701  7701 E AndroidRuntime: >--at androidx.recyclerview.widget.RecyclerView.dispatchLayout(RecyclerView.java:4346)
09-23 07:15:55.283  7701  7701 E AndroidRuntime: >--at androidx.recyclerview.widget.RecyclerView.consumePendingUpdateOperations(RecyclerView.java:2106)
09-23 07:15:55.283  7701  7701 E AndroidRuntime: >--at androidx.recyclerview.widget.RecyclerView$1.run(RecyclerView.java:468)
09-23 07:15:55.283  7701  7701 E AndroidRuntime: >--at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1544)
09-23 07:15:55.283  7701  7701 E AndroidRuntime: >--at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1553)
09-23 07:15:55.283  7701  7701 E AndroidRuntime: >--at android.view.Choreographer.doCallbacks(Choreographer.java:1109)
09-23 07:15:55.283  7701  7701 E AndroidRuntime: >--at android.view.Choreographer.doFrame(Choreographer.java:984)
09-23 07:15:55.283  7701  7701 E AndroidRuntime: >--at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1527)
09-23 07:15:55.283  7701  7701 E AndroidRuntime: >--at android.os.Handler.handleCallback(Handler.java:958)
09-23 07:15:55.283  7701  7701 E AndroidRuntime: >--at android.os.Handler.dispatchMessage(Handler.java:99)
09-23 07:15:55.283  7701  7701 E AndroidRuntime: >--at android.os.Looper.loopOnce(Looper.java:257)
09-23 07:15:55.283  7701  7701 E AndroidRuntime: >--at android.os.Looper.loop(Looper.java:368)
09-23 07:15:55.283  7701  7701 E AndroidRuntime: >--at android.app.ActivityThread.main(ActivityThread.java:8839)
09-23 07:15:55.283  7701  7701 E AndroidRuntime: >--at java.lang.reflect.Method.invoke(Native Method)
09-23 07:15:55.283  7701  7701 E AndroidRuntime: >--at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:572)
09-23 07:15:55.283  7701  7701 E AndroidRuntime: >--at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1049)
09-23 07:15:55.301  2109  8022 W OplusEapManager handleErrorInfo sendEvent: : com.celzero.bravedns happenedcrash