Skip to content

[Android]AutoFill NullPointerException: Attempt to invoke virtual method 'java.lang.Object android.util.SparseArray.get(int)' on a null object reference #101348

@lavinov-mercury

Description

@lavinov-mercury

Unfortunately, there are no steps to reproduce. Following issue was reported by Sentry as uncaught. There are several events from different users. All events happened on devices with Android 12

NullPointerException: Attempt to invoke virtual method 'java.lang.Object android.util.SparseArray.get(int)' on a null object reference
    at io.flutter.plugin.editing.TextInputPlugin.autofill(TextInputPlugin.java:812)
    at io.flutter.embedding.android.FlutterView.autofill(FlutterView.java:1420)
    at android.view.autofill.AutofillManager.autofill(AutofillManager.java:2396)
    at android.view.autofill.AutofillManager.access$2700(AutofillManager.java:176)
    at android.view.autofill.AutofillManager$AutofillManagerClient.lambda$autofill$1(AutofillManager.java:3489)
...
(9 additional frame(s) were not displayed)

Metadata

Metadata

Labels

P2Important issues not at the top of the work lista: productionIssues experienced in live production appsa: text inputEntering text in a text field or keyboard related problemsframeworkflutter/packages/flutter repository. See also f: labels.platform-androidAndroid applications specificallyr: fixedIssue is closed as already fixed in a newer version

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions