Version: 1.2.90 (using KDE 3.2.2, compiled sources) Compiler: gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5) OS: Linux (i686) release 2.4.20-6 I am using the latest CVS version of umbrello as of 06/15/04. Somehow I ended up with a null string ("") in a floatingtext object within a component view in one of my XMI files. (Not sure if it came from some text that I deleted, or not, but it was in there.) Below is a XMI file fragment that shows this. When I have this null string, the load of the XMI file fails with the following warnings: umbrello: WARNING: failed umlview load on widgets umbrello: WARNING: failed load on viewdata loadfromXMI umbrello: WARNING: failed load on diagrams All the diagrams are then hosed. I had to edit the code to put some extra print statements in to find this guy. Can the error messages be made a little more explanitory? For instance, give the line number and tag name of the failed item. That would have pointed me to the problem. Also, in a case like this where the diagrams are hosed, shouldn't that be an error not just a warning? (The XMI file failed to load properly, that is an error in my book.) Here is the XMI fragment <diagrams> <diagram snapgrid="1" showattsig="1" fillcolor="#ffffc0" linewidth="0" zoom="112" showgrid="1" showopsig="1" usefillcolor="1" snapx="1 0" canvaswidth="981" snapy="10" showatts="0" xmi.id="1226" documentation="" type="406" showops="0" showpackage="1" name="component diagra m" localid="30000" showstereotype="0" showscope="1" snapcsgrid="0" font="AR PL KaitiM Big5,10,-1,5,50,0,0,0,0,0" linecolor="#ff0000" canv asheight="848" > <widgets> <floatingtext usesdiagramfillcolour="1" width="8" usesdiagramusefillcolour="1" x="240" linecolour="none" y="348" linewidth="none" us esdiagramlinewidth="1" posttext="" usesdiagramlinecolour="1" role="700" fillcolour="none" height="19" usefillcolor="1" pretext="" isinsta nce="0" xmi.id="1360" text="" font="AR PL KaitiM Big5,10,-1,5,50,0,0,0,0,0" /> </widgets> </diagram>
Finally a fun bug (devastating effect, easy fix :)