@@ -0,0 +1,542 @@
+package org.robolectric.shadows;%0A%0Aimport static android.os.Build.VERSION_CODES.O;%0A%0Aimport android.service.autofill.FillEventHistory;%0Aimport android.view.autofill.AutofillManager;%0A%0Aimport org.robolectric.annotation.Implementation;%0Aimport org.robolectric.annotation.Implements;%0A%0A/**%0A * Robolectric implementation of %7B@link android.os.AutofillManager%7D.%0A */%0A@Implements(value = AutofillManager.class, minSdk = O)%0Apublic class ShadowAutofillManager %7B%0A%0A  @Implementation%0A  protected FillEventHistory getFillEventHistory() %7B%0A    return null;%0A  %7D%0A%7D%0A%0A

Add basic shadow tro prevent NPE when dereferencing.