-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Description
Describe the bug
Crash when sort by Ascending & Descending in search.
To Reproduce
Steps to reproduce the behavior:
- Go to 'Search'
- Search anything
- click
Sort By ... - Click
AscendingorDescending
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
amaze_crash.mp4
Exception
- App Name: Amaze File Manager
- Package: com.amaze.filemanager
- Version: 3.10
- User Action: UI Error
- Request: Application crash
- OS: Linux Android 10 - 29
- Device: HWLRA-H
- Model: LRA-AL00
- Product: LRA-AL00
Crash log
java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.Object[] java.util.Collection.toArray()' on a null object reference
at java.util.ArrayList.<init>(ArrayList.java:191)
at com.amaze.filemanager.ui.views.appbar.SearchView.updateResultList(SearchView.java:375)
at com.amaze.filemanager.ui.views.appbar.SearchView.onSortTypeSelected(SearchView.java:481)
at com.amaze.filemanager.ui.views.appbar.SearchView.lambda$showSearchResultsSortDialog$10(SearchView.java:464)
at com.amaze.filemanager.ui.views.appbar.SearchView.$r8$lambda$2i4K5Lmbv48UVtMgrOeSwx46nss(Unknown Source:0)
at com.amaze.filemanager.ui.views.appbar.SearchView$$ExternalSyntheticLambda9.onClick(Unknown Source:2)
at com.afollestad.materialdialogs.MaterialDialog.onClick(MaterialDialog.java:433)
at android.view.View.performClick(View.java:7322)
at android.view.View.performClickInternal(View.java:7296)
at android.view.View.access$3600(View.java:839)
at android.view.View$PerformClick.run(View.java:28319)
at android.os.Handler.handleCallback(Handler.java:900)
at android.os.Handler.dispatchMessage(Handler.java:103)
at android.os.Looper.loop(Looper.java:219)
at android.app.ActivityThread.main(ActivityThread.java:8673)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1109)
Additional context
Add any other context about the problem here.
VishnuSanal
Metadata
Metadata
Assignees
Labels
No labels