NPE on quitSafely invocation #2981
Labels
Crash-NullPointerException
From-telegram
Issue reported through telegram channel
Issue-Bug
Related unexpected behavior or something worth investigating.
Issue explanation (write below this line)
Exception
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
The text was updated successfully, but these errors were encountered: