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 quitSafely invocation #2981

Closed
amaze-issue-automation bot opened this issue Nov 4, 2021 · 1 comment
Closed

NPE on quitSafely invocation #2981

amaze-issue-automation bot opened this issue Nov 4, 2021 · 1 comment
Labels
Crash-NullPointerException From-telegram Issue reported through telegram channel Issue-Bug Related unexpected behavior or something worth investigating.

Comments

@amaze-issue-automation
Copy link

Issue explanation (write below this line)

Exception

  • App Name: Amaze File Manager
  • Package: com.amaze.filemanager
  • Version: 3.6.5
  • User Action: UI Error
  • Request: Application crash
  • OS: Linux Android 12 - 31
  • Device: redfin
  • Model: Pixel 5
  • Product: redfin
Crash log

java.lang.RuntimeException: Unable to destroy activity {com.amaze.filemanager/com.amaze.filemanager.ui.activities.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.os.HandlerThread.quitSafely()' on a null object reference
at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:5390)
at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:5423)
at android.app.servertransaction.DestroyActivityItem.execute(DestroyActivityItem.java:47)
at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:176)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2214)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7842)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.os.HandlerThread.quitSafely()' on a null object reference
at com.amaze.filemanager.ui.activities.MainActivity.closeInteractiveShell(MainActivity.java:1380)
at com.amaze.filemanager.ui.activities.MainActivity.onDestroy(MainActivity.java:1367)
at android.app.Activity.performDestroy(Activity.java:8316)
at android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1364)
at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:5377)
... 13 more


Reporter: Trademepig

@amaze-issue-automation amaze-issue-automation bot added the From-telegram Issue reported through telegram channel label Nov 4, 2021
@EmmanuelMess EmmanuelMess changed the title Crash reported by Trademepig NPE on quitSafely invocation Nov 4, 2021
@EmmanuelMess EmmanuelMess added Issue-Bug Related unexpected behavior or something worth investigating. Crash-NullPointerException labels Nov 4, 2021
@TranceLove
Copy link
Collaborator

With migration to libsu at #3171 this should have been fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Crash-NullPointerException From-telegram Issue reported through telegram channel Issue-Bug Related unexpected behavior or something worth investigating.
Projects
None yet
Development

No branches or pull requests

2 participants