我在我的项目中没有直接使用AutofillManager的痕迹,但在崩溃分析中仍然遇到了这个问题。我们该如何处理呢?
崩溃日志:
java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.os.Bundle.containsKey(java.lang.String)' on a null object reference.
android.view.autofill.AutofillManager.onAuthenticationResult AutofillManager.java:1798
android.app.Activity.dispatchActivityResult Activity.java:8674
android.app.ActivityThread.deliverResults ActivityThread.java:5850
android.app.ActivityThread.handleSendResult ActivityThread.java:5896
android.app.servertransaction.ActivityResultItem.execute ActivityResultItem.java:54
android.app.servertransaction.ActivityTransactionItem.execute ActivityTransactionItem.java:45
android.app.servertransaction.TransactionExecutor.executeCallbacks TransactionExecutor.java:135
android.app.servertransaction.TransactionExecutor.execute TransactionExecutor.java:95
android.app.ActivityThread$H.handleMessage ActivityThread.java:2434
android.os.Handler.dispatchMessage Handler.java:106
android.os.Looper.loopOnce Looper.java:226
android.os.Looper.loop Looper.java:313
android.app.ActivityThread.main ActivityThread.java:8633
java.lang.reflect.Method.invoke Method.java
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run RuntimeInit.java:567
com.android.internal.os.ZygoteInit.main ZygoteInit.java:1135