Summary: | Umbrello Crash when opening XMI | ||
---|---|---|---|
Product: | [Applications] umbrello | Reporter: | pierre fermat <fermatslittletheorem> |
Component: | general | Assignee: | Oliver Kellogg <okellogg> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | okellogg, ralf.habacker |
Priority: | NOR | Keywords: | drkonqi |
Version: | 2.10.5 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.14.0 | |
Attachments: | This xmi file caused umbrello to crash. This works in other tools. |
Description
pierre fermat
2014-03-26 06:36:30 UTC
From the backtrace I would say that the xmi file do not contains any class diagrams. Umbrello requires at least on class diagram to have in the xmi file. Is there a test file or a link to a test file available, so that we can reproduce this ? Created attachment 85894 [details]
This xmi file caused umbrello to crash. This works in other tools.
Thanks for this test case. The second line of the file indicates that this file is of xmi version 2.1 which is unsupported yet. <xmi:XMI xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" I compiled a 2.10.5 version from git and tried to load the unpacked file. The application did not crash it reports something like "Loading of .... has failed". (In reply to comment #3) > Thanks for this test case. > > The second line of the file indicates that this file is of xmi version 2.1 > which is unsupported yet. > <xmi:XMI xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" There are additional issues with this file 1. ... <packageImport xmi:type="uml:PackageImport" xmi:id="_PHV3o0V4EeO4xoMJaWvqzA"> The creator of this xmi file does not follow the announced schema version because packageImport and packagedElement are uml 2.2 elements. 2. ... <importedPackage xmi:type="uml:Model" href="http://schema.omg.org/spec/UML/2.2/uml.xml#_0"/> the href link is broken (In reply to comment #4) > (In reply to comment #3) > > Thanks for this test case. > > > > The second line of the file indicates that this file is of xmi version 2.1 > > which is unsupported yet. > > <xmi:XMI xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" > There are additional issues with this file > > 1. ... <packageImport xmi:type="uml:PackageImport" > xmi:id="_PHV3o0V4EeO4xoMJaWvqzA"> > The creator of this xmi file does not follow the announced schema version > because packageImport and packagedElement are uml 2.2 elements. This is because there is no xmi 2.2 version according to http://en.wikipedia.org/wiki/XML_Metadata_Interchange (In reply to comment #3) > Thanks for this test case. > > The second line of the file indicates that this file is of xmi version 2.1 > which is unsupported yet. Thanks to the recent effort of Olliver Kellogg this file could be loaded with git master. |