Hi team,
we are facing an issue with SfCalendar. We display Calendar control in a popup, we are listening to OnCalendarTapped event. When the event is invoked, then we close the popup. In all platforms (iOS, Win, Android) SfCalendar control crashes on error:
System.NullReferenceException: Object reference not set to an instance of an object.
at Syncfusion.UI.Xaml.Controls.Input.CalendarView.UpdateCurrentMonthSelection(Object sender, RoutedEventArgs e)
If we add a Task.Delay(5) before closing the popup, everything seems to be working fine. Can you please take a look at this issue? There is a test app in attachment, demonstrating how we handle popups and SfCalendar.
Thanks,
Peter
Hi Peter,
#Regarding SfCalendar crashing when closing popup after OnCalendarTapped event is fired
Currently, we are checking the reported scenario from our end. we will update you the further detail on April 28, 2022. We appreciate the patience until then.
Regards,
SaiGanesh Sakthivel
Hi Peter,
#Regarding SfCalendar crashing when closing popup after OnCalendarTapped event is fired
We have found and fixed the reported scenario from our end. we will include the issue fix in our upcoming weekly nuget which is expected to roll out on May 3, 2022. We appreciate your patience until then.
Regards,
SaiGanesh Sakthivel
Hi SaiGanesh,
thank you for your update, we really appreciate the speed of resolving reported issues
Kind regards,
Peter Kis
Hi Peter,
We have fixed the reported issue
“SfCalendar crashing when closing popup after OnCalendarTapped event is
fired” and included the issue fix in our latest Weekly NuGet release update
version 20.1.0.52 which is available for download (nuget.org).
We thank you for your support and appreciate your patience in waiting for this update. Please get in touch with us if you would require any further assistance.
Regards,
Muniappan S.
Dear SF Team,
as a colleague of Peter, I have tested nuget 20.1.0.52 and now closing the popup indeed doesn't crash from OnCalendarTapped event. However, if we close the popup from SelectionChanged event - same issue as before occurs on iOS. Windows UWP seems to work ok.
Please, find updated sample in attachment.
Best regards,
Maiia Kuzmishyna
Hi Maiia,
#Regarding SfCalendar crashing when closing popup after OnCalendarTapped event is fired
We have found and fixed the reported scenario from our end. we will include the issue fix in our upcoming weekly nuget which is expected to roll out on May 17, 2022. We appreciate your patience until then.
Regards,
SaiGanesh Sakthivel
Hi Maiia,
We
have fixed the reported issue “SfCalendar crashing when closing popup after SelectionChanged
event is fired” and included the issue fix in our latest Weekly NuGet
release update version 20.1.0.56 which is available for download (nuget.org).
We thank you for your support and appreciate your patience in waiting for this update. Please get in touch with us if you would require any further assistance.
Regards,
SaiGanesh Sakthivel
Dear SF Teams,
the issue seems to be fixed on iOS but not on Android.
Best regards,
Maiia Kuzmishyna
Hi Maiia,
#Regarding SfCalendar crashing when closing popup after SelectionChanged event is fired in android platform.
We have already found and fixed the reported scenario from our end. We will include the issue fixed in our upcoming weekly nuget release which is expected to roll out on June 7, 2022. We appreciate the patience until then.
Regards,
SaiGanesh Sakthivel
Hi Maiia,
We
have fixed the reported issue “SfCalendar crashing when closing
popup after SelectionChanged event is fired in android platform.” and
included the issue fix in our latest Weekly NuGet release update
version 20.1.0.59 which is available for download (nuget.org).
We thank you for your support and appreciate your patience in waiting for this update. Please get in touch with us if you would require any further assistance.
Regards,
Muniappan S