Smart layout crash (#61)

Smart layout gives sometimes crash, sometimes error:

Dutch: "System.ArgumentException: Er is al een item met dezelfde sleutel toegevoegd.

bij System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)

bij System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)

bij System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)

bij SoftwareIdeasModeler.Core.Layouts.Specific.UseCaseDiagramLayoutMaker.DoLayout()

bij SoftwareIdeasModeler.Core.Layouts.SmartLayoutMaker.Layout()

bij SoftwareIdeasModeler.Core.Commands.LayoutCommand.Execute()

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

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

bij SoftwareIdeasModeler.MainForm.UseAutoLayout(LayoutMaker maker)

bij System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)

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

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

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

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

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

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

bij System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

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

Sample diagram who crashes on smart layout can be found here: http://dl.dropbox.com/u/117257/crash.simp

Created
17 May 2012 5:08:06
Closed
20 May 2012 16:04:41
Requested by
Theodoor
State
Solved
Version
5.20
OperatingSystem
Windows 7
Solved in
5.25

Dusan Rodina - softwareideas.net 20 May 2012 16:05:11

Thank you for sample diagram.

Now, it's fixed.

Anon 14 June 2015 1:09:28

I got a very similar error upon starting Software Ideas Modeler :(

Dusan Rodina - softwareideas.net 14 June 2015 20:21:14

Hello,

Could you please provide more details? What version of Software Ideas Modeler do you use? Could you post the text of this error here?

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]