Exception on Android MaterialAnimation.Dispose (System.Boolean disposing)

Hi,

When using the Material animation for the SfBusyIndicator, I randomly get crashes when the page is closing, but only on Android.

System.ObjectDisposedException: Cannot access a disposed object. Object name: 'Com.Syncfusion.Sfbusyindicator.MaterialAnimation'.


JniPeerMembers.AssertSelf (Java.Interop.IJavaPeerable self)
JniPeerMembers+JniInstanceMethods.InvokeVirtualVoidMethod (System.String encodedMember, Java.Interop.IJavaPeerable self, Java.Interop.JniArgumentValue* parameters)View.ClearAnimation ()MaterialAnimation.Dispose (System.Boolean disposing)IJavaPeerable.Finalized ()AndroidValueManager.FinalizePeer (Java.Interop.IJavaPeerable value)
Object.Finalize ()

Thank you for looking into this.




1 Reply

RS Ruba Shanmugam Syncfusion Team August 10, 2021 11:20 AM UTC

Hi Andreas, 
 
Thanks for contacting the Syncfusion support. 
 
We have validated your query and we tried to replicate the reported issue based on the provided information and we were unable to replicate the same. So we have fixed the issue based on the provided stack trace and find the assembly from below link.  
 
Assembly Version: 19.2.0.47  
 
Disclaimer:  Please note that we have created this patch for the version v19.2.0.47 specifically to resolve the issue reported in this incident.  
 
 
Note: Please refer the below link to apply the custom assembly   
  
   
Currently we have patch support only to the main and service pack release version, not for weekly Nuget release. So only provided a assembly with 19.2.0.47  version. 
 
Could you please check this fix with your application and let us know, whether the issue is resolved or not. 
 
Still we were not aware of your exact scenario. If you are facing the same crash issue after applying the provided assemblies, can you please update the replication sample for the reported issue it would be helpful for providing the better solution at earliest. 
 
Regards, 
Ruba Shanmugam 


Loader.
Up arrow icon