Login | Register
My pages Projects Community openCollabNet

Discussions > Notification of Issues > [argouml-issues] [Issue 6490] Could not open the UML file

argouml
Discussion topic

Back to topic list

[argouml-issues] [Issue 6490] Could not open the UML file

Author dannym
Full name Daniel Minder
Date 2015-02-04 03:04:56 PST
Message http://argouml.tigri​s.org/issues/show_bu​g.cgi?id=6490






------- Additional comments from dannym at tigris dot org Wed Feb 4 03:04:55 -0800 2015 -------
Yesterday I encountered the same problem with the Windows version of AgroUML
0.34. The error was similar:

XMI external reference error attempting to read:
file:/C:/Users/user/​AppData/Local/Temp/z​argo_model_218642737​4741239663.xmi

I unpacked the zargo file and compared the included .xmi file with an .xmi file
of a working zargo file, both containing state machines. I discovered several
things:

- The not working files did not contain a UML:Model, UML:Namespace.ownedElement,
UML:StateMachine, UML:StateMachine.top, UML:CompositeState,
UML:CompositeState.subvertex and UML:StateMachine.transitions element. All
UML:SimpleState, UML:Pseudostate and UML:Transition elements were stored
sequentially as direct childs of XMI.content.

- Three SimpleStates and one Transition were missing in this XMI file but they
were referenced at several places (e.g. in a UML:Transition.source). However,
instead of using xmi.idref the reference was given in an href attribute.

- The normal idrefs looked like
"-122-91-76--34--333​f19c5:14b4f09717d:-8​000:0000000000000992​". However, the
hrefs looked like
"file:/C:/Users/user​/AppData/Local/Temp/​zargo_model_21864273​74741239663.xmi#-64-​-88-56-1-1d1b49ce:14​b4b85c308:-8000:0000​00000000086B".
Here, the filename from the error message is stored. I don't know how exactly
the ids are built, but it the first two parts of the id look completely different.

- If I remember correctly I started the state machine, saved it, closed
ZargoUML, opened the file later on again and continued working. The missing
states are exactly the ones that I drew during the first run.

- Interestingly, the pgml file for the state machine contained all states and
transitions. So, I figured out the ids of the missing states and transitions and
fixed the xmi file manually, zipped it - and it's opening fine now.

« Previous message in topic | 9 of 14 | Next message in topic »

Messages

Show all messages in topic

[argouml-issues] [Issue 6490] New - Could not open the UML file leenuxwu wulihu 2014-07-24 18:38:50 PDT
     [argouml-issues] [Issue 6490] Could not open the UML file leenuxwu wulihu 2014-07-24 18:41:17 PDT
     [argouml-issues] [Issue 6490] Could not open the UML file iinertiaii Martin-Lee Cusick 2016-10-17 17:09:20 PDT
     [argouml-issues] [Issue 6490] Could not open the UML file iinertiaii Martin-Lee Cusick 2016-10-17 17:19:16 PDT
     [argouml-issues] [Issue 6490] Could not open the UML file krafel f.k. 2017-07-21 17:28:10 PDT
     [argouml-issues] [Issue 6490] Could not open the UML file bigmaciain Iain 2017-08-01 08:13:09 PDT
     [argouml-issues] [Issue 6490] Could not open the UML file bobtarling Bob Tarling 2014-07-24 18:49:11 PDT
     [argouml-issues] [Issue 6490] Could not open the UML file bobtarling Bob Tarling 2014-07-24 19:52:02 PDT
     [argouml-issues] [Issue 6490] Could not open the UML file dannym Daniel Minder 2015-02-04 03:04:56 PST
     [argouml-issues] [Issue 6490] Could not open the UML file bobtarling Bob Tarling 2015-02-04 03:32:11 PST
     [argouml-issues] [Issue 6490] Could not open the UML file bobtarling Bob Tarling 2015-02-04 03:33:10 PST
     [argouml-issues] [Issue 6490] Could not open the UML file itguy9401 Arcangelo Vicedomini 2015-10-14 10:55:24 PDT
     [argouml-issues] [Issue 6490] Could not open the UML file elbedd Laurent BRAUD 2015-10-16 09:55:27 PDT
     [argouml-issues] [Issue 6490] Could not open the UML file iinertiaii Martin-Lee Cusick 2016-10-17 17:08:38 PDT
Messages per page: