Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[Bug] iOS Only- 'Cannot access a disposed object. Object name: 'WkWebViewRenderer'.' #11962

Closed
bud4buddies opened this issue Aug 30, 2020 · 2 comments · Fixed by #12163
Closed
Labels
a/webview i/critical i/regression in-progress This issue has an associated pull request that may resolve it! p/iOS 🍎 t/bug 🐛
Milestone

Comments

@bud4buddies
Copy link

Description

When a Page with WebView is revisited with fresh data is crashing. This does not happen when using Tabbed page.

Steps to Reproduce

  1. Create a Search Page with a List of items
  2. On click/tapping the item, navigate to details with a WebView.
  3. Navigate back to the Search page
  4. Click on the second item to get to the details page.
    ---> App crashes with 'Cannot access a disposed object. Object name: 'WkWebViewRenderer'.'

Expected Behavior

App should not crash and display the new Html content in the WebView.

Actual Behavior

System.ObjectDisposedException: 'Cannot access a disposed object.
Object name: 'WkWebViewRenderer'.'

Basic Information

  • Version with issue: 4.8.0.1269
  • Last known good version:
  • IDE: 2019
  • Platform Target Frameworks:
    • iOS: 13.6 (Probbably other versions too)
@bud4buddies bud4buddies added s/unverified New report that has yet to be verified t/bug 🐛 labels Aug 30, 2020
@StephaneDelcroix
Copy link
Member

Thanks for this report.

Could you please attach a small reproduction project ? We need that in order to validate the bug, create tests to avoid regressions in the future, and validate that the issue being reported is actually fixed.

@StephaneDelcroix StephaneDelcroix added the s/needs-repro ❔ This reported issue doesn't include a sample project reproducing the issue. Please provide one. label Sep 11, 2020
@bud4buddies
Copy link
Author

XamarinBugs.zip

@samhouts samhouts removed the s/needs-repro ❔ This reported issue doesn't include a sample project reproducing the issue. Please provide one. label Sep 15, 2020
@PureWeen PureWeen removed the s/unverified New report that has yet to be verified label Sep 16, 2020
@samhouts samhouts added this to the 5.0.0 milestone Sep 18, 2020
@samhouts samhouts added the in-progress This issue has an associated pull request that may resolve it! label Sep 18, 2020
@PureWeen PureWeen modified the milestones: 5.0.0, 4.8.0 Sep 20, 2020
@PureWeen PureWeen linked a pull request Sep 22, 2020 that will close this issue
2 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a/webview i/critical i/regression in-progress This issue has an associated pull request that may resolve it! p/iOS 🍎 t/bug 🐛
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants