Random error in IOS 10+

2 posts, 0 answers
  1. Gabriel
    Gabriel avatar
    3 posts
    Member since:
    Jul 2017

    Posted 30 Oct Link to this post

    Hi guys... I am having this error randomly in iOS 10+

     

    'System.ObjectDisposedException: Cannot access a disposed object.' Xamarin Exception Stack: Object name: 'TKExtendedChart'. at Foundation.NSObject.get_SuperHandle () <0x101117dd0 + 0x000b0> in <acc94c10bcf54981a7b27c2a0c5b6c97#ebe182ffb1c5f4cedda65a7e367c6d1e>:0 at TelerikUI.TKChart.get_WeakDataSource () <0x101819340 + 0x00057> in <ec9f5a4c45f14a83908825860183b239#ebe182ffb1c5f4cedda65a7e367c6d1e>:0 at TelerikUI.TKChart.get_DataSource () <0x101818520 + 0x0001f> in <ec9f5a4c45f14a83908825860183b239#ebe182ffb1c5f4cedda65a7e367c6d1e>:0 at Telerik.XamarinForms.ChartRenderer.iOS.ChartSeriesAdapter`2[S,T].UpdateItemsSource (S sourceOwner, T targetOwner, TelerikUI.TKChart targetChart) <0x1016edca0 + 0x00033> in <1898247ef2374cc393b60a9b2deb4dca#ebe182ffb1c5f4cedda65a7e367c6d1e>:0 at Telerik.XamarinForms.ChartRenderer.iOS.ChartSeriesAdapter`2[S,T].UpdateSeriesProperties (System.String propertyName, S sourceOwner, T targetOwner, Telerik.XamarinForms.Chart.RadChartBase sourceChart, TelerikUI.TKChart targetChart) <0x1016ed930 + 0x00193> in <1898247ef2374cc393b60a9b2deb4dca#ebe182ffb1c5f4cedda65a7e367c6d1e>:0 at Telerik.XamarinForms.ChartRenderer.iOS.CategoricalSeriesAdapter`1[TSeries].UpdateSeriesProperties (System.String propertyName, TSeries sourceOwner, TelerikUI.TKChartSeries targetOwner, Telerik.XamarinForms.Chart.RadChartBase sourceChart, TelerikUI.TKChart targetChart) <0x1016ed010 + 0x00043> in <1898247ef2374cc393b60a9b2deb4dca#ebe182ffb1c5f4cedda65a7e367c6d1e>:0 at Telerik.XamarinForms.ChartRenderer.iOS.CategoricalStrokedSeriesAdapter`1[TSeries].UpdateSeriesProperties (System.String propertyName, TSeries sourceOwner, TelerikUI.TKChartSeries targetOwner, Telerik.XamarinForms.Chart.RadChartBase sourceChart, TelerikUI.TKChart targetChart) <0x1016ecad0 + 0x00047> in <1898247ef2374cc393b60a9b2deb4dca#ebe182ffb1c5f4cedda65a7e367c6d1e>:0 at Telerik.XamarinForms.ChartRenderer.iOS.ChartSeriesAdapter`2[S,T].UpdateCore (S sourceOwner, T targetOwner, System.String propertyName, Telerik.XamarinForms.Common.IParentElement sourceOwnerRoot, System.Object targetOwnerRoot) <0x1016ed640 + 0x000db> in <1898247ef2374cc393b60a9b2deb4dca#ebe182ffb1c5f4cedda65a7e367c6d1e>:0 at Telerik.XamarinForms.Chart.ChartElementFacadeAdapter`2[S,T].Update (System.Object sourceOwner, System.Object targetOwner, System.String propertyName, System.Object sourceOwnerRoot, System.Object targetOwnerRoot) <0x1016dc410 + 0x0013b> in <1898247ef2374cc393b60a9b2deb4dca#ebe182ffb1c5f4cedda65a7e367c6d1e>:0 at Telerik.XamarinForms.Common.XamarinToNativeControlExtensions.Update[T,K] (T nativeElement, K xfЕlement, System.String propertyName, System.Object sourceOwnerRoot, System.Object targetOwnerRoot) <0x101725c50 + 0x000cb> in <8692e5a072af4ceea95672092fbac1f7#ebe182ffb1c5f4cedda65a7e367c6d1e>:0 at Telerik.XamarinForms.Chart.ChartElement.OnPropertyChanged (System.String propertyName) <0x1016dc2b0 + 0x0006b> in <1898247ef2374cc393b60a9b2deb4dca#ebe182ffb1c5f4cedda65a7e367c6d1e>:0 at Xamarin.Forms.BindableObject.SetValueActual (Xamarin.Forms.BindableProperty property, Xamarin.Forms.BindableObject+BindablePropertyContext context, System.Object value, System.Boolean currentlyApplying, Xamarin.Forms.BindableObject+SetValueFlags attributes, System.Boolean silent) <0x100ed2d20 + 0x00247> in <42fe931976e64c199eddde45068a6c09#ebe182ffb1c5f4cedda65a7e367c6d1e>:0 at Xamarin.Forms.BindableObject.SetValueCore (Xamarin.Forms.BindableProperty property, System.Object value, Xamarin.Forms.BindableObject+SetValueFlags attributes, Xamarin.Forms.BindableObject+SetValuePrivateFlags privateAttributes) <0x100ed1c30 + 0x00503> in <42fe931976e64c199eddde45068a6c09#ebe182ffb1c5f4cedda65a7e367c6d1e>:0 at Xamarin.Forms.BindingExpression.ApplyCore (System.Object sourceObject, Xamarin.Forms.BindableObject target, Xamarin.Forms.BindableProperty property, System.Boolean fromTarget) <0x100ed8960 + 0x005bf> in <42fe931976e64c199eddde45068a6c09#ebe182ffb1c5f4cedda65a7e367c6d1e>:0 at Xamarin.Forms.BindingExpression.Apply (System.Boolean fromTarget) <0x100ed85f0 + 0x0008f> in <42fe931976e64c199eddde45068a6c09#ebe182ffb1c5f4cedda65a7e367c6d1e>:0 at Xamarin.Forms.BindingExpression+BindingExpressionPart.<PropertyChanged>b__47_0 () <0x100edb3a0 + 0x00023> in <42fe931976e64c199eddde45068a6c09#ebe182ffb1c5f4cedda65a7e367c6d1e>:0 at Foundation.NSAsyncActionDispatcher.Apply () <0x1011139f0 + 0x00023> in <acc94c10bcf54981a7b27c2a0c5b6c97#ebe182ffb1c5f4cedda65a7e367c6d1e>:0 at (wrapper managed-to-native) UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr) at UIKit.UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) <0x10112faa0 + 0x0002b> in <acc94c10bcf54981a7b27c2a0c5b6c97#ebe182ffb1c5f4cedda65a7e367c6d1e>:0 at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) <0x10112f9e0 + 0x000ab> in <acc94c10bcf54981a7b27c2a0c5b6c97#ebe182ffb1c5f4cedda65a7e367c6d1e>:0 at ADF.iOS.Application.Main (System.String[] args) <0x10039e840 + 0x00023> in <e05c11a796ba45e79ced5211e8e3b0dd#ebe182ffb1c5f4cedda65a7e367c6d1e>:0

  2. Stefan Nenchev
    Admin
    Stefan Nenchev avatar
    559 posts

    Posted 02 Nov Link to this post

    Hello, Gabriel,

    Can you please provide more information on your setup so we can consider what might be causing it? Do you observe it when you are using a specific feature of the Chart? Any additional information will be appreciated so we can narrow down what might be invoking it and investigate it from our side.

    Regards,
    Stefan Nenchev
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top