The crash info showed the exception class was a java.lang.NullPointerException
. There was also a stack trace, 10 levels of android.view.view.populatevirtualstructure
(sorry, wrong capitalization), and under that, something about ProvideAutofillStructure
.
So, I set the device's Autofill service to "None" and then force stopped Chrome, and the issue went away. I changed the Autofill service back to the same app it had been before. The problem did not initially return, but eventually came back. Clearing the Autofill service again stopped the crashes again.
I was able to generate a bug report and locate one of the stack traces in the log dump:
09-04 11:57:07.628 10259 11908 11908 E AndroidRuntime: FATAL EXCEPTION: main
09-04 11:57:07.628 10259 11908 11908 E AndroidRuntime: Process: com.android.chrome, PID: 11908
09-04 11:57:07.628 10259 11908 11908 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'long android.view.accessibility.AccessibilityNodeInfo.getSourceNodeId()' on a null object reference
09-04 11:57:07.628 10259 11908 11908 E AndroidRuntime: at android.view.View.populateVirtualStructure(View.java:10590)
09-04 11:57:07.628 10259 11908 11908 E AndroidRuntime: at android.view.View.populateVirtualStructure(View.java:10671)
09-04 11:57:07.628 10259 11908 11908 E AndroidRuntime: at android.view.View.populateVirtualStructure(View.java:10671)
09-04 11:57:07.628 10259 11908 11908 E AndroidRuntime: at android.view.View.populateVirtualStructure(View.java:10671)
09-04 11:57:07.628 10259 11908 11908 E AndroidRuntime: at android.view.View.populateVirtualStructure(View.java:10671)
09-04 11:57:07.628 10259 11908 11908 E AndroidRuntime: at android.view.View.populateVirtualStructure(View.java:10671)
09-04 11:57:07.628 10259 11908 11908 E AndroidRuntime: at android.view.View.populateVirtualStructure(View.java:10671)
09-04 11:57:07.628 10259 11908 11908 E AndroidRuntime: at android.view.View.populateVirtualStructure(View.java:10671)
09-04 11:57:07.628 10259 11908 11908 E AndroidRuntime: at android.view.View.onProvideVirtualStructureCompat(View.java:9710)
09-04 11:57:07.628 10259 11908 11908 E AndroidRuntime: at android.view.View.onProvideAutofillVirtualStructure(View.java:9781)
09-04 11:57:07.628 10259 11908 11908 E AndroidRuntime: at android.view.View.dispatchProvideStructure(View.java:10733)
09-04 11:57:07.628 10259 11908 11908 E AndroidRuntime: at android.view.View.dispatchProvideAutofillStructure(View.java:10725)
09-04 11:57:07.628 10259 11908 11908 E AndroidRuntime: at android.view.ViewGroup.dispatchProvideAutofillStructure(ViewGroup.java:4456)
09-04 11:57:07.628 10259 11908 11908 E AndroidRuntime: at android.view.ViewGroup.dispatchProvideAutofillStructure(ViewGroup.java:4476)
09-04 11:57:07.628 10259 11908 11908 E AndroidRuntime: at android.view.ViewGroup.dispatchProvideAutofillStructure(ViewGroup.java:4476)
09-04 11:57:07.628 10259 11908 11908 E AndroidRuntime: at android.view.ViewGroup.dispatchProvideAutofillStructure(ViewGroup.java:4476)
09-04 11:57:07.628 10259 11908 11908 E AndroidRuntime: at android.view.ViewGroup.dispatchProvideAutofillStructure(ViewGroup.java:4476)
09-04 11:57:07.628 10259 11908 11908 E AndroidRuntime: at android.view.ViewGroup.dispatchProvideAutofillStructure(ViewGroup.java:4476)
09-04 11:57:07.628 10259 11908 11908 E AndroidRuntime: at android.view.ViewGroup.dispatchProvideAutofillStructure(ViewGroup.java:4476)
09-04 11:57:07.628 10259 11908 11908 E AndroidRuntime: at android.view.ViewGroup.dispatchProvideAutofillStructure(ViewGroup.java:4476)
09-04 11:57:07.628 10259 11908 11908 E AndroidRuntime: at android.app.assist.AssistStructure$WindowNode.<init>(AssistStructure.java:598)
09-04 11:57:07.628 10259 11908 11908 E AndroidRuntime: at android.app.assist.AssistStructure.<init>(AssistStructure.java:2505)
09-04 11:57:07.628 10259 11908 11908 E AndroidRuntime: at android.app.ActivityThread.handleRequestAssistContextExtras(ActivityThread.java:4114)
09-04 11:57:07.628 10259 11908 11908 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2272)
09-04 11:57:07.628 10259 11908 11908 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
09-04 11:57:07.628 10259 11908 11908 E AndroidRuntime: at android.os.Looper.loop(Looper.java:246)
09-04 11:57:07.628 10259 11908 11908 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:8595)
09-04 11:57:07.628 10259 11908 11908 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
09-04 11:57:07.628 10259 11908 11908 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
09-04 11:57:07.628 10259 11908 11908 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
Thanks to @SonicTheAnonymousHedgehog for pointing me to the crash info.
Update: I switched to a different autofill service and Chrome still crashed.