Bug 235703 - Umbrello - Segmentation fault when trying to generate code Java
Summary: Umbrello - Segmentation fault when trying to generate code Java
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-29 11:55 UTC by MpMp
Modified: 2013-11-06 17:23 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 4.8.1


Attachments
XMI file of the umbrello project (45.34 KB, application/xml)
2010-04-29 11:58 UTC, MpMp
Details
XMI file, fixed (44.57 KB, text/x-xmi)
2012-02-14 22:39 UTC, Oliver Kellogg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MpMp 2010-04-29 11:55:55 UTC
Version:           2.4.2 (using KDE 4.4.2)
OS:                Linux
Installed from:    Fedora RPMs

When I try to generate the Java code, Umbrello crash.
XMI file:

<?xml version="1.0" encoding="UTF-8"?>
<XMI verified="false" xmi.version="1.2" timestamp="2010-04-29T11:47:13" xmlns:UML="http://schema.omg.org/spec/UML/1.3">
 <XMI.header>
  <XMI.documentation>
   <XMI.exporter>umbrello uml modeller http://uml.sf.net</XMI.exporter>
   <XMI.exporterVersion>1.5.8</XMI.exporterVersion>
   <XMI.exporterEncoding>UnicodeUTF8</XMI.exporterEncoding>
  </XMI.documentation>
  <XMI.metamodel xmi.version="1.3" href="UML.xml" xmi.name="UML"/>
 </XMI.header>
 <XMI.content>
  <UML:Model isSpecification="false" isAbstract="false" isLeaf="false" xmi.id="m1" isRoot="false" name="Modello UML">
   <UML:Namespace.ownedElement>
    <UML:Stereotype visibility="public" isSpecification="false" namespace="m1" isAbstract="false" isLeaf="false" isRoot="false" xmi.id="folder" name="folder"/>
    <UML:Stereotype visibility="public" isSpecification="false" namespace="m1" isAbstract="false" isLeaf="false" isRoot="false" xmi.id="datatype" name="datatype"/>
    <UML:Stereotype visibility="public" isSpecification="false" namespace="m1" isAbstract="false" isLeaf="false" isRoot="false" xmi.id="ListArray" name="ListArray"/>
    <UML:Stereotype visibility="public" isSpecification="false" namespace="m1" isAbstract="false" isLeaf="false" isRoot="false" xmi.id="ArrrayList" name="ArrrayList"/>
    <UML:Stereotype visibility="public" isSpecification="false" namespace="m1" isAbstract="false" isLeaf="false" isRoot="false" xmi.id="AbstractRisorsa" name="AbstractRisorsa"/>
    <UML:Stereotype visibility="public" isSpecification="false" namespace="m1" isAbstract="false" isLeaf="false" isRoot="false" xmi.id="ArrayList" name="ArrayList"/>
    <UML:Model stereotype="folder" visibility="public" isSpecification="false" namespace="m1" isAbstract="false" isLeaf="false" isRoot="false" xmi.id="Logical View" name="Logical View">
     <UML:Namespace.ownedElement>
      <UML:Package stereotype="folder" visibility="public" isSpecification="false" namespace="Logical View" isAbstract="false" isLeaf="false" isRoot="false" xmi.id="Datatypes" name="Datatypes">
       <UML:Namespace.ownedElement>
        <UML:DataType stereotype="datatype" visibility="public" isSpecification="false" namespace="Datatypes" isAbstract="false" isLeaf="false" isRoot="false" xmi.id="3Y5bqZJkp7t2" name="int"/>
        <UML:DataType stereotype="datatype" visibility="public" isSpecification="false" namespace="Datatypes" isAbstract="false" isLeaf="false" isRoot="false" xmi.id="tRtwETA8pcF5" name="char"/>
        <UML:DataType stereotype="datatype" visibility="public" isSpecification="false" namespace="Datatypes" isAbstract="false" isLeaf="false" isRoot="false" xmi.id="8VfLEamF6rou" name="bool"/>
        <UML:DataType stereotype="datatype" visibility="public" isSpecification="false" namespace="Datatypes" isAbstract="false" isLeaf="false" isRoot="false" xmi.id="O8cDFWD6v627" name="float"/>
        <UML:DataType stereotype="datatype" visibility="public" isSpecification="false" namespace="Datatypes" isAbstract="false" isLeaf="false" isRoot="false" xmi.id="YAFLmSQvx4GA" name="double"/>
        <UML:DataType stereotype="datatype" visibility="public" isSpecification="false" namespace="Datatypes" isAbstract="false" isLeaf="false" isRoot="false" xmi.id="e0PjsEdEKGQZ" name="short"/>
        <UML:DataType stereotype="datatype" visibility="public" isSpecification="false" namespace="Datatypes" isAbstract="false" isLeaf="false" isRoot="false" xmi.id="kdfdifkGoyba" name="long"/>
        <UML:DataType stereotype="datatype" visibility="public" isSpecification="false" namespace="Datatypes" isAbstract="false" isLeaf="false" isRoot="false" xmi.id="TM4iWiitPa53" name="unsigned int"/>
        <UML:DataType stereotype="datatype" visibility="public" isSpecification="false" namespace="Datatypes" isAbstract="false" isLeaf="false" isRoot="false" xmi.id="pPHDwzqZcYFK" name="unsigned short"/>
        <UML:DataType stereotype="datatype" visibility="public" isSpecification="false" namespace="Datatypes" isAbstract="false" isLeaf="false" isRoot="false" xmi.id="1IObhO53SnX8" name="unsigned long"/>
        <UML:DataType stereotype="datatype" visibility="public" isSpecification="false" namespace="Datatypes" isAbstract="false" isLeaf="false" isRoot="false" xmi.id="VQW4UXrro4ol" name="string"/>
        <UML:DataType stereotype="datatype" visibility="public" isSpecification="false" namespace="Datatypes" isAbstract="false" isLeaf="false" isRoot="false" xmi.id="WeUXBYkbfkgU" name="byte"/>
       </UML:Namespace.ownedElement>
      </UML:Package>
      <UML:Class visibility="public" isSpecification="false" namespace="Logical View" isAbstract="false" isLeaf="false" isRoot="false" xmi.id="2lEZyLD72tx5" name="Client">
       <UML:Classifier.feature>
        <UML:Attribute visibility="private" isSpecification="false" xmi.id="IxOo08zPQ853" type="lw3vnCDDklWs" initialValue="new DataStore()" name="dataStore"/>
        <UML:Operation visibility="public" isSpecification="false" isQuery="true" isAbstract="false" isLeaf="false" isRoot="false" xmi.id="KlihCH1iAmP1" name="getRisorsa">
         <UML:BehavioralFeature.parameter>
          <UML:Parameter kind="return" xmi.id="YIzH0TwmaFze" type="V41PJPJeavLm"/>
          <UML:Parameter visibility="private" isSpecification="false" xmi.id="ax1D3LuDaoKb" type="iWD6KaseCzqS" value="" name="name"/>
          <UML:Parameter visibility="private" isSpecification="false" kind="out" xmi.id="M4iiWfm6LD6z" type="V41PJPJeavLm" value="" name="risorsa"/>
         </UML:BehavioralFeature.parameter>
        </UML:Operation>
        <UML:Operation visibility="public" isSpecification="false" isQuery="true" isAbstract="false" isLeaf="false" isRoot="false" xmi.id="hMQ4DlfirV7U" name="search">
         <UML:BehavioralFeature.parameter>
          <UML:Parameter kind="return" xmi.id="66Q6HRR9fzyx" type="HiCKIcd3AydL"/>
          <UML:Parameter visibility="private" isSpecification="false" xmi.id="YPu2SGJUT8PF" type="iWD6KaseCzqS" value="" comment="Nome della risorsa cercata" name="name"/>
          <UML:Parameter visibility="private" isSpecification="false" kind="out" xmi.id="Sur6YIteoDBT" type="HiCKIcd3AydL" value="" name="trovato"/>
         </UML:BehavioralFeature.parameter>
        </UML:Operation>
        <UML:Operation visibility="public" isSpecification="false" isQuery="false" isAbstract="false" isLeaf="false" isRoot="false" xmi.id="3A9B36mh9PYC" name="Client">
         <UML:BehavioralFeature.parameter>
          <UML:Parameter visibility="private" isSpecification="false" xmi.id="coZoreYXny3y" type="iWD6KaseCzqS" value="" name="serverName"/>
         </UML:BehavioralFeature.parameter>
        </UML:Operation>
        <UML:Operation stereotype="ArrayList" visibility="private" isSpecification="false" isQuery="false" isAbstract="false" isLeaf="false" isRoot="false" xmi.id="EIz5hZzULPQO" name="searchFromUser">
         <UML:BehavioralFeature.parameter>
          <UML:Parameter kind="return" xmi.id="ABVyrv31zciC" type="iWD6KaseCzqS"/>
          <UML:Parameter visibility="private" isSpecification="false" xmi.id="fzKaRFoHaQvS" type="iWD6KaseCzqS" value="" name="name"/>
          <UML:Parameter stereotype="ArrayList" visibility="private" isSpecification="false" kind="out" xmi.id="fPa7JF0NOGtH" type="iWD6KaseCzqS" value="" name="clients"/>
         </UML:BehavioralFeature.parameter>
        </UML:Operation>
        <UML:Operation visibility="private" isSpecification="false" isQuery="true" isAbstract="false" isLeaf="false" isRoot="false" xmi.id="immV13NGXuqZ" name="download">
         <UML:BehavioralFeature.parameter>
          <UML:Parameter kind="return" xmi.id="R5TOI6UjNEm6" type="V41PJPJeavLm"/>
          <UML:Parameter visibility="private" isSpecification="false" kind="out" xmi.id="vRHnHoAw3wav" type="V41PJPJeavLm" value="" name="risorsa"/>
          <UML:Parameter visibility="private" isSpecification="false" xmi.id="qm9VgwJRXinv" type="iWD6KaseCzqS" value="" name="name"/>
         </UML:BehavioralFeature.parameter>
        </UML:Operation>
       </UML:Classifier.feature>
      </UML:Class>
      <UML:Class visibility="public" isSpecification="false" namespace="Logical View" isAbstract="false" isLeaf="false" isRoot="false" xmi.id="gYA5jmiHPbyF" name="Server">
       <UML:Classifier.feature>
        <UML:Attribute stereotype="ArrrayList" visibility="private" isSpecification="false" xmi.id="Q6MR5f6KuT3I" type="2lEZyLD72tx5" name="clients"/>
        <UML:Operation stereotype="ArrayList" visibility="public" isSpecification="false" isQuery="true" isAbstract="false" isLeaf="false" isRoot="false" xmi.id="GsQZIhjjBvDI" name="search">
         <UML:BehavioralFeature.parameter>
          <UML:Parameter kind="return" xmi.id="66Q6HRR9fzyx" type="2lEZyLD72tx5"/>
          <UML:Parameter visibility="private" isSpecification="false" xmi.id="YPu2SGJUT8PF" type="iWD6KaseCzqS" value="" comment="Nome della risorsa cercata" name="name"/>
          <UML:Parameter stereotype="ArrayList" visibility="private" isSpecification="false" kind="out" xmi.id="wkdB9rDLrSFm" type="iWD6KaseCzqS" value="" name="clients"/>
         </UML:BehavioralFeature.parameter>
        </UML:Operation>
       </UML:Classifier.feature>
      </UML:Class>
      <UML:Class visibility="public" isSpecification="false" namespace="Logical View" isAbstract="false" isLeaf="false" isRoot="false" xmi.id="Nc1HtGJjKfXZ" name="Utente"/>
      <UML:Class stereotype="AbstractRisorsa" visibility="public" isSpecification="false" namespace="Logical View" isAbstract="false" isLeaf="false" isRoot="false" xmi.id="V41PJPJeavLm" name="Risorsa">
       <UML:GeneralizableElement.generalization>
        <UML:Generalization xmi.idref="P7m4zwzCGeDu"/>
       </UML:GeneralizableElement.generalization>
      </UML:Class>
      <UML:Class visibility="public" isSpecification="false" namespace="Logical View" isAbstract="false" isLeaf="false" isRoot="false" xmi.id="lw3vnCDDklWs" name="DataStore">
       <UML:Classifier.feature>
        <UML:Attribute stereotype="ListArray" visibility="private" isSpecification="false" xmi.id="UElO09f8dc71" type="V41PJPJeavLm" name="risorse"/>
        <UML:Attribute visibility="private" isSpecification="false" xmi.id="BO3BTiGES3nt" type="RqweM1l85Y02" initialValue="0" name="downloadCount"/>
        <UML:Attribute visibility="private" isSpecification="false" xmi.id="qrFRsOv2yJUO" type="iWD6KaseCzqS" initialValue="&quot;&quot;" name="downloadClients"/>
        <UML:Operation visibility="public" isSpecification="false" isQuery="true" isAbstract="false" isLeaf="false" isRoot="false" xmi.id="W0mxg3xJYc4V" name="search">
         <UML:BehavioralFeature.parameter>
          <UML:Parameter kind="return" xmi.id="66Q6HRR9fzyx" type="HiCKIcd3AydL"/>
          <UML:Parameter visibility="private" isSpecification="false" xmi.id="YPu2SGJUT8PF" type="iWD6KaseCzqS" value="" comment="Nome della risorsa cercata" name="name"/>
          <UML:Parameter visibility="private" isSpecification="false" kind="out" xmi.id="XG1cgWOpFWr7" type="HiCKIcd3AydL" value="" name="trovato"/>
         </UML:BehavioralFeature.parameter>
        </UML:Operation>
        <UML:Operation visibility="public" isSpecification="false" isQuery="true" isAbstract="false" isLeaf="false" isRoot="false" xmi.id="h9jPR2tTp0ZX" name="getRisorsa">
         <UML:BehavioralFeature.parameter>
          <UML:Parameter kind="return" xmi.id="YIzH0TwmaFze" type="V41PJPJeavLm"/>
          <UML:Parameter visibility="private" isSpecification="false" xmi.id="ax1D3LuDaoKb" type="iWD6KaseCzqS" value="" name="name"/>
          <UML:Parameter visibility="private" isSpecification="false" kind="out" xmi.id="M4iiWfm6LD6z" type="V41PJPJeavLm" value="" name="risorsa"/>
         </UML:BehavioralFeature.parameter>
        </UML:Operation>
       </UML:Classifier.feature>
      </UML:Class>
      <UML:Class visibility="public" isSpecification="false" namespace="Logical View" isAbstract="true" isLeaf="false" isRoot="false" xmi.id="MJy1trKgW4aY" name="AbstractRisorsa">
       <UML:GeneralizableElement.generalization>
        <UML:Generalization xmi.idref="UBaouQwfj4Zn"/>
       </UML:GeneralizableElement.generalization>
       <UML:Classifier.feature>
        <UML:Attribute visibility="private" isSpecification="false" xmi.id="XunE1VbzS9V9" type="iWD6KaseCzqS" name="nome"/>
        <UML:Operation visibility="public" isSpecification="false" isQuery="true" isAbstract="false" isLeaf="false" isRoot="false" xmi.id="2i3YrMfvG36i" name="getName">
         <UML:BehavioralFeature.parameter>
          <UML:Parameter kind="return" xmi.id="nbZjeW6nyb1R" type="iWD6KaseCzqS"/>
         </UML:BehavioralFeature.parameter>
        </UML:Operation>
       </UML:Classifier.feature>
      </UML:Class>
      <UML:Class visibility="public" isSpecification="false" namespace="Logical View" isAbstract="false" isLeaf="false" isRoot="false" xmi.id="iWD6KaseCzqS" name="String"/>
      <UML:Class visibility="public" isSpecification="false" namespace="Logical View" isAbstract="false" isLeaf="false" isRoot="false" xmi.id="RqweM1l85Y02" name="Integer"/>
      <UML:Class visibility="public" isSpecification="false" namespace="Logical View" isAbstract="false" isLeaf="false" isRoot="false" xmi.id="HiCKIcd3AydL" name="boolean"/>
      <UML:Association visibility="public" isSpecification="false" namespace="Logical View" xmi.id="FJQvxN1CMSW4" name="">
       <UML:Association.connection>
        <UML:AssociationEnd changeability="changeable" visibility="public" isNavigable="false" isSpecification="false" xmi.id="eTG5ERDzFyKk" type="MJy1trKgW4aY" name="" aggregation="none"/>
        <UML:AssociationEnd changeability="changeable" visibility="public" isNavigable="true" isSpecification="false" xmi.id="sAnL8t4NDUHA" type="V41PJPJeavLm" name="" aggregation="none"/>
       </UML:Association.connection>
      </UML:Association>
      <UML:Generalization discriminator="" visibility="public" isSpecification="false" namespace="Logical View" child="MJy1trKgW4aY" xmi.id="UBaouQwfj4Zn" parent="V41PJPJeavLm" name=""/>
      <UML:Generalization discriminator="" visibility="public" isSpecification="false" namespace="Logical View" child="V41PJPJeavLm" xmi.id="P7m4zwzCGeDu" parent="MJy1trKgW4aY" name=""/>
     </UML:Namespace.ownedElement>
     <XMI.extension xmi.extender="umbrello">
      <diagrams>
       <diagram showopsig="1" linecolor="#ff0000" snapx="10" showattribassocs="1" snapy="10" linewidth="0" showattsig="1" showpubliconly="0" showpackage="1" showstereotype="1" name="diagramma delle classi" font="Sans Serif,10,-1,5,50,0,0,0,0,0" canvasheight="670" canvaswidth="1105" localid="" snapcsgrid="0" showgrid="1" showops="1" usefillcolor="1" fillcolor="#ffff00" zoom="100" xmi.id="kwInBDoXt3pc" documentation="" showscope="1" snapgrid="1" showatts="1" type="1">
        <widgets>
         <classwidget linecolor="none" usesdiagramfillcolor="1" linewidth="none" showoperations="1" usesdiagramusefillcolor="1" showpubliconly="0" showpackage="1" x="60" showattsigs="601" showstereotype="1" y="200" showattributes="1" font="Sans Serif,10,-1,5,50,0,0,0,0,0" width="143" isinstance="0" usefillcolor="1" fillcolor="none" xmi.id="V41PJPJeavLm" showscope="1" height="42" showopsigs="601"/>
         <classwidget linecolor="none" usesdiagramfillcolor="1" linewidth="none" showoperations="1" usesdiagramusefillcolor="1" showpubliconly="0" showpackage="1" x="110" showattsigs="601" showstereotype="1" y="350" showattributes="1" font="Sans Serif,10,-1,5,50,0,0,0,0,0" width="366" isinstance="0" usefillcolor="1" fillcolor="none" xmi.id="lw3vnCDDklWs" showscope="1" height="84" showopsigs="601"/>
         <classwidget linecolor="#ff0000" usesdiagramfillcolor="0" linewidth="none" showoperations="1" usesdiagramusefillcolor="0" showpubliconly="0" showpackage="1" x="290" showattsigs="601" showstereotype="1" y="80" showattributes="1" font="Sans Serif,10,-1,5,75,0,0,0,0,0" width="378" isinstance="0" usefillcolor="1" fillcolor="#ffff00" xmi.id="2lEZyLD72tx5" showscope="1" height="98" showopsigs="601"/>
         <classwidget linecolor="#ff0000" usesdiagramfillcolor="0" linewidth="none" showoperations="1" usesdiagramusefillcolor="0" showpubliconly="0" showpackage="1" x="650" showattsigs="601" showstereotype="1" y="320" showattributes="1" font="Sans Serif,10,-1,5,50,0,0,0,0,0" width="323" isinstance="0" usefillcolor="1" fillcolor="#ffff00" xmi.id="gYA5jmiHPbyF" showscope="1" height="42" showopsigs="601"/>
         <classwidget linecolor="#ff0000" usesdiagramfillcolor="0" linewidth="none" showoperations="1" usesdiagramusefillcolor="0" showpubliconly="0" showpackage="1" x="60" showattsigs="601" showstereotype="1" y="120" showattributes="1" font="Sans Serif,10,-1,5,50,0,0,0,0,0" drawascircle="0" width="138" isinstance="0" usefillcolor="1" fillcolor="#ffff00" xmi.id="MJy1trKgW4aY" showscope="1" height="42" showopsigs="601"/>
        </widgets>
        <messages/>
        <associations>
         <assocwidget indexa="1" indexb="1" visibilityA="0" widgetaid="lw3vnCDDklWs" visibilityB="0" linecolor="none" changeabilityA="900" totalcounta="3" xmi.id="UElO09f8dc71" changeabilityB="900" widgetbid="V41PJPJeavLm" totalcountb="2" type="510" linewidth="none">
          <linepath>
           <startpoint startx="160" starty="350"/>
           <endpoint endx="160" endy="240"/>
          </linepath>
          <floatingtext linecolor="none" usesdiagramfillcolor="1" linewidth="none" usesdiagramusefillcolor="1" x="110" showstereotype="1" y="300" text="risorse" font="Sans Serif,10,-1,5,50,0,0,0,0,0" pretext="-" role="710" width="56" isinstance="0" posttext="" usefillcolor="1" fillcolor="none" xmi.id="yAfyLZ8l8nVs" height="18"/>
         </assocwidget>
         <assocwidget indexa="1" indexb="2" visibilityA="0" widgetaid="2lEZyLD72tx5" visibilityB="0" linecolor="none" changeabilityA="900" totalcounta="3" xmi.id="IxOo08zPQ853" changeabilityB="900" widgetbid="lw3vnCDDklWs" totalcountb="3" type="510" linewidth="none">
          <linepath>
           <startpoint startx="440" starty="180"/>
           <endpoint endx="440" endy="350"/>
          </linepath>
          <floatingtext linecolor="none" usesdiagramfillcolor="1" linewidth="none" usesdiagramusefillcolor="1" x="360" showstereotype="1" y="250" text="dataStore" font="Sans Serif,10,-1,5,50,0,0,0,0,0" pretext="-" role="710" width="74" isinstance="0" posttext="" usefillcolor="1" fillcolor="none" xmi.id="by5wbX4FmnAS" height="18"/>
         </assocwidget>
         <assocwidget indexa="1" indexb="2" visibilityA="0" widgetaid="gYA5jmiHPbyF" visibilityB="0" linecolor="none" changeabilityA="900" totalcounta="2" xmi.id="Q6MR5f6KuT3I" changeabilityB="900" widgetbid="2lEZyLD72tx5" totalcountb="3" type="510" linewidth="none">
          <linepath>
           <startpoint startx="650" starty="320"/>
           <endpoint endx="650" endy="180"/>
          </linepath>
          <floatingtext linecolor="none" usesdiagramfillcolor="1" linewidth="none" usesdiagramusefillcolor="1" x="590" showstereotype="1" y="230" text="clients" font="Sans Serif,10,-1,5,50,0,0,0,0,0" pretext="-" role="710" width="53" isinstance="0" posttext="" usefillcolor="1" fillcolor="none" xmi.id="VyqFVB1TLePf" height="18"/>
         </assocwidget>
         <assocwidget indexa="1" indexb="1" widgetaid="V41PJPJeavLm" linecolor="none" totalcounta="2" xmi.id="P7m4zwzCGeDu" widgetbid="MJy1trKgW4aY" totalcountb="2" type="500" linewidth="none">
          <linepath>
           <startpoint startx="110" starty="200"/>
           <endpoint endx="110" endy="160"/>
          </linepath>
         </assocwidget>
        </associations>
       </diagram>
       <diagram showopsig="1" linecolor="#ff0000" snapx="10" showattribassocs="1" snapy="10" linewidth="0" showattsig="1" showpubliconly="1" showpackage="1" showstereotype="1" name="diagramma di attività" font="Sans Serif,10,-1,5,50,0,0,0,0,0" canvasheight="670" canvaswidth="1105" localid="" snapcsgrid="0" showgrid="0" showops="1" usefillcolor="1" fillcolor="#ffff00" zoom="100" xmi.id="JNOCbPez21aM" documentation="" showscope="1" snapgrid="0" showatts="1" type="6">
        <widgets>
         <activitywidget linecolor="none" usesdiagramfillcolor="1" linewidth="none" usesdiagramusefillcolor="1" x="34" showstereotype="1" y="18" font="Sans Serif,10,-1,5,50,0,0,0,0,0" width="15" isinstance="0" usefillcolor="1" fillcolor="none" activityname="" xmi.id="kwd3cafMwxjJ" postcondition="" documentation="" activitytype="0" height="15" precondition=""/>
         <activitywidget linecolor="none" usesdiagramfillcolor="1" linewidth="none" usesdiagramusefillcolor="1" x="443" showstereotype="1" y="112" font="Sans Serif,10,-1,5,50,0,0,0,0,0" width="437" isinstance="0" usefillcolor="1" fillcolor="none" activityname="Il cliente (c) richiede al server (s), al quale è connesso, la risorsa (r)" xmi.id="ijysaoOo8BIb" postcondition="" documentation="" activitytype="1" height="24" precondition=""/>
         <activitywidget linecolor="none" usesdiagramfillcolor="1" linewidth="none" usesdiagramusefillcolor="1" x="18" showstereotype="1" y="114" font="Sans Serif,10,-1,5,50,0,0,0,0,0" width="398" isinstance="0" usefillcolor="1" fillcolor="none" activityname="L'utente ricerca la risorsa (r) desiderata tramite il client (c)" xmi.id="EYBJBoIGRekx" postcondition="" documentation="" activitytype="1" height="24" precondition=""/>
         <activitywidget linecolor="none" usesdiagramfillcolor="1" linewidth="none" usesdiagramusefillcolor="1" x="604" showstereotype="1" y="180" font="Sans Serif,10,-1,5,50,0,0,0,0,0" width="436" isinstance="0" usefillcolor="1" fillcolor="none" activityname="Il server (s) invia la richiesta della risorsa (r) agli altri server" xmi.id="kXY8gmlh9nK1" postcondition="" documentation="" activitytype="1" height="24" precondition=""/>
         <activitywidget linecolor="none" usesdiagramfillcolor="1" linewidth="none" usesdiagramusefillcolor="1" x="18" showstereotype="1" y="189" font="Sans Serif,10,-1,5,50,0,0,0,0,0" width="399" isinstance="0" usefillcolor="1" fillcolor="none" activityname="I server rispondono a s con i nomi dei client che possiedono r" xmi.id="U8jFrQOejO6o" postcondition="" documentation="" activitytype="1" height="24" precondition=""/>
         <activitywidget linecolor="none" usesdiagramfillcolor="1" linewidth="none" usesdiagramusefillcolor="1" x="17" showstereotype="1" y="258" font="Sans Serif,10,-1,5,50,0,0,0,0,0" width="398" isinstance="0" usefillcolor="1" fillcolor="none" activityname="s cerca la risorsa r tra i client a lui connessi" xmi.id="a5V7WAiKFusu" postcondition="" documentation="" activitytype="1" height="24" precondition=""/>
         <activitywidget linecolor="none" usesdiagramfillcolor="1" linewidth="none" usesdiagramusefillcolor="1" x="605" showstereotype="1" y="254" font="Sans Serif,10,-1,5,50,0,0,0,0,0" width="434" isinstance="0" usefillcolor="1" fillcolor="none" activityname="s invia le locazioni della risorsa r a c" xmi.id="zL3Rs0AnqNgd" postcondition="" documentation="" activitytype="1" height="24" precondition=""/>
         <activitywidget linecolor="none" usesdiagramfillcolor="1" linewidth="none" usesdiagramusefillcolor="1" x="604" showstereotype="1" y="361" font="Sans Serif,10,-1,5,50,0,0,0,0,0" width="434" isinstance="0" usefillcolor="1" fillcolor="none" activityname="L'utente richiede di scaricare la risorsa r" xmi.id="RQtM1pz32HRD" postcondition="" documentation="" activitytype="1" height="24" precondition=""/>
         <activitywidget linecolor="#ff0000" usesdiagramfillcolor="0" linewidth="none" usesdiagramusefillcolor="0" x="19" showstereotype="1" y="364" font="Sans Serif,10,-1,5,50,0,0,0,0,0" width="396" isinstance="0" usefillcolor="1" fillcolor="#ffff00" activityname="c controlla l'ennesimo più uno client con la risorsa" xmi.id="hmY8lUzaQzDB" postcondition="" documentation="" activitytype="1" height="24" precondition=""/>
         <activitywidget linecolor="none" usesdiagramfillcolor="1" linewidth="none" usesdiagramusefillcolor="1" x="167" showstereotype="1" y="440" font="Sans Serif,10,-1,5,50,0,0,0,0,0" width="20" isinstance="0" usefillcolor="1" fillcolor="none" activityname="" xmi.id="NTaP61nzNomM" postcondition="" documentation="" activitytype="4" height="20" precondition=""/>
         <notewidget width="355" showstereotype="1" x="78" noteType="1" y="8" usesdiagramusefillcolor="1" usesdiagramfillcolor="1" isinstance="0" fillcolor="none" height="50" linecolor="none" xmi.id="KQzJzo9ZKGDo" usefillcolor="1" linewidth="none" font="Sans Serif,10,-1,5,50,0,0,0,0,0" text="&#xa;Tutti i client e i server sono stati avviati correttamente"/>
         <notewidget width="135" showstereotype="1" x="437" noteType="1" y="325" usesdiagramusefillcolor="1" usesdiagramfillcolor="1" isinstance="0" fillcolor="none" height="50" linecolor="none" xmi.id="4jVtb8A0UehZ" usefillcolor="1" linewidth="none" font="Sans Serif,10,-1,5,50,0,0,0,0,0" text="&#xa;n=-1"/>
         <activitywidget linecolor="none" usesdiagramfillcolor="1" linewidth="none" usesdiagramusefillcolor="1" x="603" showstereotype="1" y="433" font="Sans Serif,10,-1,5,50,0,0,0,0,0" width="437" isinstance="0" usefillcolor="1" fillcolor="none" activityname="Il client c scarica la risorsa" xmi.id="uX7Pq8TovCOA" postcondition="" documentation="" activitytype="1" height="24" precondition=""/>
         <floatingtext linecolor="none" usesdiagramfillcolor="1" linewidth="none" usesdiagramusefillcolor="1" x="228" showstereotype="1" y="438" text="Il client con la risorsa è ancora connesso al sistema" font="Sans Serif,10,-1,5,50,0,0,0,0,0" pretext="" role="700" width="323" isinstance="0" posttext="" usefillcolor="1" fillcolor="none" xmi.id="OpmqmteEPUwq" height="18"/>
         <floatingtext linecolor="none" usesdiagramfillcolor="1" linewidth="none" usesdiagramusefillcolor="1" x="17" showstereotype="1" y="576" text="Il client con la risorsa non è più connesso al sistema, n++" font="Sans Serif,10,-1,5,50,0,0,0,0,0" pretext="" role="700" width="361" isinstance="0" posttext="" usefillcolor="1" fillcolor="none" xmi.id="McyDPteTweb5" height="18"/>
         <activitywidget linecolor="none" usesdiagramfillcolor="1" linewidth="none" usesdiagramusefillcolor="1" x="570" showstereotype="1" y="584" font="Sans Serif,10,-1,5,50,0,0,0,0,0" width="477" isinstance="0" usefillcolor="1" fillcolor="none" activityname="Il client (c) comunica al server (s) che è entrato in possesso della risorsa r" xmi.id="ufwbcRpNK1Jc" postcondition="" documentation="" activitytype="1" height="24" precondition=""/>
         <notewidget width="142" showstereotype="1" x="681" noteType="2" y="489" usesdiagramusefillcolor="1" usesdiagramfillcolor="1" isinstance="0" fillcolor="none" height="50" linecolor="none" xmi.id="DRmDMgjbMTJA" usefillcolor="1" linewidth="none" font="Sans Serif,10,-1,5,50,0,0,0,0,0" text="&#xa;Il client possessore della risorsa, prende nota delle statistiche richieste."/>
         <activitywidget linecolor="none" usesdiagramfillcolor="1" linewidth="none" usesdiagramusefillcolor="1" x="1039" showstereotype="1" y="109" font="Sans Serif,10,-1,5,50,0,0,0,0,0" width="29" isinstance="0" usefillcolor="1" fillcolor="none" activityname="" xmi.id="AszO9n0TU5gM" postcondition="" documentation="" activitytype="4" height="29" precondition=""/>
         <activitywidget linecolor="none" usesdiagramfillcolor="1" linewidth="none" usesdiagramusefillcolor="1" x="804" showstereotype="1" y="39" font="Sans Serif,10,-1,5,50,0,0,0,0,0" width="21" isinstance="0" usefillcolor="1" fillcolor="none" activityname="" xmi.id="jGHQfMVcfcoU" postcondition="" documentation="" activitytype="2" height="21" precondition=""/>
         <notewidget width="187" showstereotype="1" x="610" noteType="0" y="8" usesdiagramusefillcolor="1" usesdiagramfillcolor="1" isinstance="0" fillcolor="none" height="50" linecolor="none" xmi.id="Ls3yUrS2WtN1" usefillcolor="1" linewidth="none" font="Sans Serif,10,-1,5,50,0,0,0,0,0" text="Il client c è in possesso della risorsa r"/>
         <floatingtext linecolor="none" usesdiagramfillcolor="1" linewidth="none" usesdiagramusefillcolor="1" x="869" showstereotype="1" y="69" text="c è già in possesso di r" font="Sans Serif,10,-1,5,50,0,0,0,0,0" pretext="" role="700" width="151" isinstance="0" posttext="" usefillcolor="1" fillcolor="none" xmi.id="h8uPJUArmE8K" height="18"/>
         <floatingtext linecolor="none" usesdiagramfillcolor="1" linewidth="none" usesdiagramusefillcolor="1" x="888" showstereotype="1" y="148" text="c non è in possesso di r" font="Sans Serif,10,-1,5,50,0,0,0,0,0" pretext="" role="700" width="155" isinstance="0" posttext="" usefillcolor="1" fillcolor="none" xmi.id="JdSAPgIhcOpX" height="18"/>
        </widgets>
        <messages/>
        <associations>
         <assocwidget indexa="1" indexb="1" visibilityA="0" widgetaid="kwd3cafMwxjJ" visibilityB="0" roleBdoc="" roleAdoc="" linecolor="none" changeabilityA="900" totalcounta="2" changeabilityB="900" widgetbid="EYBJBoIGRekx" totalcountb="2" type="515" documentation="" linewidth="none">
          <linepath>
           <startpoint startx="42" starty="33"/>
           <endpoint endx="42" endy="114"/>
          </linepath>
         </assocwidget>
         <assocwidget indexa="1" indexb="1" visibilityA="0" widgetaid="kXY8gmlh9nK1" visibilityB="0" roleBdoc="" roleAdoc="" linecolor="none" changeabilityA="900" totalcounta="2" changeabilityB="900" widgetbid="U8jFrQOejO6o" totalcountb="2" type="515" documentation="" linewidth="none">
          <linepath>
           <startpoint startx="604" starty="204"/>
           <endpoint endx="417" endy="204"/>
          </linepath>
         </assocwidget>
         <assocwidget indexa="1" indexb="1" visibilityA="0" widgetaid="U8jFrQOejO6o" visibilityB="0" roleBdoc="" roleAdoc="" linecolor="none" changeabilityA="900" totalcounta="2" changeabilityB="900" widgetbid="a5V7WAiKFusu" totalcountb="2" type="515" documentation="" linewidth="none">
          <linepath>
           <startpoint startx="139" starty="213"/>
           <endpoint endx="139" endy="258"/>
          </linepath>
         </assocwidget>
         <assocwidget indexa="1" indexb="1" visibilityA="0" widgetaid="a5V7WAiKFusu" visibilityB="0" roleBdoc="" roleAdoc="" linecolor="none" changeabilityA="900" totalcounta="2" changeabilityB="900" widgetbid="zL3Rs0AnqNgd" totalcountb="2" type="515" documentation="" linewidth="none">
          <linepath>
           <startpoint startx="415" starty="276"/>
           <endpoint endx="605" endy="276"/>
          </linepath>
         </assocwidget>
         <assocwidget indexa="1" indexb="1" visibilityA="0" widgetaid="zL3Rs0AnqNgd" visibilityB="0" roleBdoc="" roleAdoc="" linecolor="none" changeabilityA="900" totalcounta="2" changeabilityB="900" widgetbid="RQtM1pz32HRD" totalcountb="2" type="515" documentation="" linewidth="none">
          <linepath>
           <startpoint startx="754" starty="278"/>
           <endpoint endx="754" endy="361"/>
          </linepath>
         </assocwidget>
         <assocwidget indexa="1" indexb="1" visibilityA="0" widgetaid="RQtM1pz32HRD" visibilityB="0" roleBdoc="" roleAdoc="" linecolor="none" changeabilityA="900" totalcounta="2" changeabilityB="900" widgetbid="hmY8lUzaQzDB" totalcountb="2" type="515" documentation="" linewidth="none">
          <linepath>
           <startpoint startx="604" starty="385"/>
           <endpoint endx="415" endy="385"/>
          </linepath>
         </assocwidget>
         <assocwidget indexa="2" indexb="1" visibilityA="0" widgetaid="hmY8lUzaQzDB" visibilityB="0" roleBdoc="" roleAdoc="" linecolor="none" changeabilityA="900" totalcounta="3" changeabilityB="900" widgetbid="NTaP61nzNomM" totalcountb="2" type="515" documentation="" linewidth="none">
          <linepath>
           <startpoint startx="179" starty="388"/>
           <endpoint endx="179" endy="440"/>
          </linepath>
         </assocwidget>
         <assocwidget indexa="1" indexb="1" visibilityA="0" widgetaid="NTaP61nzNomM" visibilityB="0" roleBdoc="" roleAdoc="" linecolor="none" changeabilityA="900" totalcounta="2" changeabilityB="900" widgetbid="uX7Pq8TovCOA" totalcountb="2" type="515" documentation="" linewidth="none">
          <linepath>
           <startpoint startx="187" starty="456"/>
           <endpoint endx="603" endy="456"/>
          </linepath>
         </assocwidget>
         <assocwidget indexa="1" indexb="1" visibilityA="0" widgetaid="NTaP61nzNomM" visibilityB="0" roleBdoc="" roleAdoc="" linecolor="none" changeabilityA="900" totalcounta="2" changeabilityB="900" widgetbid="hmY8lUzaQzDB" totalcountb="3" type="515" documentation="" linewidth="none">
          <linepath>
           <startpoint startx="170" starty="460"/>
           <endpoint endx="50" endy="388"/>
           <point x="170" y="567"/>
           <point x="50" y="567"/>
          </linepath>
         </assocwidget>
         <assocwidget indexa="1" indexb="1" visibilityA="0" widgetaid="uX7Pq8TovCOA" visibilityB="0" roleBdoc="" roleAdoc="" linecolor="none" changeabilityA="900" totalcounta="2" changeabilityB="900" widgetbid="ufwbcRpNK1Jc" totalcountb="2" type="515" documentation="" linewidth="none">
          <linepath>
           <startpoint startx="672" starty="457"/>
           <endpoint endx="672" endy="584"/>
          </linepath>
         </assocwidget>
         <assocwidget indexa="1" indexb="1" visibilityA="0" widgetaid="AszO9n0TU5gM" visibilityB="0" roleBdoc="" roleAdoc="" linecolor="none" changeabilityA="900" totalcounta="2" changeabilityB="900" widgetbid="jGHQfMVcfcoU" totalcountb="2" type="515" documentation="" linewidth="none">
          <linepath>
           <startpoint startx="1053" starty="109"/>
           <endpoint endx="818" endy="60"/>
           <point x="1053" y="85"/>
           <point x="818" y="85"/>
          </linepath>
         </assocwidget>
         <assocwidget indexa="1" indexb="1" visibilityA="0" widgetaid="ufwbcRpNK1Jc" visibilityB="0" roleBdoc="" roleAdoc="" linecolor="none" changeabilityA="900" totalcounta="2" changeabilityB="900" widgetbid="jGHQfMVcfcoU" totalcountb="2" type="515" documentation="" linewidth="none">
          <linepath>
           <startpoint startx="1047" starty="596"/>
           <endpoint endx="825" endy="47"/>
           <point x="1095" y="596"/>
           <point x="1094" y="47"/>
          </linepath>
         </assocwidget>
         <assocwidget indexa="1" indexb="1" visibilityA="0" widgetaid="EYBJBoIGRekx" visibilityB="0" roleBdoc="" roleAdoc="" linecolor="none" changeabilityA="900" totalcounta="2" changeabilityB="900" widgetbid="ijysaoOo8BIb" totalcountb="2" type="515" documentation="" linewidth="none">
          <linepath>
           <startpoint startx="416" starty="114"/>
           <endpoint endx="443" endy="114"/>
          </linepath>
         </assocwidget>
         <assocwidget indexa="1" indexb="1" visibilityA="0" widgetaid="ijysaoOo8BIb" visibilityB="0" roleBdoc="" roleAdoc="" linecolor="none" changeabilityA="900" totalcounta="2" changeabilityB="900" widgetbid="AszO9n0TU5gM" totalcountb="2" type="515" documentation="" linewidth="none">
          <linepath>
           <startpoint startx="880" starty="122"/>
           <endpoint endx="1039" endy="122"/>
          </linepath>
         </assocwidget>
         <assocwidget indexa="1" indexb="1" visibilityA="0" widgetaid="AszO9n0TU5gM" visibilityB="0" roleBdoc="" roleAdoc="" linecolor="none" changeabilityA="900" totalcounta="2" changeabilityB="900" widgetbid="kXY8gmlh9nK1" totalcountb="2" type="515" documentation="" linewidth="none">
          <linepath>
           <startpoint startx="1054" starty="138"/>
           <endpoint endx="1040" endy="180"/>
           <point x="1054" y="139"/>
          </linepath>
         </assocwidget>
        </associations>
       </diagram>
       <diagram showopsig="1" linecolor="#ff0000" snapx="10" showattribassocs="1" snapy="10" linewidth="0" showattsig="1" showpubliconly="1" showpackage="1" showstereotype="1" name="diagramma di sequenza" font="Sans Serif,10,-1,5,50,0,0,0,0,0" canvasheight="670" canvaswidth="1105" localid="hxUZ7q0dqPBU" snapcsgrid="0" showgrid="0" showops="1" usefillcolor="1" fillcolor="#ffff00" zoom="100" xmi.id="iis3baaOXJrx" documentation="" showscope="1" snapgrid="0" showatts="1" type="3">
        <widgets>
         <objectwidget linecolor="#ff0000" usesdiagramfillcolor="0" linewidth="none" usesdiagramusefillcolor="1" instancename="c" x="284" decon="0" showstereotype="1" y="48" font="Sans Serif,10,-1,5,50,0,1,0,0,0" localid="VYft5wj0G8ap" width="64" isinstance="0" multipleinstance="0" usefillcolor="1" fillcolor="#ffff00" xmi.id="2lEZyLD72tx5" height="24" drawasactor="0"/>
         <objectwidget linecolor="#ff0000" usesdiagramfillcolor="0" linewidth="none" usesdiagramusefillcolor="1" instancename="s" x="601" decon="0" showstereotype="1" y="48" font="Sans Serif,10,-1,5,50,0,1,0,0,0" localid="Lob6qYm55oxs" width="70" isinstance="0" multipleinstance="0" usefillcolor="1" fillcolor="#ffff00" xmi.id="gYA5jmiHPbyF" height="24" drawasactor="0"/>
         <objectwidget linecolor="#ff0000" usesdiagramfillcolor="0" linewidth="none" usesdiagramusefillcolor="1" instancename="" x="50" decon="0" showstereotype="1" y="48" font="Sans Serif,10,-1,5,50,0,1,0,0,0" localid="hxUZ7q0dqPBU" width="64" isinstance="0" multipleinstance="0" usefillcolor="1" fillcolor="#ffff00" xmi.id="Nc1HtGJjKfXZ" height="24" drawasactor="0"/>
        </widgets>
        <messages>
         <messagewidget linecolor="none" usesdiagramfillcolor="1" widgetbid="VYft5wj0G8ap" textid="mR1TPV3UJ389" operation="Richiesta risorsa r" linewidth="none" seqnum="1" usesdiagramusefillcolor="1" x="83" showstereotype="1" y="112" widgetaid="hxUZ7q0dqPBU" font="Sans Serif,10,-1,5,50,0,0,0,0,0" width="232" isinstance="0" usefillcolor="1" fillcolor="none" xmi.id="DouaOtqFA9wS" height="8" sequencemessagetype="1001">
          <floatingtext linecolor="none" usesdiagramfillcolor="1" linewidth="none" usesdiagramusefillcolor="1" x="88" showstereotype="1" y="94" text="1: Richiesta risorsa r" font="Sans Serif,10,-1,5,50,0,0,0,0,0" pretext="" role="704" width="132" isinstance="0" posttext="" usefillcolor="1" fillcolor="none" xmi.id="mR1TPV3UJ389" height="18"/>
         </messagewidget>
         <messagewidget linecolor="none" usesdiagramfillcolor="1" widgetbid="Lob6qYm55oxs" textid="mfiIoPd1KGJp" operation="Richiesta dei client con la risorsa r" linewidth="none" seqnum="2" usesdiagramusefillcolor="1" x="317" showstereotype="1" y="133" widgetaid="VYft5wj0G8ap" font="Sans Serif,10,-1,5,50,0,0,0,0,0" width="318" isinstance="0" usefillcolor="1" fillcolor="none" xmi.id="J80gmI2vwGmA" height="8" sequencemessagetype="1001">
          <floatingtext linecolor="none" usesdiagramfillcolor="1" linewidth="none" usesdiagramusefillcolor="1" x="322" showstereotype="1" y="115" text="2: Richiesta dei client con la risorsa r" font="Sans Serif,10,-1,5,50,0,0,0,0,0" pretext="" role="704" width="233" isinstance="0" posttext="" usefillcolor="1" fillcolor="none" xmi.id="mfiIoPd1KGJp" height="18"/>
         </messagewidget>
         <messagewidget linecolor="none" usesdiagramfillcolor="1" widgetbid="VYft5wj0G8ap" textid="p6gxam4A9VLx" operation="Invio dei nomi dei client con la risorsa r" linewidth="none" seqnum="4" usesdiagramusefillcolor="1" x="317" showstereotype="1" y="212" widgetaid="Lob6qYm55oxs" font="Sans Serif,10,-1,5,50,0,0,0,0,0" width="318" isinstance="0" usefillcolor="1" fillcolor="none" xmi.id="4YAPJQJHXdvU" height="8" sequencemessagetype="1001">
          <floatingtext linecolor="none" usesdiagramfillcolor="1" linewidth="none" usesdiagramusefillcolor="1" x="345" showstereotype="1" y="194" text="4: Invio dei nomi dei client con la risorsa r" font="Sans Serif,10,-1,5,50,0,0,0,0,0" pretext="" role="704" width="263" isinstance="0" posttext="" usefillcolor="1" fillcolor="none" xmi.id="p6gxam4A9VLx" height="18"/>
         </messagewidget>
         <messagewidget linecolor="none" usesdiagramfillcolor="1" widgetbid="Lob6qYm55oxs" textid="sPyK6LtUd0Zy" operation="Richiesta ai client e ai server la risorsa r" linewidth="none" seqnum="3" usesdiagramusefillcolor="1" x="634" showstereotype="1" y="167" widgetaid="Lob6qYm55oxs" font="Sans Serif,10,-1,5,50,0,0,0,0,0" width="50" isinstance="0" usefillcolor="1" fillcolor="none" xmi.id="atf27s3SVLAR" height="32" sequencemessagetype="1000">
          <floatingtext linecolor="none" usesdiagramfillcolor="1" linewidth="none" usesdiagramusefillcolor="1" x="639" showstereotype="1" y="149" text="3: Richiesta ai client e ai server la risorsa r" font="Sans Serif,10,-1,5,50,0,0,0,0,0" pretext="" role="705" width="268" isinstance="0" posttext="" usefillcolor="1" fillcolor="none" xmi.id="sPyK6LtUd0Zy" height="18"/>
         </messagewidget>
         <messagewidget linecolor="none" usesdiagramfillcolor="1" widgetbid="VYft5wj0G8ap" textid="U2XTUR7wEMbe" operation="Scaricamento della risorsa r" linewidth="none" seqnum="5" usesdiagramusefillcolor="1" x="314" showstereotype="1" y="260" widgetaid="VYft5wj0G8ap" font="Sans Serif,10,-1,5,50,0,0,0,0,0" width="50" isinstance="0" usefillcolor="1" fillcolor="none" xmi.id="TGEfoyDH3VZt" height="33" sequencemessagetype="1000">
          <floatingtext linecolor="none" usesdiagramfillcolor="1" linewidth="none" usesdiagramusefillcolor="1" x="319" showstereotype="1" y="242" text="5: Scaricamento della risorsa r" font="Sans Serif,10,-1,5,50,0,0,0,0,0" pretext="" role="705" width="195" isinstance="0" posttext="" usefillcolor="1" fillcolor="none" xmi.id="U2XTUR7wEMbe" height="18"/>
         </messagewidget>
         <messagewidget linecolor="none" usesdiagramfillcolor="1" widgetbid="Lob6qYm55oxs" textid="ArdYXEgB03qF" operation="Aggiornamento" linewidth="none" seqnum="6" usesdiagramusefillcolor="1" x="317" showstereotype="1" y="412" widgetaid="VYft5wj0G8ap" font="Sans Serif,10,-1,5,50,0,0,0,0,0" width="318" isinstance="0" usefillcolor="1" fillcolor="none" xmi.id="UHKgcwKbG4Qi" height="8" sequencemessagetype="1001">
          <floatingtext linecolor="none" usesdiagramfillcolor="1" linewidth="none" usesdiagramusefillcolor="1" x="322" showstereotype="1" y="394" text="6: Aggiornamento" font="Sans Serif,10,-1,5,50,0,0,0,0,0" pretext="" role="704" width="117" isinstance="0" posttext="" usefillcolor="1" fillcolor="none" xmi.id="ArdYXEgB03qF" height="18"/>
         </messagewidget>
        </messages>
        <associations/>
       </diagram>
      </diagrams>
     </XMI.extension>
    </UML:Model>
    <UML:Model stereotype="folder" visibility="public" isSpecification="false" namespace="m1" isAbstract="false" isLeaf="false" isRoot="false" xmi.id="Use Case View" name="Use Case View">
     <UML:Namespace.ownedElement/>
    </UML:Model>
    <UML:Model stereotype="folder" visibility="public" isSpecification="false" namespace="m1" isAbstract="false" isLeaf="false" isRoot="false" xmi.id="Component View" name="Component View">
     <UML:Namespace.ownedElement/>
    </UML:Model>
    <UML:Model stereotype="folder" visibility="public" isSpecification="false" namespace="m1" isAbstract="false" isLeaf="false" isRoot="false" xmi.id="Deployment View" name="Deployment View">
     <UML:Namespace.ownedElement/>
    </UML:Model>
    <UML:Model stereotype="folder" visibility="public" isSpecification="false" namespace="m1" isAbstract="false" isLeaf="false" isRoot="false" xmi.id="Entity Relationship Model" name="Entity Relationship Model">
     <UML:Namespace.ownedElement/>
    </UML:Model>
   </UML:Namespace.ownedElement>
  </UML:Model>
 </XMI.content>
 <XMI.extensions xmi.extender="umbrello">
  <docsettings viewid="kwInBDoXt3pc" uniqueid="R5TOI6UjNEm6" documentation=""/>
  <listview>
   <listitem open="1" type="800" id="Views">
    <listitem open="1" type="801" id="Logical View">
     <listitem open="0" type="807" id="kwInBDoXt3pc" label="diagramma delle classi"/>
     <listitem open="0" type="809" id="JNOCbPez21aM" label="diagramma di attività"/>
     <listitem open="0" type="810" id="iis3baaOXJrx" label="diagramma di sequenza"/>
     <listitem open="1" type="813" id="MJy1trKgW4aY">
      <listitem open="0" type="814" id="XunE1VbzS9V9"/>
      <listitem open="0" type="815" id="2i3YrMfvG36i"/>
     </listitem>
     <listitem open="1" type="813" id="2lEZyLD72tx5">
      <listitem open="0" type="814" id="IxOo08zPQ853"/>
      <listitem open="0" type="815" id="KlihCH1iAmP1"/>
      <listitem open="0" type="815" id="hMQ4DlfirV7U"/>
      <listitem open="0" type="815" id="3A9B36mh9PYC"/>
      <listitem open="1" type="815" id="EIz5hZzULPQO"/>
      <listitem open="0" type="815" id="immV13NGXuqZ"/>
     </listitem>
     <listitem open="1" type="813" id="lw3vnCDDklWs">
      <listitem open="0" type="814" id="UElO09f8dc71"/>
      <listitem open="0" type="814" id="BO3BTiGES3nt"/>
      <listitem open="1" type="814" id="qrFRsOv2yJUO"/>
      <listitem open="0" type="815" id="W0mxg3xJYc4V"/>
      <listitem open="0" type="815" id="h9jPR2tTp0ZX"/>
     </listitem>
     <listitem open="1" type="813" id="RqweM1l85Y02"/>
     <listitem open="1" type="813" id="V41PJPJeavLm"/>
     <listitem open="1" type="813" id="gYA5jmiHPbyF">
      <listitem open="0" type="814" id="Q6MR5f6KuT3I"/>
      <listitem open="0" type="815" id="GsQZIhjjBvDI"/>
     </listitem>
     <listitem open="1" type="813" id="iWD6KaseCzqS"/>
     <listitem open="1" type="813" id="Nc1HtGJjKfXZ"/>
     <listitem open="1" type="813" id="HiCKIcd3AydL"/>
     <listitem open="0" type="830" id="Datatypes">
      <listitem open="1" type="829" id="8VfLEamF6rou"/>
      <listitem open="1" type="829" id="WeUXBYkbfkgU"/>
      <listitem open="1" type="829" id="tRtwETA8pcF5"/>
      <listitem open="1" type="829" id="YAFLmSQvx4GA"/>
      <listitem open="1" type="829" id="O8cDFWD6v627"/>
      <listitem open="1" type="829" id="3Y5bqZJkp7t2"/>
      <listitem open="1" type="829" id="kdfdifkGoyba"/>
      <listitem open="1" type="829" id="e0PjsEdEKGQZ"/>
      <listitem open="1" type="829" id="VQW4UXrro4ol"/>
      <listitem open="1" type="829" id="TM4iWiitPa53"/>
      <listitem open="1" type="829" id="1IObhO53SnX8"/>
      <listitem open="1" type="829" id="pPHDwzqZcYFK"/>
     </listitem>
    </listitem>
    <listitem open="1" type="802" id="Use Case View"/>
    <listitem open="1" type="821" id="Component View"/>
    <listitem open="1" type="827" id="Deployment View"/>
    <listitem open="1" type="836" id="Entity Relationship Model"/>
   </listitem>
  </listview>
  <codegeneration>
   <codegenerator language="Java"/>
  </codegeneration>
 </XMI.extensions>
