Skip to content

[webview_flutter] Flaky Android failures #118199

@stuartmorgan-g

Description

@stuartmorgan-g

I just hit the following flake in webview_flutter_android in CI (run link):

java.lang.AssertionError: Manager has already been closed.
     FATAL EXCEPTION: main
Process: io.flutter.plugins.webviewflutterandroidexample, PID: 24654
java.lang.AssertionError: Manager has already been closed.
	at io.flutter.plugins.webviewflutter.InstanceManager.assertManagerIsNotClosed(InstanceManager.java:205)
	at io.flutter.plugins.webviewflutter.InstanceManager.getIdentifierForStrongReference(InstanceManager.java:102)
	at io.flutter.plugins.webviewflutter.WebChromeClientFlutterApiImpl.onProgressChanged(WebChromeClientFlutterApiImpl.java:35)
	at io.flutter.plugins.webviewflutter.WebChromeClientHostApiImpl$WebChromeClientImpl.onProgressChanged(WebChromeClientHostApiImpl.java:46)
	at Fa.d(chromium-TrichromeWebViewGoogle.apk-stable-410410683:3)
	at Cs.handleMessage(chromium-TrichromeWebViewGoogle.apk-stable-410410683:57)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loop(Looper.java:223)
	at android.app.ActivityThread.main(ActivityThread.java:7664)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)

It failed this way on one of the two devices on the first run, and the other on the automatic internal-to-repo-tooling rerun.

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listc: contributor-productivityTeam-specific productivity, code health, technical debt.p: webviewThe WebView pluginpackageflutter/packages repository. See also p: labels.platform-androidAndroid applications specifically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions