title: Android 8.0 Oreo crash on focusing TextInputEditText
body: <p>After updating some of our devices to android 8.0 , upon focusing on a <code>TextInputEditText</code> field inside of a <code>TextInputLayout</code>, the app crashes with this <code>Exception</code>:</p>
  
  <pre><code>Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'void
  android.view.View.getBoundsOnScreen(android.graphics.Rect)' on a null object reference
  at android.app.assist.AssistStructure$WindowNode.(AssistStructure.java)
  at android.app.assist.AssistStructure.(AssistStructure.java)
  at android.app.ActivityThread.handleRequestAssistContextExtras(ActivityThread.java:3035)
  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1807)
  at android.os.Handler.dispatchMessage(Handler.java:105)
  at android.os.Looper.loop(Looper.java:164)
  at android.app.ActivityThread.main(ActivityThread.java:6541)
  at java.lang.reflect.Method.invoke(Method.java)
  at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
  </code></pre>
  
  <p>When we go to android <strong>Settings -> System -> Languages &amp; input -> Advanced -> Auto-fill service -> None</strong> , then focusing on the <code>TextInputEditText</code> <code>/</code> <code>TextInputLayout</code> no longer crashes.</p>
  
  <p><strong>How can we prevent the crash from happening without having to disable the new 8.0 Auto-fill service on the devices?</strong></p>