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

Runtime.Exception

Hi Syncfusion,
I update your lib to the last version 
and I change the chart to support binding 
and now I am getting this expansion:

  System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() in <896ad1d315ca4ba7b117efb8dacaedcf>:0
Java.Interop.JniEnvironment+InstanceMethods.CallVoidMethod(Java.Interop.JniObjectReference instance, Java.Interop.JniMethodInfo method, Java.Interop.JniArgumentValue* args) in <25999cc1fde6426b852c2e027711c254>:0
Java.Interop.JniPeerMembers+JniInstanceMethods.InvokeVirtualVoidMethod(System.String encodedMember, Java.Interop.IJavaPeerable self, Java.Interop.JniArgumentValue* parameters) in <25999cc1fde6426b852c2e027711c254>:0
Android.Graphics.Paint.GetTextBounds(System.String text, System.Int32 start, System.Int32 end, Android.Graphics.Rect bounds) in <7a2bbe1fcaec4467930361ae212aeea9>:0
Com.Syncfusion.Charts.ChartAxisLabelStyle.MeasureAxisLabel(System.String label, Android.Graphics.Paint paint) in <c36f44c883874ff697cfafae41dc0c0a>:0
Com.Syncfusion.Charts.ChartAxisLabelStyle.MeasureAxisLabel(System.String label) in <c36f44c883874ff697cfafae41dc0c0a>:0
Com.Syncfusion.Charts.AxisLabelLayout.GetLabelSize(System.String label, Com.Syncfusion.Charts.ChartAxisLabelStyle labelStyle) in <c36f44c883874ff697cfafae41dc0c0a>:0
Com.Syncfusion.Charts.AxisLabelLayout.Measure(System.Drawing.SizeF availableSize) in <c36f44c883874ff697cfafae41dc0c0a>:0
Com.Syncfusion.Charts.VerticalLabelLayout.Measure(System.Drawing.SizeF availableSize) in <c36f44c883874ff697cfafae41dc0c0a>:0
Com.Syncfusion.Charts.CartesianAxisLabelsRenderer.Measure(System.Drawing.SizeF availableSize) in <c36f44c883874ff697cfafae41dc0c0a>:0
Com.Syncfusion.Charts.ChartCartesianAxisRenderer.ComputeSize(System.Drawing.SizeF availableSize) in <c36f44c883874ff697cfafae41dc0c0a>:0
Com.Syncfusion.Charts.ChartAxis.ComputeDesiredSize(System.Drawing.SizeF size) in <c36f44c883874ff697cfafae41dc0c0a>:0
Com.Syncfusion.Charts.ChartCartesianAxisLayout.MeasureVerticalAxis(System.Collections.Generic.List`1[T] axes, System.Drawing.SizeF size) in <c36f44c883874ff697cfafae41dc0c0a>:0
Com.Syncfusion.Charts.ChartCartesianAxisLayout.MeasureAxis(System.Drawing.SizeF size) in <c36f44c883874ff697cfafae41dc0c0a>:0
Com.Syncfusion.Charts.ChartCartesianAxisLayout.Measure(System.Drawing.SizeF availableSize) in <c36f44c883874ff697cfafae41dc0c0a>:0
Com.Syncfusion.Charts.ChartBase.MeasureAxis() in <c36f44c883874ff697cfafae41dc0c0a>:0
Com.Syncfusion.Charts.ChartBase.UpdateArea() in <c36f44c883874ff697cfafae41dc0c0a>:0
Com.Syncfusion.Charts.ChartBase.OnMeasureChart() in <c36f44c883874ff697cfafae41dc0c0a>:0
Com.Syncfusion.Charts.SfChart.OnMeasure(System.Int32 widthMeasureSpec, System.Int32 heightMeasureSpec) in <c36f44c883874ff697cfafae41dc0c0a>:0
Android.Views.View.n_OnMeasure_II(System.IntPtr jnienv, System.IntPtr native__this, System.Int32 widthMeasureSpec, System.Int32 heightMeasureSpec) in <7a2bbe1fcaec4467930361ae212aeea9>:0
(wrapper dynamic-method) System.Object:343ae459-a27e-4ee7-98d8-f3f13806f861 (intptr,intptr,int,int)
--- End of managed Java.Lang.NullPointerException stack trace ---
java.lang.NullPointerException: need bounds Rect
android.graphics.Paint.getTextBounds(Paint.java:2642):0
md5bb9a3b51a2024287477176f992c0952c.SfChart.n_onMeasure(Native Method):0
md5bb9a3b51a2024287477176f992c0952c.SfChart.onMeasure(SfChart.java:53):0
android.view.View.measure(View.java:20151):0
android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6328):0
android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1464):0
android.widget.LinearLayout.measureHorizontal(LinearLayout.java:1111):0
android.widget.LinearLayout.onMeasure(LinearLayout.java:631):0
android.view.View.measure(View.java:20151):0
android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1658):0
android.view.View.measure(View.java:20151):0
android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6328):0
android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1464):0
android.widget.LinearLayout.measureVertical(LinearLayout.java:747):0
android.widget.LinearLayout.onMeasure(LinearLayout.java:629):0
android.view.View.measure(View.java:20151):0
android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6328):0
android.widget.FrameLayout.onMeasure(FrameLayout.java:194):0
android.view.View.measure(View.java:20151):0
android.widget.LinearLayout.measureVertical(LinearLayout.java:900):0
android.widget.LinearLayout.onMeasure(LinearLayout.java:629):0
android.view.View.measure(View.java:20151):0
android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6328):0
android.widget.FrameLayout.onMeasure(FrameLayout.java:194):0
android.view.View.measure(View.java:20151):0
android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6328):0
android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1464):0
android.widget.LinearLayout.measureVertical(LinearLayout.java:747):0
android.widget.LinearLayout.onMeasure(LinearLayout.java:629):0
android.view.View.measure(View.java:20151):0
android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6328):0
android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1464):0
android.widget.LinearLayout.measureVertical(LinearLayout.java:747):0
android.widget.LinearLayout.onMeasure(LinearLayout.java:629):0
android.view.View.measure(View.java:20151):0
android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6328):0
android.widget.FrameLayout.onMeasure(FrameLayout.java:194):0
android.view.View.measure(View.java:20151):0
android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6328):0
android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1464):0
android.widget.LinearLayout.measureVertical(LinearLayout.java:747):0
android.widget.LinearLayout.onMeasure(LinearLayout.java:629):0
android.view.View.measure(View.java:20151):0
android.support.v4.widget.DrawerLayout.onMeasure(DrawerLayout.java:1081):0
android.view.View.measure(View.java:20151):0
android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6328):0
android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1464):0
android.widget.LinearLayout.measureVertical(LinearLayout.java:747):0
android.widget.LinearLayout.onMeasure(LinearLayout.java:629):0
android.view.View.measure(View.java:20151):0
android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6328):0
android.widget.FrameLayout.onMeasure(FrameLayout.java:194):0
android.support.v7.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:139):0
android.view.View.measure(View.java:20151):0
android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6328):0
android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1464):0
android.widget.LinearLayout.measureVertical(LinearLayout.java:747):0
android.widget.LinearLayout.onMeasure(LinearLayout.java:629):0
android.view.View.measure(View.java:20151):0
android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6328):0
android.widget.FrameLayout.onMeasure(FrameLayout.java:194):0
android.view.View.measure(View.java:20151):0
android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6328):0
android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1464):0
android.widget.LinearLayout.measureVertical(LinearLayout.java:747):0
android.widget.LinearLayout.onMeasure(LinearLayout.java:629):0
android.view.View.measure(View.java:20151):0
android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6328):0
android.widget.FrameLayout.onMeasure(FrameLayout.java:194):0
com.android.internal.policy.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:3158):0
android.view.View.measure(View.java:20151):0
android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2594):0
android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1549):0
android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1841):0
android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1437):0
android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7403):0
android.view.Choreographer$CallbackRecord.run(Choreographer.java:920):0
android.view.Choreographer.doCallbacks(Choreographer.java:695):0
android.view.Choreographer.doFrame(Choreographer.java:631):0
android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:906):0
android.os.Handler.handleCallback(Handler.java:739):0
android.os.Handler.dispatchMessage(Handler.java:95):0
android.os.Looper.loop(Looper.java:158):0
android.app.ActivityThread.main(ActivityThread.java:7229):0