-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Bug] Cannot access a disposed object. Object name: 'Android.Webkit.WebView'.' #14675
Comments
For navigation use Shell or NavigationPage?, could you attach a small sample where reproduce the issue?. Thanks! |
I also have this problem, how to solve it |
Sorry for the late reply @jsuarezruiz it is an NavigationPage
to catch this issue you need to speed up the process of clicking , for example open the WebViewPage and then click on back directly while the page in construction process , that is it |
Hello @SolarisYan |
Hi, I have the same scenario. I have a very simple WebViewPage, like below:
From my MainPage (or any other page) I click a button and call this page like below I hope this help to solve this issue. Any workaround will be very appreciated. |
@jsuarezruiz i hope my post could help |
Same problem... |
Below is the stack trace I'm seeing reported. @jsuarezruiz Could we maybe add some defensive code around this line to make it more stable? It looks like it's crashing in the accessor for
|
Did anyone manage to find fix? |
Having same issue as well. |
@kubalobacz @dzebas @jsuarezruiz
|
Description
System.ObjectDisposedException: 'Cannot access a disposed object.
Object name: 'Android.Webkit.WebView'.'
[mono-rt] [ERROR] FATAL UNHANDLED EXCEPTION: System.ObjectDisposedException: Cannot access a disposed object.
[mono-rt] Object name: 'Android.Webkit.WebView'.
[mono-rt] at (wrapper dynamic-method) Android.Runtime.DynamicMethodNameCounter.69(intptr,intptr,intptr,intptr,intptr)
[mono-rt] at (wrapper native-to-managed) Android.Runtime.DynamicMethodNameCounter.69(intptr,intptr,intptr,intptr,intptr)
[BpBinder] onLastStrongRef automatically unlinking death recipients:
Steps to Reproduce
Open a web page
Execute an async javascript functions
Click on button back navigation
Repeat these steps quickly 3 or 4 times or until crash happen
Xamarin.Forms 5.0.0.2012
The text was updated successfully, but these errors were encountered: