skip to Main Content

I have no direct traces of using AutofillManager in my project but still getting this crash in crash analytics. How we can handle this?

Crash Logs-

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

2

Answers


  1. There is an open issue in Chromium for something similar to this. It looks like it might have been fixed in the latest version, so we’ll probably have to wait for users to update their browsers and webviews.

    Login or Signup to reply.
  2. It is happening only for Android 12 devices.

    Here is the open issue by Google.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search