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

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

Thread ID:





128675 Feb 5,2017 12:43 AM UTC Feb 6,2017 11:43 AM UTC Xamarin.Forms 1
Tags: SfSchedule
Asked On February 5, 2017 12:43 AM UTC

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()

Subburaj Pandian Veluchamy [Syncfusion]
Replied On 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  


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