Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IllegalArgumentException: jsObjectName wvHandler was already added. #20996

Closed
sentry-io bot opened this issue Jun 17, 2024 · 3 comments
Closed

IllegalArgumentException: jsObjectName wvHandler was already added. #20996

sentry-io bot opened this issue Jun 17, 2024 · 3 comments

Comments

@sentry-io
Copy link

sentry-io bot commented Jun 17, 2024

Sentry Issue: JETPACK-ANDROID-T2P

IllegalArgumentException: jsObjectName wvHandler was already added.
    at org.wordpress.android.support.JsObjectKt.createJsObject(JsObject.kt:47)
    WebViewCompat.addWebMessageListener(
    at org.wordpress.android.ui.reader.ReaderPostRenderer.setWebViewMessageHandler(ReaderPostRenderer.java:651)
    JsObjectKt.createJsObject(
    at org.wordpress.android.ui.reader.ReaderPostRenderer.<init>(ReaderPostRenderer.java:89)
    setWebViewMessageHandler(webView);
    at org.wordpress.android.ui.reader.ReaderPostDetailFragment.showPostInWebView(ReaderPostDetailFragment.kt:1604)
    renderer = ReaderPostRenderer(
    at org.wordpress.android.ui.reader.ReaderPostDetailFragment.handleNavigationEvent(ReaderPostDetailFragment.kt:925)
    is ReaderNavigationEvents.ShowPostInWebView -> showPostInWebView(post)
...
(32 additional frame(s) were not displayed)
@dangermattic
Copy link
Collaborator

dangermattic commented Jun 17, 2024

Thanks for reporting! 👍

@neeldoshii
Copy link
Contributor

@zwarm seems like this issue is completed, can you take a look?

@zwarm
Copy link
Contributor

zwarm commented Jun 21, 2024

@neeldoshii - Yes, the fix targeted release branch 25.1

@zwarm zwarm closed this as completed Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants