TeamAmaze / AmazeFileManager

Material design file manager for Android
https://teamamaze.xyz
GNU General Public License v3.0
5.36k stars 1.58k forks source link

Help #3715

Closed ghost closed 1 year ago

ghost commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

Issue explanation (write below this line)

Exception

java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Class java.lang.Object.getClass()' on a null object reference
    at com.amaze.filemanager.ui.views.appbar.BottomBar$2.onLongPress(BottomBar.java:198)
    at android.view.GestureDetector.dispatchLongPress(GestureDetector.java:986)
    at android.view.GestureDetector.access$400(GestureDetector.java:69)
    at android.view.GestureDetector$GestureHandler.handleMessage(GestureDetector.java:350)
    at android.os.Handler.dispatchMessage(Handler.java:106)
    at android.os.Looper.loopOnce(Looper.java:226)
    at android.os.Looper.loop(Looper.java:313)
    at android.app.ActivityThread.main(ActivityThread.java:8669)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)


VishnuSanal commented 1 year ago

@sarah2023 Thanks for reporting!

But, that error report is not from the official app.

Get the official version from here

Play Store https://play.google.com/store/apps/details?id=com.amaze.filemanager

FDroid https://apt.izzysoft.de/fdroid/index/apk/com.amaze.filemanager

AFH https://www.androidfilehost.com/?w=files&flid=73967

GitHub https://github.com/TeamAmaze/AmazeFileManager/releases