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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

SfChart throw null reference exception when application running on iOS

Thread ID:

Created:

Updated:

Platform:

Replies:

146273 Jul 29,2019 11:27 AM UTC Jul 30,2019 06:57 AM UTC Xamarin.Forms 2
loading
Tags: SfChart
Salih KARAHAN
Asked On July 29, 2019 11:27 AM UTC

Hi all,

We use SfChart in our xamarin forms app. All components are working as well in android but in the ios sfchart components throw null exception and application is crashing. How I can fix this error? 

SfComponent version: 17.2.0.36
Xamarin froms version: 4.1.0.618606




  at Syncfusion.SfChart.iOS.SFChart.MeasureLegend () [0x0002d] in <45e49b78aad8463bacfc698a15a14b28>:0 
  at Syncfusion.SfChart.iOS.SFChart.UpdateChart () [0x00570] in <45e49b78aad8463bacfc698a15a14b28>:0 
  at Syncfusion.SfChart.iOS.SFChart.LayoutSubviews () [0x00006] in <45e49b78aad8463bacfc698a15a14b28>: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) [0x00005] in /Library/Frameworks/Xamarin.iOS.framework/Versions/12.14.0.110/src/Xamarin.iOS/UIKit/UIApplication.cs:86 
  at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x0000e] in /Library/Frameworks/Xamarin.iOS.framework/Versions/12.14.0.110/src/Xamarin.iOS/UIKit/UIApplication.cs:65 
  at FeedBackMobile.iOS.Application.Main (System.String[] args) [0x00001] in C:\Users\skarahan\Projects\FeedbackMobile\FeedBackMobile\FeedBackMobile.iOS\Main.cs:17 

Salih KARAHAN
Replied On July 29, 2019 02:20 PM UTC

Does anyone need any other information about of this issue? 🙄

Rachel A [Syncfusion]
Replied On July 30, 2019 06:57 AM UTC

Hi Salih, 
 
Thanks for contacting Syncfusion Support. 
 
We have checked with simple sample using provided version, but we are unable to reproduce the reported issue at our end. We have attached the prepared sample for your reference. Currently we are checking our source code based on the provided call stack.  
 
 
In the meantime, can you please modify the attached sample and revert to us which will be helpful to investigate further.  
 
Regards, 
Rachel. 


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon