SmartPack / PackageManager

Source code of Package Manager, an Application to Manage your Apps.
https://smartpack.github.io/PackageManager/
GNU General Public License v3.0
448 stars 59 forks source link

Random crash in background #118

Open NikunjKhangwal opened 8 months ago

NikunjKhangwal commented 8 months ago

The app randomly crashed in background when i closed it in latest update. This is nothing major and only happened once but still i thought i would inform. Overall the app works fine.

crash log

FATAL EXCEPTION: main Process: com.smartpack.packagemanager, PID: 8471 java.lang.RuntimeException: Unable to destroy activity {com.smartpack.packagemanager/com.smartpack.packagemanager.MainActivity}: java.lang.NullPointerException at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:5557) at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:5602) 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:2325) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loopOnce(Looper.java:210) at android.os.Looper.loop(Looper.java:299) at android.app.ActivityThread.main(ActivityThread.java:8280) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:576) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1073) Caused by: java.lang.NullPointerException at java.util.Objects.requireNonNull(Objects.java:207) at r3.p.x(SourceFile:37) at androidx.fragment.app.p0.g(SourceFile:203) at androidx.fragment.app.p0.k(SourceFile:274) at androidx.fragment.app.e1.b(SourceFile:64) at androidx.fragment.app.e1.a(SourceFile:17) at androidx.fragment.app.f1.e(SourceFile:225) at androidx.fragment.app.k0.t(SourceFile:57) at androidx.fragment.app.k0.l(SourceFile:32) at androidx.fragment.app.v.onDestroy(SourceFile:12) at d.m.onDestroy(SourceFile:1) at android.app.Activity.performDestroy(Activity.java:8469) at android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1364) at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:5544) ... 13 more