Skip to content

[Bug] Misleading WebView error #2961

Description

@shishcraft5

Checklist

  • I make sure that the issue is NOT a duplicate of pinned issues
  • I make sure I am using the LATEST version - check here
  • I understand that issues with limited impact, such as those occurring on specific devices or under specific network conditions, will not be fixed
  • I have attached the error report in the issue

Describe the bug

My WebView is 151 but this still happens, fixes by closing and reopening app

Exception

  • User Action: requested stream
  • Request: https://www.youtube.com/watch?v=SqO9J_p68j0
  • Content Country: IT
  • Content Language: it-
  • App Language: it
  • Service: YouTube (Logged in)
  • Endpoint: mweb
  • Version: 5.4.0-beta2
  • OS: Linux Android 16 - 36
Crash log

org.schabi.newpipe.extractor.exceptions.WebViewUnavailableException: Android WebView runtime using provider com.google.android.webview version 151.0.7922.199 failed to become ready
	at androidx.core.view.inputmethod.InputConnectionCompat$$ExternalSyntheticLambda0.onInitializationFailure(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:46)
	at org.schabi.newpipe.SharedWebViewRuntime.notifyInitializationFailure(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:9)
	at org.schabi.newpipe.SharedWebViewRuntime.retryOrFail(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:198)
	at org.schabi.newpipe.SharedWebViewRuntime$$ExternalSyntheticLambda0.run(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:78)
	at android.os.Handler.handleCallback(Handler.java:995)
	at android.os.Handler.dispatchMessage(Handler.java:103)
	at android.os.Looper.loopOnce(Looper.java:270)
	at android.os.Looper.loop(Looper.java:371)
	at android.app.ActivityThread.main(ActivityThread.java:9229)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:632)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1327)
Caused by: java.lang.IllegalStateException: WebView runtime ready callback timed out after 5000 ms
	at org.schabi.newpipe.SharedWebViewRuntime$$ExternalSyntheticLambda0.run(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:75)
	... 8 more


Version

5.4.0-beta2

Frequency

Rarely (10-30% of the time)

Device

Tcl nxtpaper 60 ultra, android 16

Steps to reproduce the bug

No response

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions