AmazeFileManager icon indicating copy to clipboard operation
AmazeFileManager copied to clipboard

`NPE` on `BottomBar#onLongPress`

Open amaze-issue-automation[bot] opened this issue 3 years ago • 1 comments

Issue explanation (write below this line)

Exception

  • App Name: Amaze Dateimanager
  • Package: com.amaze.filemanager
  • Version: 3.6.6
  • User Action: UI Error
  • Request: Application crash
  • OS: Linux Android 11 - 30
  • Device: surya
  • Model: M2007J20CG
  • Product: surya_global Crash log
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:896)
at android.view.GestureDetector.access$300(GestureDetector.java:57)
at android.view.GestureDetector$GestureHandler.handleMessage(GestureDetector.java:322)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7666)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)


https://github.com/TeamAmaze/AmazeFileManager/issues/3787#issue-1672890712

That crash happened when I've tried to extract a .zip archive

VishnuSanal avatar Apr 18 '23 16:04 VishnuSanal