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

'!_debugDisposed': is not true

I write a simple SfRadialGauge test app with changable pointers, after change Pointer's type several times, for example ,change pointer type to marker pointer ,then change to range pointer, then change back to marker pointer, then I've got an error as following,

The following assertion was thrown during performLayout():

'package:flutter/src/rendering/object.dart': Failed assertion: line 2067 pos 12: '!_debugDisposed':

is not true.

Either the assertion indicates an error in the framework itself, or we should provide substantially

more information in this error message to help you determine and fix the underlying cause.

In either case, please report this assertion by filing a bug on GitHub:

  https://github.com/flutter/flutter/issues/new?template=2_bug.md

The relevant error-causing widget was:

  RadialAxisParentWidget

  RadialAxisParentWidget:file:///home/py/.pub-cache/hosted/pub.flutter-io.cn/syncfusion_flutter_gauges-21.1.35/lib/src/radial_gauge/axis/radial_axis.dart:1178:14

I attach to this post my flutter code, anyone help will be appreciated!


Attachment: main_65346b4b.zip

5 Replies

YG Yuvaraj Gajaraj Syncfusion Team April 3, 2023 01:43 PM UTC

Hi Zhang,


We have checked your query and we can able to reproduce the reported issue at our end. We will check and update the further details tomorrow and we appreciate your patience until then.


Regards,

Yuvaraj.



YG Yuvaraj Gajaraj Syncfusion Team April 4, 2023 03:10 PM UTC

Hi Zhang,


We can able to replicate the reported issue regarding Disposed exception is thrown in radial gauge when a pointer is updated dynamically at our end and have logged a bug report for it in our feedback portal. We will fix and include the changes in our upcoming weekly patch release which is expected to be rolled out on 11 April 2023. We will update you here once the release is rolled out and we appreciate your patience until then. You can also track the status of the bug with the feedback below.


Feedback, https://www.syncfusion.com/feedback/42660/


Regards,

Yuvaraj.



LP Lokesh Palani Syncfusion Team April 11, 2023 11:36 AM UTC

Hi Zhang,


The reported issue regarding Disposed exception is thrown in radial gauge when a pointer is updated dynamically has been fixed and rolled out in our weekly patch release. To avoid this please upgrade gauge package to the latest version below.


Version:  https://pub.dev/packages/syncfusion_flutter_gauges/versions/21.1.39


Regards,

Lokesh.



ZD zhang david replied to Lokesh Palani April 18, 2023 05:29 AM UTC

Many thanks.

Works fine.

Regards

Zhang



LP Lokesh Palani Syncfusion Team April 18, 2023 03:45 PM UTC

Hi Zhanng,


Most Welcome. Kindly get back to us if you have further queries. We are always happy to assist you.


Regards,

Lokesh.


Loader.
Live Chat Icon For mobile
Up arrow icon