OnSfSchedulePropertiesChanged throws exception on UWP

I am getting exception below for some desktop devices in UWP. it looks like that it is related with masterdetail page, if I have page with masterdetail and one of the page implements sfschedule on a page and when I navigate away from the page where sfschedule is it throws this exception. I think that i had either another incident or thread regarding this.


Stacktrace
System.NullReferenceException: Object reference not set to an instance of an object. at Syncfusion.SfSchedule.UWP.SfSchedule.set_HeaderStyle(UI.Xaml.Style value) at Syncfusion.SfSchedule.XForms.UWP.SfScheduleMapping.OnSfSchedulePropertiesChanged(String propertyName, SfSchedule.XForms.SfSchedule formSfSchedule, SfSchedule.UWP.SfSchedule nativeSchedule, SfSchedule.XForms.UWP.SfScheduleRenderer scheduleRenderer) at Syncfusion.SfSchedule.XForms.UWP.SfScheduleRenderer.OnElementPropertyChanged(Object sender, ComponentModel.PropertyChangedEventArgs e) at Void System.Action`2.InvokeMulticastThunk(T1, T2) + 0x49 at Void System.EventHandler`1.Invoke(Object, TEventArgs) + 0x1b at Xamarin.Forms.BindableObject.OnPropertyChanged(String propertyName) at Xamarin.Forms.Element.OnPropertyChanged(String propertyName) at Xamarin.Forms.BindableObject.SetValueActual(Forms.BindableProperty property, Forms.BindableObject.BindablePropertyContext context, Object value, Boolean currentlyApplying, Forms.Internals.SetValueFlags attributes, Boolean silent) at Xamarin.Forms.BindableObject.SetValueCore(Forms.BindableProperty property, Object value, Forms.Internals.SetValueFlags attributes, Forms.BindableObject.SetValuePrivateFlags privateAttributes) at Syncfusion.SfSchedule.XForms.UWP.SfScheduleMapping.Dispose() at Syncfusion.SfSchedule.XForms.UWP.SfScheduleRenderer.Dispose(Boolean disposing) at Void Xamarin.Forms.Platform.UWP.VisualElementRenderer`2.Dispose() + 0x13 at Xamarin.Forms.Platform.UWP.VisualElementExtensions.Cleanup(Forms.VisualElement self) at Xamarin.Forms.Platform.UWP.NavigationPageRenderer.Dispose(Boolean disposing) at Xamarin.Forms.Platform.UWP.NavigationPageRenderer.Dispose() at Xamarin.Forms.Platform.UWP.MasterDetailPageRenderer.ClearDetail() at Xamarin.Forms.Platform.UWP.MasterDetailPageRenderer.UpdateDetail() at Xamarin.Forms.Platform.UWP.MasterDetailPageRenderer.OnElementPropertyChanged(Object sender, ComponentModel.PropertyChangedEventArgs e) at Void System.Action`2.InvokeMulticastThunk(T1, T2) + 0x49 at Void System.EventHandler`1.Invoke(Object, TEventArgs) + 0x1b at Xamarin.Forms.BindableObject.OnPropertyChanged(String propertyName) at Xamarin.Forms.Element.OnPropertyChanged(String propertyName) at Xamarin.Forms.MasterDetailPage.set_Detail(Forms.Page value)

2 Replies

GC Ganeshamoorthy Chandramoorthy Syncfusion Team April 11, 2018 05:35 PM UTC

 
We have checked with the provided information and we are able to reproduce the issue “Exception is thrown when schedule dispose method is called while navigate to next page from SfSchedule page in MasterDetail page”. We have logged an issue report on this. We will fix the issue and include the fix in our upcoming volume 1 SP2 release which is expected to be available by end of month April 2018. We appreciate your patience until then. 
 
Regrads, 
Ganeshamoorthy C 



GC Ganeshamoorthy Chandramoorthy Syncfusion Team April 25, 2018 05:34 AM UTC

Hi Emil, 
 
We are glad to announce that our Essential Studio Volume 1, SP 2 2018 (v16.1.0.37) is rolled out along with the issue fix of “Exception is thrown when schedule dispose method is called while navigate to next page from SfSchedule page in MasterDetail page” for Xamarin Forms UWP and is available for download under the following link. 
 
 
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance. 
 
Regards, 
Ganeshamoorthy C 


Loader.
Up arrow icon