This information is generated from the Crash Log View application Process: com.miui.home PID: 30782 UID: 10156 Frozen: false Flags: 0x30d9be45 Package: com.miui.home v439148224 (RELEASE-4.39.14.8224-07021808) Foreground: Yes Process-Runtime: 1058001 Build: Xiaomi/ziyi_global/ziyi:14/UKQ1.231003.002/V816.0.7.0.ULLMIXM:user/release-keys Crash-Handler: com.google.firebase.crashlytics.internal.common.CrashlyticsUncaughtExceptionHandler Loading-Progress: 1.0 Dropped-Count: 0 java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=5, result=-1, data=null} to activity {com.miui.home/com.miui.home.launcher.Launcher}: java.lang.NullPointerException: Attempt to invoke virtual method 'long android.content.Intent.getLongExtra(java.lang.String, long)' on a null object reference at android.app.ActivityThread.deliverResults(ActivityThread.java:5786) at android.app.ActivityThread.handleSendResult(ActivityThread.java:5830) at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:70) at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45) at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:149) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:99) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2589) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loopOnce(Looper.java:224) at android.os.Looper.loop(Looper.java:318) at android.app.ActivityThread.main(ActivityThread.java:8755) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:561) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1013) Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'long android.content.Intent.getLongExtra(java.lang.String, long)' on a null object reference at com.miui.home.launcher.Launcher.completeAddAppWidget(Launcher.java:2658) at com.miui.home.launcher.Launcher.onActivityResult(Launcher.java:1649) at android.app.Activity.dispatchActivityResult(Activity.java:9298) at android.app.ActivityThread.deliverResults(ActivityThread.java:5779) ... 13 more