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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

System.ObjectDisposedException: Cannot access a disposed object - SfCircularGauge

Thread ID:

Created:

Updated:

Platform:

Replies:

131915 Aug 3,2017 07:54 AM UTC Dec 7,2017 12:35 PM UTC Xamarin.Forms 3
loading
Tags: SfCircularGauge
An Chyi Chuah
Asked On August 3, 2017 07:54 AM UTC


Mobile application has hit a runtime error as below.

Unhandled Exception:
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'Com.Syncfusion.Gauges.SfCircularGauge.SfCircularGauge'.

May I know how to solve this error? Please let me know if you need more information from me. Thanks!


Ashwin Kumaravel [Syncfusion]
Replied On August 7, 2017 01:03 PM UTC

Hi Chuah,

Thanks for using Syncfusion products,

We have validated your query and we are unable to reproduce the reported issue"System.ObjectDisposedException: Cannot access a disposed object" at our end.So can you please share your reproducing sample or replication procedure so it will be very helpful for us to validate on this and provide you a better solution.

Regards,
Ashwin.k

Balakrishnan
Replied On December 6, 2017 02:15 PM UTC

Hi Guys,

I am also struck with the same error, I got this error while navigating from a page having Syncfusion gauge to another page. I am using master details page. It is not showing any details. This is the error message got it in Hockey app crash report.

Xamarin caused by: android.runtime.JavaProxyThrowable: System.NullReferenceException: Object reference not set to an instance of an object
Com.Syncfusion.Gauges.SfCircularGauge.SfCircularGauge.Dispose(bool disposing)<7c0e9d154eba4c919dc94c7f8f2f022a>:0
Java.Lang.Object.Dispose()<2cbc8bc37f564147a10de1abb0c4e399>:0
Xamarin.Forms.Platform.Android.ViewRenderer<TViewTNativeView>.Dispose(bool disposing)<7fcbd59ddd2f4ebfb60e22f10868ab72>:0
Java.Lang.Object.Dispose()<2cbc8bc37f564147a10de1abb0c4e399>:0
Xamarin.Forms.Platform.Android.VisualElementRenderer<TElement>.Dispose(bool disposing)<7fcbd59ddd2f4ebfb60e22f10868ab72>:0
Xamarin.Forms.Platform.Android.PageRenderer.Dispose(bool disposing)<7fcbd59ddd2f4ebfb60e22f10868ab72>:0
Java.Lang.Object.Dispose()<2cbc8bc37f564147a10de1abb0c4e399>:0
Xamarin.Forms.Platform.Android.AppCompat.FragmentContainer.OnDestroyView()<7fcbd59ddd2f4ebfb60e22f10868ab72>:0
Android.Support.V4.App.Fragment.n_OnDestroyView(IntPtr jnienvIntPtr native__this)<7a2a36256f1648ecbd0c15a75bc5a349>:0
at (wrapper dynamic-method) System.Object:bfdc0062-9df7-49d5-897a-ae391ada8a88 (intptr,intptr)
md5270abb39e60627f0f200893b490a1ade.FragmentContainer.n_onDestroyView(Native Method)
md5270abb39e60627f0f200893b490a1ade.FragmentContainer.onDestroyView()FragmentContainer.java:59
android.support.v4.app.Fragment.performDestroyView()Fragment.java:2410
android.support.v4.app.FragmentManagerImpl.moveToState()FragmentManager.java:1378
android.support.v4.app.FragmentManagerImpl.moveFragmentToExpectedState()FragmentManager.java:1523
android.support.v4.app.FragmentManagerImpl.moveToState()FragmentManager.java:1598
android.support.v4.app.FragmentManagerImpl.executeOpsTogether()FragmentManager.java:2145
android.support.v4.app.FragmentManagerImpl.optimizeAndExecuteOps()FragmentManager.java:2092
android.support.v4.app.FragmentManagerImpl.execPendingActions()FragmentManager.java:1998
android.support.v4.app.FragmentManagerImpl.executePendingTransactions()FragmentManager.java:762
md5b60ffeb829f638581ab2bb9b1a7f4f3f.InnerGestureListener.n_onSingleTapUp(Native Method)
md5b60ffeb829f638581ab2bb9b1a7f4f3f.InnerGestureListener.onSingleTapUp()InnerGestureListener.java:79
android.view.GestureDetector.onTouchEvent()GestureDetector.java:640
md5b60ffeb829f638581ab2bb9b1a7f4f3f.LabelRenderer.n_onTouchEvent(Native Method)
md5b60ffeb829f638581ab2bb9b1a7f4f3f.LabelRenderer.onTouchEvent()LabelRenderer.java:45
android.view.View.dispatchTouchEvent()View.java:11721
android.view.ViewGroup.dispatchTransformedTouchEvent()ViewGroup.java:2955
android.view.ViewGroup.dispatchTouchEvent()ViewGroup.java:2636
md5b60ffeb829f638581ab2bb9b1a7f4f3f.VisualElementRenderer_1.n_dispatchTouchEvent(Native Method)
md5b60ffeb829f638581ab2bb9b1a7f4f3f.VisualElementRenderer_1.dispatchTouchEvent()VisualElementRenderer_1.java:64
android.view.ViewGroup.dispatchTransformedTouchEvent()ViewGroup.java:2961
android.view.ViewGroup.dispatchTouchEvent()ViewGroup.java:2650
md5b60ffeb829f638581ab2bb9b1a7f4f3f.Platform_DefaultRenderer.n_dispatchTouchEvent(Native Method)
md5b60ffeb829f638581ab2bb9b1a7f4f3f.Platform_DefaultRenderer.dispatchTouchEvent()Platform_DefaultRenderer.java:54
android.view.ViewGroup.dispatchTransformedTouchEvent()ViewGroup.java:2961
android.view.ViewGroup.dispatchTouchEvent()ViewGroup.java:2650
md5b60ffeb829f638581ab2bb9b1a7f4f3f.VisualElementRenderer_1.n_dispatchTouchEvent(Native Method)
md5b60ffeb829f638581ab2bb9b1a7f4f3f.VisualElementRenderer_1.dispatchTouchEvent()VisualElementRenderer_1.java:64
android.view.ViewGroup.dispatchTransformedTouchEvent()ViewGroup.java:2961
android.view.ViewGroup.dispatchTouchEvent()ViewGroup.java:2650
md5b60ffeb829f638581ab2bb9b1a7f4f3f.PlatformRenderer.n_dispatchTouchEvent(Native Method)
md5b60ffeb829f638581ab2bb9b1a7f4f3f.PlatformRenderer.dispatchTouchEvent()PlatformRenderer.java:55
android.view.ViewGroup.dispatchTransformedTouchEvent()ViewGroup.java:2961
android.view.ViewGroup.dispatchTouchEvent()ViewGroup.java:2650
com.android.internal.policy.DecorView.superDispatchTouchEvent()DecorView.java:445
com.android.internal.policy.PhoneWindow.superDispatchTouchEvent()PhoneWindow.java:1828
android.app.Activity.dispatchTouchEvent()Activity.java:3292
android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent()WindowCallbackWrapper.java:71
com.android.internal.policy.DecorView.dispatchTouchEvent()DecorView.java:407
android.view.View.dispatchPointerEvent()View.java:11960
android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent()ViewRootImpl.java:4776
android.view.ViewRootImpl$ViewPostImeInputStage.onProcess()ViewRootImpl.java:4590
android.view.ViewRootImpl$InputStage.deliver()ViewRootImpl.java:4128
android.view.ViewRootImpl$InputStage.onDeliverToNext()ViewRootImpl.java:4181
android.view.ViewRootImpl$InputStage.forward()ViewRootImpl.java:4147
android.view.ViewRootImpl$AsyncInputStage.forward()ViewRootImpl.java:4274
android.view.ViewRootImpl$InputStage.apply()ViewRootImpl.java:4155
android.view.ViewRootImpl$AsyncInputStage.apply()ViewRootImpl.java:4331
android.view.ViewRootImpl$InputStage.deliver()ViewRootImpl.java:4128
android.view.ViewRootImpl$InputStage.onDeliverToNext()ViewRootImpl.java:4181
android.view.ViewRootImpl$InputStage.forward()ViewRootImpl.java:4147
android.view.ViewRootImpl$InputStage.apply()ViewRootImpl.java:4155
android.view.ViewRootImpl$InputStage.deliver()ViewRootImpl.java:4128
android.view.ViewRootImpl.deliverInputEvent()ViewRootImpl.java:6642
android.view.ViewRootImpl.doProcessInputEvents()ViewRootImpl.java:6616
android.view.ViewRootImpl.enqueueInputEvent()ViewRootImpl.java:6577
android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent()ViewRootImpl.java:6745
android.view.InputEventReceiver.dispatchInputEvent()InputEventReceiver.java:185
android.os.MessageQueue.nativePollOnce(Native Method)
android.os.MessageQueue.next()MessageQueue.java:325
android.os.Looper.loop()Looper.java:142
android.app.ActivityThread.main()ActivityThread.java:6541
java.lang.reflect.Method.invoke(Native Method)
com.android.internal.os.Zygote$MethodAndArgsCaller.run()Zygote.java:240
com.android.internal.os.ZygoteInit.main()ZygoteInit.java:767

Sri Gayathri Gopalakrishnan [Syncfusion]
Replied On December 7, 2017 12:35 PM UTC

Hi Balakrishnan,

Thanks for using Syncfusion products,

A support incident has been created already under your account and we have updated details in the incident.

Please get back to us if you need any other assistance.

Regards,
Sri Gayathri. G 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;