Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPE on BottomBar#onLongPress #3003

Open
amaze-issue-automation bot opened this issue Nov 10, 2021 · 2 comments
Open

NPE on BottomBar#onLongPress #3003

amaze-issue-automation bot opened this issue Nov 10, 2021 · 2 comments
Assignees
Labels
Crash-NullPointerException From-Email This is from an email, probably lacking replication info Issue-Bug Related unexpected behavior or something worth investigating. Issue-Easy (good first issue) Beginners welcome! Issues with relative low difficulty. Issue-Severe (high) Showstopper issues that require immediate attention
Milestone

Comments

@amaze-issue-automation
Copy link

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)


@amaze-issue-automation amaze-issue-automation bot added the From-Email This is from an email, probably lacking replication info label Nov 10, 2021
@VishnuSanal VishnuSanal changed the title Crash reported by JR NPE on BottomBar.onLongPress() Nov 15, 2021
@VishnuSanal VishnuSanal added Issue-Bug Related unexpected behavior or something worth investigating. Crash-NullPointerException labels Nov 15, 2021
@VishalNehra VishalNehra added this to the v3.7 milestone Dec 12, 2021
@EmmanuelMess EmmanuelMess added the Issue-Severe (high) Showstopper issues that require immediate attention label Feb 19, 2022
@VishalNehra VishalNehra modified the milestones: v3.7, v4.0 Apr 24, 2022
@VishnuSanal VishnuSanal changed the title NPE on BottomBar.onLongPress() NPE on BottomBar#onLongPress Apr 18, 2023
@VishnuSanal
Copy link
Member

#3787 (comment)

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

@VishnuSanal VishnuSanal self-assigned this Nov 12, 2023
@VishalNehra VishalNehra modified the milestones: v3.9, v4.0 Feb 17, 2024
@VishnuSanal VishnuSanal removed their assignment Aug 10, 2024
@VishnuSanal VishnuSanal added the Issue-Easy (good first issue) Beginners welcome! Issues with relative low difficulty. label Dec 30, 2024
@VishnuSanal
Copy link
Member

good first issue: simply replace Objects#requireNonNull call with a != null check.

@VishnuSanal VishnuSanal self-assigned this Jan 1, 2025
VishnuSanal added a commit that referenced this issue Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Crash-NullPointerException From-Email This is from an email, probably lacking replication info Issue-Bug Related unexpected behavior or something worth investigating. Issue-Easy (good first issue) Beginners welcome! Issues with relative low difficulty. Issue-Severe (high) Showstopper issues that require immediate attention
Projects
None yet
Development

No branches or pull requests

3 participants