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

Exception when switch between viewmode [UWP]

during some more testing, sometimes an exception is thrown when switching between the viewmodes.
It occurs when changing from day- or weekview to monthview.

FSM.UWP.exe!FSM.UWP.App.InitializeComponent.AnonymousMethod__6_1(object sender, Windows.UI.Xaml.UnhandledExceptionEventArgs e) Line 53   

Object reference not set to an instance of an object.

   at Syncfusion.UI.Xaml.Schedule.SfSchedule.OnWeekNumberStyleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
   at Xamarin.Forms.Platform.UWP.TaskExtensions.<>c.<WatchForError>b__2_1(Object e)
   at System.Threading.WinRTSynchronizationContext.Invoker.InvokeCore()

A week ago I enabled
Before that I never had an exception switching the viewmodes....so it may be related, looking at the exception info.

Finally I found a way to reproduce the error:
- Start in viewmode "Month"
- Click on right arrow to go to the next month
- Switch to viewmode "Week"
- Switch back to viewmode "Month" ---> Exception


1 Reply

SP Subburaj Pandian Veluchamy Syncfusion Team September 13, 2017 05:44 AM UTC

Hi Siggi,  
Thank you for contacting Syncfusion support. 
We have created a new support incident under your account to track the status of this query. Please log on to our support website to check for further updates. 

Subburaj Pandian V


Live Chat Icon For mobile
Up arrow icon