Can not load Project

Support

I brought a project for StarUML as XMI and could import it and save it as a .simp file but the latter is not loadable.

Symptons:

System.ArgumentException: Cannot resolve input-pin type.

em SoftwareIdeasModeler.ProjectXml.SimXmlReader.ResolveType(String typeName, Decimal version)

em SoftwareIdeasModeler.Core.Projecting.Folder.LoadItemsFromXElement(SimXmlReader reader, Folder folder, XElement root)

em SoftwareIdeasModeler.Core.Projecting.Folder.FromXElement(SimXmlReader reader, Project project, XElement elem)

em SoftwareIdeasModeler.ProjectXml.SimXmlReader.LoadFolders(XElement root)

em SoftwareIdeasModeler.ProjectXml.SimXmlReader.Load()

em SoftwareIdeasModeler.ProjectHelper.LoadProject(String localFileName, Boolean showReadOnlyWarning, Boolean checkFileVersion, Boolean processCustomDiagrams, Boolean showErrorMessages)

em SoftwareIdeasModeler.ProjectHelper.LoadProject(String filename, String repositoryPath)

2 December 2020 21:59:46 Ramiro Carvalho

Add Comment

Dusan Rodina - softwareideas.net 2 December 2020 22:03:04

Thank you for your feedback. The issue will be fixed very soon.

Ramiro Carvalho 4 December 2020 22:48:59

RE: Can not load Project

Dusan,

by inspecting the XMI file generated by StarUML and a XMI file generated by SIM, I could see some differences in the structure. The "name" and "visibility" are XML elements for SIM but are XML element attributes for StarUML (is the OMG standard vague on that?).

I made the conversion and tried again and this time SIM was able to load a lot more elements but I the save file is not yet loadable.

I was trying to register into the softwareideas site in order to download a better simp file to use in this research but I could not find a link for registering.

Can you provide me a simp file with a good size to serve as research material to find other differences?

Thanks,

Ramiro.

Dusan Rodina - softwareideas.net 4 December 2020 23:04:14

RE: RE: Can not load Project

Hello Ramiro,

Thank you for your detailed report. The XMI import from StarUML will be analyzed. The unloadable project after XMI import will be fixed very soon, probably this Monday.

Ramiro Carvalho 3 December 2020 16:13:11

Can not load Project

Thanks Dusan.

I deleted all packages in the project which had activities to avoid the input pin type conversion problem but this time I got an interface realization type conversion problem:

System.ArgumentException: Cannot resolve interface-realization type.

em SoftwareIdeasModeler.ProjectXml.SimXmlReader.ResolveType(String typeName, Decimal version)

em SoftwareIdeasModeler.Core.Projecting.Folder.LoadItemsFromXElement(SimXmlReader reader, Folder folder, XElement root)

em SoftwareIdeasModeler.Core.Projecting.Folder.FromXElement(SimXmlReader reader, Project project, XElement elem)

em SoftwareIdeasModeler.ProjectXml.SimXmlReader.LoadFolders(XElement root)

em SoftwareIdeasModeler.ProjectXml.SimXmlReader.Load()

em SoftwareIdeasModeler.ProjectHelper.LoadProject(String localFileName, Boolean showReadOnlyWarning, Boolean checkFileVersion, Boolean processCustomDiagrams, Boolean showErrorMessages)

em SoftwareIdeasModeler.ProjectHelper.LoadProject(String filename, String repositoryPath)

Is it possible for the software not to abort the loading of the project due to these conversion problems?