NullReferenceException on qualified association set (#468)

I get a null reference error dialog when trying to set a qualified association.

Steps to repeat:

  • Start new project
  • Start new class diagram
  • Create class
  • Create a second class
  • Create an association between them
  • Edit association properties
  • Add qualifier on either end of the relationship

The following error pops up:

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

at SoftwareIdeasModeler.Core.Commands.ChangeQualifiersCommand.SpecificExecute()

at SoftwareIdeasModeler.Core.Commands.BaseCommands.ChangeTrackedCommand.Execute()

at SoftwareIdeasModeler.Core.Commands.CombinedCommand.Execute()

at SoftwareIdeasModeler.Core.Commands.CombinedCommand.Execute()

at SoftwareIdeasModeler.Core.Projecting.CommandStack.AddCommand(Command command, Boolean execute)

at SoftwareIdeasModeler.Core.Projecting.CommandStack.Execute(Command command)

at SoftwareIdeasModeler.Core.Projecting.Project.Execute(Command cmd)

at SoftwareIdeasModeler.Dialogs.Properties.ItemPropertiesForm.okButton_Click(Object sender, EventArgs e)

at System.Windows.Forms.Control.OnClick(EventArgs e)

at System.Windows.Forms.Button.OnClick(EventArgs e)

at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)

at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.ButtonBase.WndProc(Message& m)

at System.Windows.Forms.Button.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

OF=SoftwareIdeasModeler.MainForm

LastCmd=SoftwareIdeasModeler.Core.Commands.AutoSizeCommand

OF=DockablePanel.Controls.DockablePanel.FloatingForm

OF=SoftwareIdeasModeler.Forms.StartForm

OF=SoftwareIdeasModeler.Forms.ProjectForm

OF=SoftwareIdeasModeler.Forms.EditorForm

OF=SoftwareIdeasModeler.Dialogs.Properties.ItemPropertiesForm

Created
20 March 2016 0:04:04
Closed
21 March 2016 22:41:47
Requested by
Chris Simmons
State
Solved
Version
9.31.5904.36746 (64-bit)
OperatingSystem
Windows 8.1
Solved in
9.32

Dusan Rodina - softwareideas.net 20 March 2016 23:09:36

Hello,

thank you for your feedback. Both bugs will be fixed as soon as possible - within few days.

Chris Simmons 21 March 2016 22:47:14

You fixed this so fast. Thank you, Dusan!

Dusan Rodina - softwareideas.net 21 March 2016 22:48:36

You are welcome! In case of any other problems (or suggestions for improvements) feel free to let me know again.

TrackedRequestComment
Your Name:
You can use these formatting tags: [b]bold[/b] [i]italic[/i] [u]underline[/u] [url]www.example.com[/url] [code]some code[/code] [quote]quoted text[/quote] [list]one list item per line[/list]