Cannot access a disposed object Syncfusion.XForms.Android.RichTextEditor.WebViewExt

Hi

My form contains sfrichtexteditor and I am getting the following error when I click on back button:
"Cannot access a disposed object Syncfusion.XForms.Android.RichTextEditor.WebViewExt "

Please help me. Following is the screenshot of the error:



11 Replies 1 reply marked as answer

DS Devaraj Sekar Syncfusion Team December 1, 2020 10:38 AM UTC

Hi Faisal, 
Thank you for contacting Syncfusion support. 
On analyzing with the provided stack trace, we were not able to reproduce the reported exception from our side. We have prepared a sample based on the stack trace, which can be downloaded from the below link.  
Kindly provide us detailed information about the issue reproducing scenario, such as  
·       Model or Content used at design level for editor 
·       Navigation operation details performed at your end 
·       Device specification 
·       Xamarin forms version 
Which will be helpful for us to provide a prompt solution at earliest. 
Regards,
Devaraj S 



UN Unknown January 7, 2021 11:17 AM UTC

Hi,

We are experiencing a similar issue related to the SfRichTextEditor on Android. In fact, we are facing the following exception:

System.NotSupportedException: 'Unable to activate instance of type Syncfusion.XForms.Android.RichTextEditor.WebViewExt from native handle 0x7feac48268 (key_handle 0x7c1a184).'

Remarkably, this exception in our case only seems to be thrown when navigating to a content page with a rich text editor and immediately performing a back navigation even before the control is finally rendered. 

Best regards,

Florian


DS Devaraj Sekar Syncfusion Team January 8, 2021 12:25 PM UTC

Hi Faisal,  
Thank you for the update.  
We were able to reproduce the mentioned issue with “SfRichTextEditor throws not supported exception” from our side and we suspect that this would be a Xamarin framework issue. We will update you further validation details on 12th January 2021.  
Regards,  
Devaraj S  



DS Devaraj Sekar Syncfusion Team January 12, 2021 01:57 PM UTC

Hi Faisal,   
Thank you for the patience. 
We confirmed that the issue with “SfRichTextEditor throws not supported exception while continuous navigation” is a defect and we have logged a defect report. The fix for this issue will be included in our upcoming weekly NuGet release which is estimated to be available on 19th January 2021 tentatively. 
Regards, 
Devaraj S 



DS Devaraj Sekar Syncfusion Team January 19, 2021 02:04 PM UTC

Hi Faisal, 
Thank you for the patience. 
The reported issue with “SfRichTextEditor throws not supported exception while continuous navigation” has been fixed and included in our latest weekly NuGet release version “18.4.0.35”, which can be downloaded from the below link. 
Kindly let us know if you require any further assistance. 
Regards, 
Devaraj S 


Marked as answer

LU Luis July 27, 2022 07:20 PM UTC

 

Dear, I am working in Xamarin.Forms with Nuget 20.2.0.36 (latest version), I am receiving exactly the same error, in exactly the same action (navigate to another page and return).



HD Hemalatha Duraisamy Syncfusion Team July 28, 2022 05:17 PM UTC

Hi Luis,


We were unable, to reproduce the reported exception, but it is working properly. We have created a sample based on the provided information and the sample can be downloaded from the below link. 


Sample Link: https://www.syncfusion.com/downloads/support/directtrac/general/ze/RTESample-830271205


Video Link: https://www.syncfusion.com/downloads/support/directtrac/general/ze/RTE-547323203


Kindly provide the following details to investigate further on this issue.  

  1. Modify / Simple sample with which the issue could be reproduced.

  2. Replication procedure to reproduce the issue or screen shot illustrating the issue.

  3. Xamarin Forms version

The above details will be more helpful for us to reproduce the issue in our side and assist you with the better solution at the earliest.  


Regards,

Hemalatha D.





















































LU Luca replied to Hemalatha Duraisamy December 28, 2022 02:05 PM UTC

hi, same error in exactly the same action (navigate to another page and return and add text to it). with last version v20.4.0.38 Main Release

**System.ObjectDisposedException:** 'Cannot access a disposed object.

Object name: 'Syncfusion.XForms.Android.RichTextEditor.WebViewExt'.'



HD Hemalatha Duraisamy Syncfusion Team December 29, 2022 04:07 PM UTC

On analyzing with the provided stack trace and ensured the sample with latest RichTextEditor NuGet version (v20.4.0.40)we were unable, to reproduce the reported exception, but it is working properly.
We have created a sample based on the provided information and the sample can be downloaded from the below link. 

Sample Link: https://www.syncfusion.com/downloads/support/directtrac/general/ze/RTESample1927332566

Video Link: https://www.syncfusion.com/downloads/support/directtrac/general/ze/RTEVideo51430548

Kindly provide the following details to investigate further on this issue.  

  1. Modify / Simple sample with which the issue could be reproduced.
  2. Replication procedure to reproduce the issue or video illustrating the issue.
  3. Xamarin Forms version
  4. Android device detail

The above details will be more helpful for us to reproduce the issue in our side and assist you with the better solution at the earliest.  



LU Luca January 10, 2023 05:50 PM UTC

Use a tabbed page. put the editor in a tab and then move to a new tab and come back to the editor.



HD Hemalatha Duraisamy Syncfusion Team January 12, 2023 03:50 PM UTC

We have created a sample based on the provided information, but the reported issue could not be able to reproduce. It is working fine as expected. And the sample can be downloaded from the below link. 

Sample Link: https://www.syncfusion.com/downloads/support/directtrac/general/ze/RTETabSample606378355

Video Link: https://www.syncfusion.com/downloads/support/directtrac/general/ze/Tab214118874

Kindly provide the following details to investigate further on this issue.  

  1. Modify / Simple sample with which the issue could be reproduced.
  2. Replication procedure to reproduce the issue or video illustrating the issue.
  3. Xamarin Forms version
  4. Android device detail

The above details will be more helpful for us to reproduce the issue in our side and assist you with the better solution at the earliest.  


Loader.
Up arrow icon