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

Null Referece Exception on Syncfusion.UI.Xaml.Schedule.MonthViewHandler.GenerateChildForPhone in UWP emulator

I am getting this exception on UWP emulator called "Mobile Emulator 10.0.10586.0 WGA 4 inch 512MB". I dont know why it is firing this exception everytime I tap on a cell but it doesnt happen on Android or UWP local PC. maybe you might have a clue from stacktrace information belpw

System.NullReferenceExceptionObject reference not set to an instance of an object.
   at Syncfusion.UI.Xaml.Schedule.MonthViewHandler.GenerateChildForPhone()
   at Syncfusion.UI.Xaml.Schedule.MonthViewHandler.OnSelectedDatesChanged(DependencyObject obj, DependencyPropertyChangedEventArgs e)
   at Windows.UI.Xaml.DependencyObject.SetValue(DependencyProperty dp, Object value)
   at Syncfusion.UI.Xaml.Schedule.ScheduleMonthView.OnSelectedDatesChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
   at Windows.UI.Xaml.Data.BindingOperations.SetBinding(DependencyObject target, DependencyProperty dp, BindingBase binding)
   at Syncfusion.UI.Xaml.Schedule.SfSchedule.SetMonthViewBinding()
   at Syncfusion.UI.Xaml.Schedule.SfSchedule.UpdateScheduleType()
   at Syncfusion.UI.Xaml.Schedule.SfSchedule.ScheduleTypeChanged(DependencyObject dpo, DependencyPropertyChangedEventArgs args)
   at Windows.UI.Xaml.DependencyObject.SetValue(DependencyProperty dp, Object value)
   at Syncfusion.UI.Xaml.Schedule.SfSchedule.set_ScheduleType(ScheduleType value)
   at Syncfusion.SfSchedule.XForms.UWP.SfScheduleMapping.OnSfSchedulePropertiesChanged(String propertyName, SfSchedule formSfSchedule, SfSchedule nativeSchedule)
   at Syncfusion.SfSchedule.XForms.UWP.SfScheduleRenderer.OnElementPropertyChanged(Object sender, PropertyChangedEventArgs e)
   at System.ComponentModel.PropertyChangedEventHandler.Invoke(Object sender, PropertyChangedEventArgs e)
   at Xamarin.Forms.BindableObject.OnPropertyChanged(String propertyName)
   at Xamarin.Forms.Element.OnPropertyChanged(String propertyName)
   at Xamarin.Forms.BindableObject.SetValueActual(BindableProperty property, BindablePropertyContext context, Object value, Boolean currentlyApplying, SetValueFlags attributes, Boolean silent)
   at Xamarin.Forms.BindableObject.SetValueCore(BindableProperty property, Object value, SetValueFlags attributes, SetValuePrivateFlags privateAttributes)
   at Xamarin.Forms.BindableObject.SetValue(BindableProperty property, Object value, Boolean fromStyle, Boolean checkAccess)
   at Syncfusion.SfSchedule.XForms.SfSchedule.set_ScheduleView(ScheduleView value)
   at myTestApp.SchedulePage.<Schedule_ScheduleCellTapped>d__13.MoveNext()

1 Reply

SP Subburaj Pandian Veluchamy Syncfusion Team February 6, 2017 11:43 AM UTC

Hi Emil, 
Thank you for your interest in Syncfusion products. 
We are unable to reproduce the mentioned issue Throws exception in Emulator while tapping the Schedule cell in Xamarin Forms (UWP) from our side. We have prepared simple sample, please find the below sample. 
Sample link: Schedule_Simple_Sample 
Since the shared information is not sufficient to reproduce the issue, could you please revert to us by modifying the provided sample with issue reproducing scenario and its replication procedure, it will helpful for us to analyze on it and provide you a better solution. 
Subburaj Pandian V  

Live Chat Icon For mobile
Up arrow icon