</XMI>
Comment 1 MpMp 2010-04-29 11:58:48 UTC
Created attachment 43094 [details]
XMI file of the umbrello project
Comment 2 Oliver Kellogg 2012-02-14 22:39:22 UTC
Created attachment 68805 [details]
XMI file, fixed

On loading your XMI, I see
umbrello(7252) Model_Utils::findUMLObject: findUMLObject: type mismatch for  "boolean"  (seeking type:  "ot_Datatype" , found type:  "ot_Class" )
umbrello(7252) Model_Utils::findUMLObject: findUMLObject: type mismatch for  "String"  (seeking type:  "ot_Datatype" , found type:  "ot_Class" )

which is true, you have extra classes "String" and "boolean" in the Logical View although these are predefined Java types which should appear in the Datatypes folder.
In the attachment, the extra classes are replaced by the predefined types.

Further, in line 137 you have:

<UML:Generalization discriminator="" visibility="public" isSpecification="false" namespace="Logical View" child="MJy1trKgW4aY" xmi.id="UBaouQwfj4Zn" parent="V41PJPJeavLm" name=""/>

which defines AbstractRisorsa to inherit from Risorsa (doesn't sound right?) and in fact, in the next line:

<UML:Generalization discriminator="" visibility="public" isSpecification="false" namespace="Logical View" child="V41PJPJeavLm" xmi.id="P7m4zwzCGeDu" parent="MJy1trKgW4aY" name=""/>

you have an inheritance in the opposite direction.
The mutual inheritance throws Umbrello off the handle and so I've removed the first one. (Actually I wonder why Umbrello did not disallow its creation.)
Comment 3 Oliver Kellogg 2012-02-26 20:12:01 UTC
SVN commit 1282402 by okellogg:

(In reply to comment #1)
> [...]
> you have an inheritance in the opposite direction.
> The mutual inheritance throws Umbrello off the handle and so I've removed
> the first one. (Actually I wonder why Umbrello did not disallow its
> creation.)

It turns out that
  AssocRules::allowAssociation(Uml::AssociationType,
                               UMLWidget *, UMLWidget *)
was being called twice: First in ToolBarStateAssociation::setSecondWidget()
(toolbarstateassociation.cpp:226) and again via ToolBarStateAssociation::
addAssociationInViewAndDoc() in UMLView::addAssociation().
At the time of the second call, the AssociationWidget was already created
and inserted at its role widgets.

Fixed as follows:
- In UMLView::addAssociation(), remove the call to
  AssocRules::allowAssociation()
- At ToolBarStateAssociation::addAssociationInViewAndDoc(), change return
  type to bool (true for success) and test the success at
  ToolBarStateAssociation::setSecondWidget()
- Revert the "#if 0" at the extendedCheck code at assocrules.cpp:170 ff.
  thus re-enabling the check for illegal mutual associations.



 M  +1 -0      ChangeLog  
 M  +0 -33     umbrello/assocrules.cpp  
 M  +9 -6      umbrello/toolbarstateassociation.cpp  
 M  +1 -1      umbrello/toolbarstateassociation.h  
 M  +0 -7      umbrello/umlview.cpp  
 M  +25 -6     umbrello/widgets/associationwidget.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1282402
Comment 4 Ralf Habacker 2013-11-06 17:23:10 UTC
set version-fixed-in from 4.8.1 changelog