Application crashes unexpectedly

Dear all,

I’m facing the following problem with the SFdatagrid.

I call a new activity that contains a SFdatagrid from a current activity that also contains a SFdatagrid. Everything works fine until I close the 2nd (called) activity.

On the activity’s event “OnDestroy” I remove all the events attached to the grid and I dispose the grid according to your sample code.

On the emulator everything works fine but on the device (Android version 6.0 – API 23) the application just crashes without any error messages. 

Could you please give me some help on this?

 Thank you in advance,

 Giorgos Vigileos


5 Replies

PS Pavithra  Sivakumar Syncfusion Team May 31, 2017 06:13 PM UTC

Hi Giorgos,

Thanks for contacting Syncfusion support.

We have checked your query. We were able to reproduce the reported issue. The issue occurs when the framework tries to access the disposed graphic elements of the ended activity when switching between activities. We are currently working to report the bug in Bugzilla for further details.

Regards,
Pavithra S
 
 



YZ Yun Zhou February 26, 2018 10:56 PM UTC

Hi All,

Any update on this issue? I am also having similar problem.
I am using SfChart on Activity 1 and Activity 2. When switch Activity 2 back to Activity 1, app crashes because accessing SfChart disposed object:

System.ObjectDisposedException: Cannot access a disposed object.

Object name: 'Android.Graphics.Path'.

Is there any update on this?

Thanks
Yun


DV Divya Venkatesan Syncfusion Team February 28, 2018 03:42 PM UTC

Hi Yun,

Thanks for using Syncfusion products.

We have analyzed the reported issue with our sample; we are not able to reproduce the issue. Can you please check with the sample in the following location? If still you face the problem, please revert us by modifying the sample based on your application along with replication procedure. This would be helpful for us to serve you.

Sample: http://www.syncfusion.com/downloads/support/forum/130645/ze/NavigationChartSample649729692

Regards,
Divya Venkatesan



YZ Yun Zhou March 15, 2018 08:59 PM UTC

Hi all,

Thanks for your demo.

I guess the error is from SfRadialMenu.

I have Activity1 which navigates to Activity2. Some sfChart and SfRadialMenu in Activity2.

When go back from Activity2 to Activity1, app crash.

1 If I didn’t touch SfRdialMenu, my app can successfully go back to Activity1

2. If I move SfRadialMenu around, expand or collapse SfRadialMenu, app will crash when go back to Activity1.

Here’s screenshot of my call stack.

 

I am using V16.1.0.26

Any idea?

 

Best Regards

Yun

 



RB Rabhia Beham Kathar Mideenar Syncfusion Team March 19, 2018 04:34 AM UTC

Hi Yun, 
Sorry for the inconvenience. 
We have checked the reported issue from our side with our latest Syncfusion Assemblies.Unfortunately we cannot reproduce the issue from our side.We have prepared a sample with our SfRadialMenu Control.Please have the sample from the below link. 
If the issue still persists please modify the same with the issue reproducing steps which will be helpful for us to analyse further and provide an appropriate solution. 
Please let us know if you have any concern. 
Regards,
Rabhia Beham K. 


Loader.
Up arrow icon