Software error opening a project! (#135)

This is the second time this has happen in a week. Please help I have did a lot a work and I do not want to rewrite my flow chart for a third time.

Here's the error:

System.ArgumentException: An item with the same key has already been added.

at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)

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

at System.Linq.Enumerable.ToDictionary(IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)

at System.Linq.Enumerable.ToDictionary(IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector)

at SoftwareIdeasModeler.Core.Projecting.Project.BindAbstractItem(AbstractDiagramItem item)

at SoftwareIdeasModeler.Core.Projecting.Project.BindEntities()

at SoftwareIdeasModeler.ProjectXml.SimXmlReader.Load()

at SoftwareIdeasModeler.ProjectHelper.OpenProject(MainForm mainForm, String filename)

29 December 2012 2:05:33
8 January 2013 16:05:40
Requested by
Solved in

Dusan Rodina - 29 December 2012 2:36:36

I'm analyzing your exception. It seems that there are multiple elements with the same ID. I will post here a hot fix within few hours, which allows you to load your project file.

I have a few questions that will help me to exclude some cases, how this problem could arise:

Did you modify the file manually?

Did you perform some special operations - merge, or something similar?

Thank you for your cooperation.

If you encounter any slightest problem in future, feel free to let me know.

Dusan Rodina - 29 December 2012 2:46:32

If it is possible, you can send me this file to softwareideas @ softwareideas . net

It would help me to better identify the problem.

Dusan Rodina - 29 December 2012 9:44:47

I've identified the source of the problem, so you don't need to send me the file.

Hot fix is available here:

It will be included in official release - 5.81.

JKSH 29 December 2012 22:55:37

Thanks, I just ran into this problem myself, and the hotfix worked

Drake Matfield 29 December 2012 23:49:43

I can't wait to get home to see if it works! As a follow programmer I am curious to know what was causing the error?

Dusan Rodina - 30 December 2012 3:28:38

The error was caused by incorrect (duplicate) internal IDs. It could arise when you copy grouped elements. When the group was copied only group ID was updated, IDs of grouped elements were copied and not updated. The exception was thrown when program try to bind relations between elements after loading from XML file.

This error was present probably from version 5.0, when multi-level repository of elements was introduced, which was implemented to allow to effectively save the project to multiple files.

Now assigning of IDs is reworked and the problem should not occur anymore.

mohamed 10 February 2020 21:26:12

can not save changes in a project

Dusan Rodina - 11 February 2020 7:10:23


What version of Software Ideas Modeler do you use please? Can you describe the content of the project or last changes before the problem occurred?

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