fernandreu / office-ribbonx-editor

An overhauled fork of the original Custom UI Editor for Microsoft Office, built with WPF
MIT License
516 stars 100 forks source link

NullReferenceException: Object reference not set to an instance of an object. #176

Open MWagnerISP opened 3 years ago

MWagnerISP commented 3 years ago

While trying to remove a duplicated icon from the object list

System.NullReferenceException: Object reference not set to an instance of an object.
   at OfficeRibbonXEditor.ViewModels.Documents.OfficePartViewModel.RemoveIcon(String id)
   at OfficeRibbonXEditor.ViewModels.Windows.MainWindowViewModel.ExecuteRemoveItemCommand()

To Reproduce Please describe the steps that lead to the unhandled exception here, including example files if relevant.

Screenshots If applicable, add screenshots to help explain how the unhandled exception occurred.

Additional context