https://stackoverflow.com/questions/47763756/autofill-framework-updates-8-1-cause-crash-to-edittext
down vote
I had similiar problem. Same error when tapping on EditText, of field in Webview. In my case the problem was using wrong Context within attachBaseContext method.
Old code
override fun attachBaseContext(newBase: Context?) { super.attachBaseContext(applicationContext.createConfigurationContext(...)) }
Fixed code:
override fun attachBaseContext(newBase: Context?) { super.attachBaseContext(newBase.createConfigurationContext(...)) }
No more errors with Autofill framework. I suggest checking if You didn't make similar mistake missusing Context.