Error Invoking 'Customize'. Details: Object reference not set to an instand on an object : I'm using visual studio 2017 I have a popupmenu on my designer view where I have added a list of popup menu items. When I try to customize the menu items by clicking on popupmenu and then the customize button. Instead of displaying the popupmenu items it displays an error message saying "Error Invoking 'Customize'. Details: Object reference not set to an instand on an object".


What can I do to solve this? I have no idea on what to do. Attached to this is a picture of the error message.

[error message][1]


  [1]: https://i.stack.imgur.com/OZs8Q.png