Null Ref. Exc. after clicking on QuickAccesBar elem (#1562)
Hello
From "Diagram" tab I have added "Show Element Parts" to "Quick Access Bar".
After clicking on added icon on Quick Access Bar I have recieved following exception:
System.NullReferenceException: Odwołanie do obiektu nie zostało ustawione na wystąpienie obiektu.
w SoftwareIdeasModeler.RibbonDefinition.StateUpdaters.DiagramBoolStateUpdater.GetState(IStateChangingEvent changeEvent, ApplicationCommandProcessor context)
w SoftwareIdeasModeler.RibbonDefinition.StateUpdaters.UIActionStateUpdater`2.SoftwareIdeasModeler.RibbonDefinition.StateUpdaters.IUIActionStateUpdater.GetState(IStateChangingEvent changeEvent, ApplicationCommandProcessor context)
w SoftwareIdeasModeler.RibbonDefinition.StateUpdaters.RibbonItemStateUpdaterWrapper.UpdateState(RibbonItem item, IStateChangingEvent changeEvent, Object context)
w SoftwareIdeas.Ribbon.RibbonControl.RibbonDropDownButton.UpdateItems(IList`1 items)
w SoftwareIdeas.Ribbon.RibbonControl.RibbonDropDownButton.OpenDropDown()
w SoftwareIdeas.Ribbon.RibbonControl.RibbonDropDownButton.MouseDown(MouseEventArgs e)
w SoftwareIdeas.Ribbon.RibbonControl.RibbonBarBody.OnMouseDown(MouseEventArgs e)
w System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
w System.Windows.Forms.Control.WndProc(Message& m)
w System.Windows.Forms.UserControl.WndProc(Message& m)
w System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
OF=SoftwareIdeasModeler.MainForm
NoCmds
Patryk
Dusan Rodina - softwareideas.net 25 September 2018 9:05:20
Hello,
Thank you for your feedback. This bug will be fixed in the next release.