Re: [mdr-users] CompositionViolationException with Association

Martin Matula <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.mdr.user
Message-ID <[email protected]>
Hi Thomas,
the attached XMI is not compliant. It contains the following incorrect 
fragments:

         <UML:StructuralFeature.type>
          <UML:Classifier>
           <UML:Namespace.ownedElement>
            <UML:DataType xmi.idref = 'G.7'/>
           </UML:Namespace.ownedElement>
          </UML:Classifier>
         </UML:StructuralFeature.type>

Correctly it should look as follows:

         <UML:StructuralFeature.type>
            <UML:DataType xmi.idref = 'G.7'/>
         </UML:StructuralFeature.type>

"Together" seems to produce an incorrect XMI.
Regards,
Martin

Thomas Lesniak wrote:

>Hello Martin,
>
>the file seems to be lost. So, here the XML and the Exception:
>
><?xml version = '1.0' encoding = 'UTF-8' ?>
><XMI xmi.version = '1.2' xmlns:UML = '//org.omg/UML/1.3'>
> <XMI.header>
>  <XMI.documentation>
>   <XMI.exporter>
>      Together
>   </XMI.exporter>
>   <XMI.exporterVersion>
>      6.1
>   </XMI.exporterVersion>
>  </XMI.documentation>
>  <XMI.metamodel xmi.name = 'UML' xmi.version = '1.4'/>
> </XMI.header>
> <XMI.content>
>  <UML:Model xmi.id = 'S.1' name = 'Project' visibility = 'public'>
>   <UML:Namespace.ownedElement>
>    <UML:Package xmi.id = 'S.3'
>          name = 'test' visibility = 'package' isSpecification = 'false'
>          isAbstract = 'false'>
>     <UML:Namespace.ownedElement>
>      <UML:Class xmi.id = 'S.6'
>            name = 'Class1' visibility = 'public' isSpecification = 'false'
>            isAbstract = 'false' isActive = 'false'>
>       <UML:Classifier.feature>
>        <UML:Attribute xmi.id = 'S.7'
>              name = 'lnkClass2' visibility = 'private' isSpecification =
>'false'
>              changeability = 'changeable' ownerScope = 'instance'>
>         <UML:StructuralFeature.multiplicity>
>          <UML:Multiplicity>
>           <UML:Multiplicity.range>
>            <UML:MultiplicityRange lower = '1' upper = '1'/>
>           </UML:Multiplicity.range>
>          </UML:Multiplicity>
>         </UML:StructuralFeature.multiplicity>
>         <UML:StructuralFeature.type>
>          <UML:Classifier>
>           <UML:Namespace.ownedElement>
>            <UML:DataType xmi.idref = 'G.2'/>
>           </UML:Namespace.ownedElement>
>          </UML:Classifier>
>         </UML:StructuralFeature.type>
>        </UML:Attribute>
>       </UML:Classifier.feature>
>      </UML:Class>
>      <!--From Class Class1 to Class Class2-->
>      <UML:Association xmi.id = 'G.1'
>            name = '{Class1-Class2}' visibility = 'package' isSpecification
>= 'false'
>            isAbstract = 'false'>
>       <UML:Association.connection>
>        <UML:AssociationEnd xmi.id = 'G.3' visibility = 'public'
>isSpecification = 'false'
>              isNavigable = 'false' ordering = 'unordered' aggregation =
>'none'
>              targetScope = 'instance' changeability = 'changeable'>
>         <UML:AssociationEnd.qualifier>
>          <UML:Attribute xmi.idref = 'S.7'/>
>         </UML:AssociationEnd.qualifier>
>         <UML:AssociationEnd.multiplicity>
>          <UML:Multiplicity/>
>         </UML:AssociationEnd.multiplicity>
>         <UML:AssociationEnd.participant>
>          <UML:Classifier xmi.idref = 'S.6'/>
>         </UML:AssociationEnd.participant>
>        </UML:AssociationEnd>
>        <UML:AssociationEnd xmi.id = 'G.4' visibility = 'public'
>isSpecification = 'false'
>              isNavigable = 'false' ordering = 'unordered' aggregation =
>'none'
>              targetScope = 'instance' changeability = 'changeable'>
>         <UML:AssociationEnd.multiplicity>
>          <UML:Multiplicity/>
>         </UML:AssociationEnd.multiplicity>
>         <UML:AssociationEnd.participant>
>          <UML:Classifier xmi.idref = 'S.8'/>
>         </UML:AssociationEnd.participant>
>        </UML:AssociationEnd>
>       </UML:Association.connection>
>      </UML:Association>
>      <UML:Class xmi.id = 'S.9'
>            name = 'AssociationClass1' visibility = 'public'
>isSpecification = 'false'
>            isAbstract = 'false' isActive = 'false'>
>       <UML:Classifier.feature>
>        <UML:Attribute xmi.id = 'S.10'
>              name = 'lnkClass1' visibility = 'package' isSpecification =
>'false'
>              changeability = 'changeable' ownerScope = 'instance'>
>         <UML:StructuralFeature.multiplicity>
>          <UML:Multiplicity>
>           <UML:Multiplicity.range>
>            <UML:MultiplicityRange lower = '1' upper = '1'/>
>           </UML:Multiplicity.range>
>          </UML:Multiplicity>
>         </UML:StructuralFeature.multiplicity>
>         <UML:StructuralFeature.type>
>          <UML:Classifier>
>           <UML:Namespace.ownedElement>
>            <UML:DataType xmi.idref = 'G.7'/>
>           </UML:Namespace.ownedElement>
>          </UML:Classifier>
>         </UML:StructuralFeature.type>
>        </UML:Attribute>
>        <UML:Attribute xmi.id = 'S.11'
>              name = 'lnkClass2' visibility = 'package' isSpecification =
>'false'
>              changeability = 'changeable' ownerScope = 'instance'>
>         <UML:StructuralFeature.multiplicity>
>          <UML:Multiplicity>
>           <UML:Multiplicity.range>
>            <UML:MultiplicityRange lower = '1' upper = '1'/>
>           </UML:Multiplicity.range>
>          </UML:Multiplicity>
>         </UML:StructuralFeature.multiplicity>
>         <UML:StructuralFeature.type>
>          <UML:Classifier>
>           <UML:Namespace.ownedElement>
>            <UML:DataType xmi.idref = 'G.2'/>
>           </UML:Namespace.ownedElement>
>          </UML:Classifier>
>         </UML:StructuralFeature.type>
>        </UML:Attribute>
>       </UML:Classifier.feature>
>      </UML:Class>
>      <!--From Class AssociationClass1 to Class Class2-->
>      <UML:Association xmi.id = 'G.5'
>            name = '{AssociationClass1-Class2}' visibility = 'package'
>isSpecification = 'false'
>            isAbstract = 'false'>
>       <UML:Association.connection>
>        <UML:AssociationEnd xmi.id = 'G.8' visibility = 'public'
>isSpecification = 'false'
>              isNavigable = 'false' ordering = 'unordered' aggregation =
>'none'
>              targetScope = 'instance' changeability = 'changeable'>
>         <UML:AssociationEnd.qualifier>
>          <UML:Attribute xmi.idref = 'S.11'/>
>         </UML:AssociationEnd.qualifier>
>         <UML:AssociationEnd.multiplicity>
>          <UML:Multiplicity/>
>         </UML:AssociationEnd.multiplicity>
>         <UML:AssociationEnd.participant>
>          <UML:Classifier xmi.idref = 'S.9'/>
>         </UML:AssociationEnd.participant>
>        </UML:AssociationEnd>
>        <UML:AssociationEnd xmi.id = 'G.9' visibility = 'public'
>isSpecification = 'false'
>              isNavigable = 'false' ordering = 'unordered' aggregation =
>'none'
>              targetScope = 'instance' changeability = 'changeable'>
>         <UML:AssociationEnd.multiplicity>
>          <UML:Multiplicity/>
>         </UML:AssociationEnd.multiplicity>
>         <UML:AssociationEnd.participant>
>          <UML:Classifier xmi.idref = 'S.8'/>
>         </UML:AssociationEnd.participant>
>        </UML:AssociationEnd>
>       </UML:Association.connection>
>      </UML:Association>
>      <!--From Class AssociationClass1 to Class Class1-->
>      <UML:Association xmi.id = 'G.6'
>            name = '{AssociationClass1-Class1}' visibility = 'package'
>isSpecification = 'false'
>            isAbstract = 'false'>
>       <UML:Association.connection>
>        <UML:AssociationEnd xmi.id = 'G.10' visibility = 'public'
>isSpecification = 'false'
>              isNavigable = 'false' ordering = 'unordered' aggregation =
>'none'
>              targetScope = 'instance' changeability = 'changeable'>
>         <UML:AssociationEnd.qualifier>
>          <UML:Attribute xmi.idref = 'S.10'/>
>         </UML:AssociationEnd.qualifier>
>         <UML:AssociationEnd.multiplicity>
>          <UML:Multiplicity/>
>         </UML:AssociationEnd.multiplicity>
>         <UML:AssociationEnd.participant>
>          <UML:Classifier xmi.idref = 'S.9'/>
>         </UML:AssociationEnd.participant>
>        </UML:AssociationEnd>
>        <UML:AssociationEnd xmi.id = 'G.11' visibility = 'public'
>isSpecification = 'false'
>              isNavigable = 'false' ordering = 'unordered' aggregation =
>'none'
>              targetScope = 'instance' changeability = 'changeable'>
>         <UML:AssociationEnd.multiplicity>
>          <UML:Multiplicity/>
>         </UML:AssociationEnd.multiplicity>
>         <UML:AssociationEnd.participant>
>          <UML:Classifier xmi.idref = 'S.6'/>
>         </UML:AssociationEnd.participant>
>        </UML:AssociationEnd>
>       </UML:Association.connection>
>      </UML:Association>
>      <UML:Class xmi.id = 'S.12'
>            name = 'AssociationClass' visibility = 'public' isSpecification
>= 'false'
>            isAbstract = 'false' isActive = 'false'>
>       <UML:Classifier.feature>
>        <UML:Attribute xmi.id = 'S.13'
>              name = 'lnkClass2' visibility = 'package' isSpecification =
>'false'
>              changeability = 'changeable' ownerScope = 'instance'>
>         <UML:StructuralFeature.multiplicity>
>          <UML:Multiplicity>
>           <UML:Multiplicity.range>
>            <UML:MultiplicityRange lower = '1' upper = '1'/>
>           </UML:Multiplicity.range>
>          </UML:Multiplicity>
>         </UML:StructuralFeature.multiplicity>
>         <UML:StructuralFeature.type>
>          <UML:Classifier>
>           <UML:Namespace.ownedElement>
>            <UML:DataType xmi.idref = 'G.2'/>
>           </UML:Namespace.ownedElement>
>          </UML:Classifier>
>         </UML:StructuralFeature.type>
>        </UML:Attribute>
>        <UML:Attribute xmi.id = 'S.14'
>              name = 'lnkClass1' visibility = 'package' isSpecification =
>'false'
>              changeability = 'changeable' ownerScope = 'instance'>
>         <UML:StructuralFeature.multiplicity>
>          <UML:Multiplicity>
>           <UML:Multiplicity.range>
>            <UML:MultiplicityRange lower = '1' upper = '1'/>
>           </UML:Multiplicity.range>
>          </UML:Multiplicity>
>         </UML:StructuralFeature.multiplicity>
>         <UML:StructuralFeature.type>
>          <UML:Classifier>
>           <UML:Namespace.ownedElement>
>            <UML:DataType xmi.idref = 'G.7'/>
>           </UML:Namespace.ownedElement>
>          </UML:Classifier>
>         </UML:StructuralFeature.type>
>        </UML:Attribute>
>       </UML:Classifier.feature>
>      </UML:Class>
>      <!--From Class AssociationClass to Class Class2-->
>      <UML:Association xmi.id = 'G.12'
>            name = '{AssociationClass-Class2}' visibility = 'package'
>isSpecification = 'false'
>            isAbstract = 'false'>
>       <UML:Association.connection>
>        <UML:AssociationEnd xmi.id = 'G.14' visibility = 'public'
>isSpecification = 'false'
>              isNavigable = 'false' ordering = 'unordered' aggregation =
>'none'
>              targetScope = 'instance' changeability = 'changeable'>
>         <UML:AssociationEnd.qualifier>
>          <UML:Attribute xmi.idref = 'S.13'/>
>         </UML:AssociationEnd.qualifier>
>         <UML:AssociationEnd.multiplicity>
>          <UML:Multiplicity/>
>         </UML:AssociationEnd.multiplicity>
>         <UML:AssociationEnd.participant>
>          <UML:Classifier xmi.idref = 'S.12'/>
>         </UML:AssociationEnd.participant>
>        </UML:AssociationEnd>
>        <UML:AssociationEnd xmi.id = 'G.15' visibility = 'public'
>isSpecification = 'false'
>              isNavigable = 'false' ordering = 'unordered' aggregation =
>'none'
>              targetScope = 'instance' changeability = 'changeable'>
>         <UML:AssociationEnd.multiplicity>
>          <UML:Multiplicity/>
>         </UML:AssociationEnd.multiplicity>
>         <UML:AssociationEnd.participant>
>          <UML:Classifier xmi.idref = 'S.8'/>
>         </UML:AssociationEnd.participant>
>        </UML:AssociationEnd>
>       </UML:Association.connection>
>      </UML:Association>
>      <!--From Class AssociationClass to Class Class1-->
>      <UML:Association xmi.id = 'G.13'
>            name = '{AssociationClass-Class1}' visibility = 'package'
>isSpecification = 'false'
>            isAbstract = 'false'>
>       <UML:Association.connection>
>        <UML:AssociationEnd xmi.id = 'G.16' visibility = 'public'
>isSpecification = 'false'
>              isNavigable = 'false' ordering = 'unordered' aggregation =
>'none'
>              targetScope = 'instance' changeability = 'changeable'>
>         <UML:AssociationEnd.qualifier>
>          <UML:Attribute xmi.idref = 'S.14'/>
>         </UML:AssociationEnd.qualifier>
>         <UML:AssociationEnd.multiplicity>
>          <UML:Multiplicity/>
>         </UML:AssociationEnd.multiplicity>
>         <UML:AssociationEnd.participant>
>          <UML:Classifier xmi.idref = 'S.12'/>
>         </UML:AssociationEnd.participant>
>        </UML:AssociationEnd>
>        <UML:AssociationEnd xmi.id = 'G.17' visibility = 'public'
>isSpecification = 'false'
>              isNavigable = 'false' ordering = 'unordered' aggregation =
>'none'
>              targetScope = 'instance' changeability = 'changeable'>
>         <UML:AssociationEnd.multiplicity>
>          <UML:Multiplicity/>
>         </UML:AssociationEnd.multiplicity>
>         <UML:AssociationEnd.participant>
>          <UML:Classifier xmi.idref = 'S.6'/>
>         </UML:AssociationEnd.participant>
>        </UML:AssociationEnd>
>       </UML:Association.connection>
>      </UML:Association>
>      <UML:Class xmi.id = 'S.8'
>            name = 'Class2' visibility = 'public' isSpecification = 'false'
>            isAbstract = 'false' isActive = 'false'>
>      </UML:Class>
>     </UML:Namespace.ownedElement>
>    </UML:Package>
>    <UML:DataType xmi.id = 'G.2'
>          name = 'test.Class2' visibility = 'public' isSpecification =
>'false'/>
>    <UML:DataType xmi.id = 'G.7'
>          name = 'test.Class1' visibility = 'public' isSpecification =
>'false'/>
>   </UML:Namespace.ownedElement>
>  </UML:Model>
>  <UML:TaggedValue xmi.id = 'XX.0'
>        name = 'author'
>        modelElement = 'S.6'>
>   <UML:TaggedValue.dataValue>
>      lesniak
>   </UML:TaggedValue.dataValue>
>  </UML:TaggedValue>
>  <UML:TaggedValue xmi.id = 'XX.1'
>        name = '$derived'
>        modelElement = 'G.1'>
>   <UML:TaggedValue.dataValue>
>      false
>   </UML:TaggedValue.dataValue>
>  </UML:TaggedValue>
>  <UML:TaggedValue xmi.id = 'XX.2'
>        name = '$java_link'
>        modelElement = 'G.1'>
>   <UML:TaggedValue.dataValue>
>      true
>   </UML:TaggedValue.dataValue>
>  </UML:TaggedValue>
>  <UML:TaggedValue xmi.id = 'XX.5'
>        name = 'author'
>        modelElement = 'S.9'>
>   <UML:TaggedValue.dataValue>
>      lesniak
>   </UML:TaggedValue.dataValue>
>  </UML:TaggedValue>
>  <UML:TaggedValue xmi.id = 'XX.6'
>        name = 'metaclass'
>        modelElement = 'S.9'>
>   <UML:TaggedValue.dataValue>
>      associationClass
>   </UML:TaggedValue.dataValue>
>  </UML:TaggedValue>
>  <UML:TaggedValue xmi.id = 'XX.7'
>        name = '$derived'
>        modelElement = 'G.5'>
>   <UML:TaggedValue.dataValue>
>      false
>   </UML:TaggedValue.dataValue>
>  </UML:TaggedValue>
>  <UML:TaggedValue xmi.id = 'XX.8'
>        name = 'metaclass'
>        modelElement = 'G.5'>
>   <UML:TaggedValue.dataValue>
>      associationEnd
>   </UML:TaggedValue.dataValue>
>  </UML:TaggedValue>
>  <UML:TaggedValue xmi.id = 'XX.9'
>        name = '$java_link'
>        modelElement = 'G.5'>
>   <UML:TaggedValue.dataValue>
>      true
>   </UML:TaggedValue.dataValue>
>  </UML:TaggedValue>
>  <UML:TaggedValue xmi.id = 'XX.10'
>        name = '$derived'
>        modelElement = 'G.6'>
>   <UML:TaggedValue.dataValue>
>      false
>   </UML:TaggedValue.dataValue>
>  </UML:TaggedValue>
>  <UML:TaggedValue xmi.id = 'XX.11'
>        name = 'metaclass'
>        modelElement = 'G.6'>
>   <UML:TaggedValue.dataValue>
>      associationEnd
>   </UML:TaggedValue.dataValue>
>  </UML:TaggedValue>
>  <UML:TaggedValue xmi.id = 'XX.12'
>        name = '$java_link'
>        modelElement = 'G.6'>
>   <UML:TaggedValue.dataValue>
>      true
>   </UML:TaggedValue.dataValue>
>  </UML:TaggedValue>
>  <UML:TaggedValue xmi.id = 'XX.13'
>        name = 'metaclass'
>        modelElement = 'S.10'>
>   <UML:TaggedValue.dataValue>
>      associationEnd
>   </UML:TaggedValue.dataValue>
>  </UML:TaggedValue>
>  <UML:TaggedValue xmi.id = 'XX.14'
>        name = 'metaclass'
>        modelElement = 'S.11'>
>   <UML:TaggedValue.dataValue>
>      associationEnd
>   </UML:TaggedValue.dataValue>
>  </UML:TaggedValue>
>  <UML:TaggedValue xmi.id = 'XX.19'
>        name = 'author'
>        modelElement = 'S.12'>
>   <UML:TaggedValue.dataValue>
>      lesniak
>   </UML:TaggedValue.dataValue>
>  </UML:TaggedValue>
>  <UML:TaggedValue xmi.id = 'XX.20'
>        name = 'metaclass'
>        modelElement = 'S.12'>
>   <UML:TaggedValue.dataValue>
>      associationClass
>   </UML:TaggedValue.dataValue>
>  </UML:TaggedValue>
>  <UML:TaggedValue xmi.id = 'XX.21'
>        name = '$derived'
>        modelElement = 'G.12'>
>   <UML:TaggedValue.dataValue>
>      false
>   </UML:TaggedValue.dataValue>
>  </UML:TaggedValue>
>  <UML:TaggedValue xmi.id = 'XX.22'
>        name = 'metaclass'
>        modelElement = 'G.12'>
>   <UML:TaggedValue.dataValue>
>      associationEnd
>   </UML:TaggedValue.dataValue>
>  </UML:TaggedValue>
>  <UML:TaggedValue xmi.id = 'XX.23'
>        name = '$java_link'
>        modelElement = 'G.12'>
>   <UML:TaggedValue.dataValue>
>      true
>   </UML:TaggedValue.dataValue>
>  </UML:TaggedValue>
>  <UML:TaggedValue xmi.id = 'XX.24'
>        name = '$derived'
>        modelElement = 'G.13'>
>   <UML:TaggedValue.dataValue>
>      false
>   </UML:TaggedValue.dataValue>
>  </UML:TaggedValue>
>  <UML:TaggedValue xmi.id = 'XX.25'
>        name = 'metaclass'
>        modelElement = 'G.13'>
>   <UML:TaggedValue.dataValue>
>      associationEnd
>   </UML:TaggedValue.dataValue>
>  </UML:TaggedValue>
>  <UML:TaggedValue xmi.id = 'XX.26'
>        name = '$java_link'
>        modelElement = 'G.13'>
>   <UML:TaggedValue.dataValue>
>      true
>   </UML:TaggedValue.dataValue>
>  </UML:TaggedValue>
>  <UML:TaggedValue xmi.id = 'XX.27'
>        name = 'metaclass'
>        modelElement = 'S.13'>
>   <UML:TaggedValue.dataValue>
>      associationEnd
>   </UML:TaggedValue.dataValue>
>  </UML:TaggedValue>
>  <UML:TaggedValue xmi.id = 'XX.28'
>        name = 'metaclass'
>        modelElement = 'S.14'>
>   <UML:TaggedValue.dataValue>
>      associationEnd
>   </UML:TaggedValue.dataValue>
>  </UML:TaggedValue>
>  <UML:TaggedValue xmi.id = 'XX.33'
>        name = 'author'
>        modelElement = 'S.8'>
>   <UML:TaggedValue.dataValue>
>      lesniak
>   </UML:TaggedValue.dataValue>
>  </UML:TaggedValue>
> </XMI.content>
></XMI>
>
>
>javax.jmi.reflect.CompositionViolationException
>      at
>org.netbeans.mdr.storagemodel.StorableObject.setComposite(StorableObject.java:260)
>      at
>org.netbeans.mdr.storagemodel.AssocEndIndexSet.add(AssocEndIndexSet.java:150)
>      at
>org.netbeans.mdr.storagemodel.StorableAssociation.addLink(StorableAssociation.java:368)
>      at
>org.netbeans.mdr.handlers.AssociationHandler._handleLocalAdd(AssociationHandler.java:161)
>      at
>org.netbeans.mdr.handlers.AssociationHandler._handleAdd(AssociationHandler.java:150)
>      at
>org.omg.uml.foundation.core.AQualifierAssociationEnd$Impl.add(Unknown
>Source)
>      at
>org.omg.uml.foundation.core.AQualifierAssociationEnd$Impl._add(Unknown
>Source)
>      at
>org.netbeans.mdr.handlers.AssociationHandler.refAddLink(AssociationHandler.java:230)
>      at
>org.netbeans.lib.jmi.xmi.XmiElement$ReferenceHandler.setReference(XmiElement.java:1756)
>      at
>org.netbeans.lib.jmi.xmi.XmiElement$ReferenceHandler.<init>(XmiElement.java:1702)
>      at
>org.netbeans.lib.jmi.xmi.XmiElement$Instance.createInstance(XmiElement.java:599)
>      at
>org.netbeans.lib.jmi.xmi.XmiElement$Instance.endElement(XmiElement.java:626)
>      at
>org.netbeans.lib.jmi.xmi.XmiSAXReader.endElement(XmiSAXReader.java:258)
>      at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
>      at org.apache.crimson.parser.Parser2.content(Unknown Source)
>      at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
>      at org.apache.crimson.parser.Parser2.content(Unknown Source)
>      at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
>      at org.apache.crimson.parser.Parser2.content(Unknown Source)
>      at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
>      at org.apache.crimson.parser.Parser2.content(Unknown Source)
>      at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
>      at org.apache.crimson.parser.Parser2.content(Unknown Source)
>      at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
>      at org.apache.crimson.parser.Parser2.content(Unknown Source)
>      at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
>      at org.apache.crimson.parser.Parser2.content(Unknown Source)
>      at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
>      at org.apache.crimson.parser.Parser2.content(Unknown Source)
>      at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
>      at org.apache.crimson.parser.Parser2.parseInternal(Unknown Source)
>      at org.apache.crimson.parser.Parser2.parse(Unknown Source)
>      at org.apache.crimson.parser.XMLReaderImpl.parse(Unknown Source)
>      at javax.xml.parsers.SAXParser.parse(Unknown Source)
>      at org.netbeans.lib.jmi.xmi.XmiSAXReader.read(XmiSAXReader.java:136)
>      at org.netbeans.lib.jmi.xmi.XmiSAXReader.read(XmiSAXReader.java:107)
>      at org.netbeans.lib.jmi.xmi.SAXReader.read(SAXReader.java:77)
>      at org.netbeans.lib.jmi.xmi.SAXReader.read(SAXReader.java:70)
>      at
>de.adesso.eval.mdr.MDRepositoryFacade.loadModel(MDRepositoryFacade.java:260)
>      at
>de.adesso.eval.mdr.MDRepositoryFacade.readModel(MDRepositoryFacade.java:107)
>      at de.adesso.eval.mdr.MdrTest.main(MdrTest.java:31)
>[org.netbeans.lib.jmi.Logger] XMI parsing error at line: 62:
>javax.jmi.reflect.CompositionViolationException
>java.lang.RuntimeException: Error performing MDRepositoryFacade.readModel
>      at
>de.adesso.eval.mdr.MDRepositoryFacade.readModel(MDRepositoryFacade.java:112)
>      at de.adesso.eval.mdr.MdrTest.main(MdrTest.java:31)
>Caused by: java.lang.RuntimeException: Error performing
>MDRepository.loadModel
>      at
>de.adesso.eval.mdr.MDRepositoryFacade.loadModel(MDRepositoryFacade.java:267)
>      at
>de.adesso.eval.mdr.MDRepositoryFacade.readModel(MDRepositoryFacade.java:107)
>      ... 1 more
>Caused by: javax.jmi.xmi.MalformedXMIException:
>javax.jmi.reflect.CompositionViolationException
>      at
>org.netbeans.lib.jmi.xmi.SAXReader.read(SAXReader.java:83)[MDRepositoryFacade]:
> Error performing MDRepository.loadModel
>
>      at org.netbeans.lib.jmi.xmi.SAXReader.read(SAXReader.java:70)
>      at
>de.adesso.eval.mdr.MDRepositoryFacade.loadModel(MDRepositoryFacade.java:260)
>      ... 2 more
>Exception in thread "main"
>
>Thomas
>
>  
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.