We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Xamarin.Forms.Platform.Android.FormsEditText

System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'Xamarin.Forms.Platform.Android.FormsEditText'.
when I try to change a cell

7 Replies

SP Subburaj Pandian Veluchamy Syncfusion Team April 24, 2019 09:24 AM UTC

Hi Kirill, 
 
Thank you for contacting Syncfusion support.

Based on the provided information, we unable to understand your query clearly. Can you please elaborate the issue with more detail and how you’re using SfDataGrid properties along with issue replication procedure to reproduce the issue?

Sample link: DataGridSample

Kindly modify the sample based on your scenario and revert to us with the replication procedure to reproduce the issue. It will be helpful for us to check on it and provide you the solution. 
 
Regards,
Subburaj Pandian V  



EM Emil May 24, 2019 09:13 PM UTC

Hello,

I am seeing this exception in my app center crash logs also. i think that it doesnt happen for all devices and hard to reproduce but this is the log i have.
Can you please check it?
Android: 5.1.1 Android Build: LMY48B Manufacturer: samsung Model: SM-G531BT Xamarin Exception Stack: System.ObjectDisposedException: Cannot access a disposed object. Object name: 'Xamarin.Forms.Platform.Android.FormsEditText'. at Java.Interop.JniPeerMembers.AssertSelf (Java.Interop.IJavaPeerable self) <0x9cb39214 + 0x00094> in <20c4cde61dc345d982348d283007001a>:0 at Java.Interop.JniPeerMembers+JniInstanceMethods.InvokeVirtualObjectMethod (System.String encodedMember, Java.Interop.IJavaPeerable self, Java.Interop.JniArgumentValue* parameters) <0x9cb3a97c + 0x0001f> in <20c4cde61dc345d982348d283007001a>:0 at Android.Widget.TextView.get_TextFormatted () <0x9cd733ac + 0x00057> in <eb0f7201496a41f28d617743f2ad75d3>:0 at Android.Widget.TextView.get_Text () <0x9cd73580 + 0x0000f> in <eb0f7201496a41f28d617743f2ad75d3>:0 at Syncfusion.XForms.Android.TextInputLayout.SfTextInputLayoutRenderer.<UpdateNativeView>b__8_0 () <0x9a9da960 + 0x00013> in <d7991fc37b5940db85b0929a54c242e6>:0 at Java.Lang.Thread+RunnableImplementor.Run () <0x9ceef850 + 0x0002f> in <eb0f7201496a41f28d617743f2ad75d3>:0 at Java.Lang.IRunnableInvoker.n_Run (System.IntPtr jnienv, System.IntPtr native__this) <0x9cee6a9c + 0x00057> in <eb0f7201496a41f28d617743f2ad75d3>:0 at (wrapper dynamic-method) System.Object.37(intptr,intptr)


BK Bharathiraja K Syncfusion Team May 27, 2019 09:32 AM UTC

Hi Kirill,  
   
We have already fixed this issue. Please check it with our latest version 17.1.0.48 and let us know whether the reported issue resolved or not.  
   
Regards,  
Bharathi. 



KI Kirill May 28, 2019 01:38 PM UTC

Hi, bug has fixed, but virtual keyboard not showing on editing!


BK Bharathiraja K Syncfusion Team May 29, 2019 06:40 AM UTC

Hi Kirill, 
 
We have checked the reported issue and we afraid that we are unable to reproduce the issue. So, can you please share your device information, OS version, video of the issue or code snippet, application scenario with replication steps? This will be helpful for us to investigate further and provide you a better solution at the earliest. 
 
Regards, 
Bharathi. 



EM Emil October 7, 2020 06:17 PM UTC

This issue still exist. if you have an entry inside the listview and you edit the text and press enter or save on android, it throws this exception.


SS Sridevi Sivakumar Syncfusion Team October 8, 2020 12:40 PM UTC

Hi Emil,

We would like to let you know that mentioned crash related to SfTextInputLayout has been fixed already. As per your mentioned issue reproducing cases, we have some concern on this, 
 
  • Could you please confirm whether this crash occurred when adding the Entry alone to the ListView or else Entry as InputView of SfTextInputLayout?

  • Could you please confirm same crash has been reproduced at our end?

  • Are you ensuring this with ListView or Syncfusion SfListView?
In the case of reported issue only with the framework element of Entry & ListView, please check with Xamarin team or else please share us with the issue replicating sample which will be more helpful to check at our end and provide a possible solution since we ensure, that is worked fine at our end.

Regards,
Sridevi S. 


Loader.
Live Chat Icon For mobile
Up arrow icon