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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Thread ID:





132141 Aug 16,2017 10:39 AM UTC Aug 17,2017 11:41 AM UTC UWP 1
Tags: SfMenu
Alexandru Pastor Opris
Asked On August 16, 2017 10:39 AM UTC


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

Marimuthu Sivalingam [Syncfusion]
Replied On 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.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon