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.
Unfortunately, activation email could not send to your email. Please try again.

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

Thread ID:

Created:

Updated:

Platform:

Replies:

128675 Feb 4,2017 07:43 PM Feb 6,2017 06:43 AM Xamarin.Forms 1
loading
Tags: SfSchedule
Emil
Asked On February 4, 2017 07:43 PM

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.
Raw
   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 06:43 AM

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. 
 
Regards,
Subburaj Pandian V  


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.

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.

;