Exception line points (#353)

Exception while removing a point who just appeared on the side of a action in a activity diagram. Linestyle: rectangular

System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.

Parameter name: index

at System.Collections.Generic.List`1.RemoveAt(Int32 index)

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

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

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

at SoftwareIdeasModeler.SimDiagramControl.removePointToolStripMenuItem_Click(Object sender, EventArgs e)

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

at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)

at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)

at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)

at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)

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

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

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

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

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

Created
29 April 2014 12:21:48
Closed
4 May 2014 18:44:51
Requested by
TG
State
Solved
Version
7.10
OperatingSystem
Windows 7
Solved in
7.20
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]