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
close icon

SfMenu crashes when using SfMenuSeparator and sub-menu with icon and having ExpandMode set to ExpandOnClick


Since the last update to, the menu seems to be crashing when clicking directly on the sub-menu which contains a sub-menu with some items and one or more separators, the sub-menu items have the icon property set, without it, it seems to be working correctly.

Here's the error message:
"System.NullReferenceException: Object reference not set to an instance of an object.
at Syncfusion.UI.Xaml.Controls.Navigation.SfMenuItem.UpdateIconVisibility(Boolean isitemssource)
at Syncfusion.UI.Xaml.Controls.Navigation.SfMenuItem.OnPointerPressed(PointerRoutedEventArgs e)"

Also I've attached a sample with the issue. Would like to mention also that this is not happening currently on the old version

Have a nice day,

Attachment: SfMenuIcon_762232b3.zip

1 Reply

MS Marimuthu Sivalingam Syncfusion Team August 17, 2017 11:41 AM UTC

Hi Alexandru Pastor Opris,

We were able to reproduce the issue and have logged defect report regarding this. A support incident to track the status of this defect has been created under your account. Please log on to our support website to check for further updates


Marimuthu S.

Live Chat Icon For mobile
Up arrow icon