Exodus-Privacy / exodus-android-app

εxodus Android application
GNU General Public License v3.0
697 stars 57 forks source link

Crash on search #100

Closed Jean-BaptisteC closed 1 year ago

Jean-BaptisteC commented 2 years ago

Issue:

How reproduce:

Jean-BaptisteC commented 2 years ago
Version Detected
Android 5 Yes
Android 7 Yes
Android 8 Yes
Android 12 Yes
Jean-BaptisteC commented 2 years ago

Other scenario:

The issue appears when you consult reports or trackers and switch tab. I think this problem and #101 have a link

Jean-BaptisteC commented 2 years ago
ItsIgnacioPortal commented 2 years ago

Also verified on v2.2.1, Android 9:

This information is generated from the Crash Log View application. - https://play.google.com/store/apps/details?id=com.arumcomm.crashlogviewer

Process: org.eu.exodus_privacy.exodusprivacy
PID: 8741
Flags: 0x30d83e44
Package: org.eu.exodus_privacy.exodusprivacy v12 (2.2.1)
Foreground: Yes
Build: motorola/pokerp_64/pokerp:9/PTBS29.401-58-2/58-2:user/release-keys

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
    at java.util.ArrayList.get(ArrayList.java:437)
    at org.eu.exodus_privacy.exodusprivacy.MainActivity$c.a(Unknown Source:7)
    at androidx.appcompat.widget.SearchView.Y(Unknown Source:46)
    at androidx.appcompat.widget.SearchView$a.onTextChanged(Unknown Source:2)
    at android.widget.TextView.sendOnTextChanged(TextView.java:9771)
    at android.widget.TextView.setText(TextView.java:5750)
    at android.widget.TextView.setText(TextView.java:5588)
    at android.widget.EditText.setText(EditText.java:122)
    at android.widget.TextView.setText(TextView.java:5545)
    at androidx.appcompat.widget.SearchView.c(Unknown Source:28)
    at androidx.appcompat.widget.Toolbar$d.j(Unknown Source:125)
    at androidx.appcompat.view.menu.e.m(Unknown Source:45)
    at androidx.appcompat.view.menu.g.expandActionView(Unknown Source:22)
    at androidx.appcompat.view.menu.e.O(Unknown Source:38)
    at androidx.appcompat.view.menu.e.N(Unknown Source:1)
    at androidx.appcompat.widget.ActionMenuView.a(Unknown Source:3)
    at androidx.appcompat.view.menu.ActionMenuItemView.onClick(Unknown Source:6)
    at android.view.View.performClick(View.java:6613)
    at android.view.View.performClickInternal(View.java:6586)
    at android.view.View.access$3100(View.java:780)
    at android.view.View$PerformClick.run(View.java:26100)
    at android.os.Handler.handleCallback(Handler.java:873)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:235)
    at android.app.ActivityThread.main(ActivityThread.java:6760)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:911)