Tagged Values reference problem (#1603)

Adding a tagged value with a reference to a diagram then clicking on the tag causes an error

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

at SoftwareIdeasModeler.Core.DiagramItems.Fields.TaggedValueField.GetHashCode()

at SoftwareIdeasModeler.Core.DiagramItems.Fields.ConcreteField.GetHashCode()

at System.Collections.Generic.ObjectEqualityComparer`1.GetHashCode(T obj)

at System.Collections.Generic.HashSet`1.InternalGetHashCode(T item)

at System.Collections.Generic.HashSet`1.Contains(T item)

at SoftwareIdeasModeler.Core.Diagramming.Canvas.CanvasProcessor.ProcessSelection(Point location, PenModifiers modifiers)

at SoftwareIdeasModeler.Core.Diagramming.Canvas.CanvasProcessor.MouseDown(Point location, Point screenLocation, PenModifiers modifiers)

at SoftwareIdeasModeler.SimDiagramControl.canvas_MouseDown(Object sender, MouseEventArgs e)

at System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e)

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

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

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

OF=SoftwareIdeasModeler.MainForm

LastCmd=SoftwareIdeas.Common.Commands.CombinedCommand

Created
28 May 2019 9:11:50
Closed
29 May 2019 9:04:24
Requested by
Sim18
State
Solved
Version
11.97.7029.27783
OperatingSystem
Windows
Solved in
11.98

Dusan Rodina - softwareideas.net 28 May 2019 22:35:07

Thank you for your feedback. This bug will be fixed in the next release.

Sim18 2 June 2019 3:39:57

I updated to 11.98.7088.15063

Clicking a referenced tagged value no longer causes the error, but it does not follow the link to the reference

Thanks

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]