Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [Teneo] NoSuchMethodError exception when trying to add element to an EList
[Teneo] NoSuchMethodError exception when trying to add element to an EList [message #115924] Wed, 26 March 2008 18:30 Go to next message
Eclipse UserFriend
Originally posted by: vnikolov.us.ibm.com

Hello Martin,

I get an exception while trying to add an element in a featuremap. I was
wondering if you can give me some hints what may be the problem? Or at
least to point me where I should start looking for the reason for the
problem?

Here is the exception trace:

Nested Exception is java.lang.NoSuchMethodError:
org/eclipse/emf/teneo/mapping/elist/PersistableFeatureMap.in verseAdd(Lorg/eclipse/emf/ecore/util/FeatureMap$Entry;Lorg/e clipse/emf/common/notify/NotificationChain;)Lorg/eclipse/emf /common/notify/NotificationChain;
at
org.eclipse.emf.teneo.mapping.elist.PersistableFeatureMap.di dAdd(PersistableFeatureMap.java:216)
at
org.eclipse.emf.teneo.jpox.elist.FeatureMapWrapper.didAdd(Fe atureMapWrapper.java:558)
at
org.eclipse.emf.teneo.mapping.elist.PersistableFeatureMap.di dAdd(PersistableFeatureMap.java:1)
at
org.eclipse.emf.common.util.DelegatingEList.addUnique(Delega tingEList.java:498)
at
org.eclipse.emf.common.notify.impl.DelegatingNotifyingListIm pl.doAddUnique(DelegatingNotifyingListImpl.java:315)
at
org.eclipse.emf.common.notify.impl.DelegatingNotifyingListIm pl.addUnique(DelegatingNotifyingListImpl.java:299)
at
org.eclipse.emf.ecore.util.DelegatingFeatureMap.addUnique(De legatingFeatureMap.java:1381)
at
org.eclipse.emf.common.util.DelegatingEList.add(DelegatingEL ist.java:479)
at
org.eclipse.emf.ecore.util.DelegatingFeatureMap.doAdd(Delega tingFeatureMap.java:521)
at
org.eclipse.emf.ecore.util.DelegatingFeatureMap.add(Delegati ngFeatureMap.java:1135)
at
org.eclipse.emf.ecore.util.FeatureMapUtil$FeatureEList.add(F eatureMapUtil.java:646)


Here is the XMLSchema with the respective elements. I'm trying to add
square object into an shape list.

<xs:element name="shape" type="lib:Shape" abstract="true"/>
<xs:complexType name="Shape" abstract="true">
<!-- some elements and attributes --> </xs:complexType>

<xs:element name="square" type="lib:Square" substitutionGroup="lib:shape" />
<xs:complexType name="Square">
<xs:complexContent>
<xs:extension base="lib:Shape">
<xs:sequence>
<!-- some additional elements-->
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>


Thanks in advance!
Vladimir
Re: [Teneo] NoSuchMethodError exception when trying to add element to an EList [message #115936 is a reply to message #115924] Wed, 26 March 2008 19:07 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Vladimir,
The inverseAdd method is implemented in the superclass of PersistableFeatureMap:
org.eclipse.emf.ecore.util.DelegatingFeatureMap

So it seems that the emf jar's you are using are different from the ones assumed by Teneo.
Which Teneo version and which EMF version are you using?

gr. Martin

Vladimir Nikolov wrote:
> Hello Martin,
>
> I get an exception while trying to add an element in a featuremap. I was
> wondering if you can give me some hints what may be the problem? Or at
> least to point me where I should start looking for the reason for the
> problem?
>
> Here is the exception trace:
>
> Nested Exception is java.lang.NoSuchMethodError:
> org/eclipse/emf/teneo/mapping/elist/PersistableFeatureMap.in verseAdd(Lorg/eclipse/emf/ecore/util/FeatureMap$Entry;Lorg/e clipse/emf/common/notify/NotificationChain;)Lorg/eclipse/emf /common/notify/NotificationChain;
>
> at
> org.eclipse.emf.teneo.mapping.elist.PersistableFeatureMap.di dAdd(PersistableFeatureMap.java:216)
>
> at
> org.eclipse.emf.teneo.jpox.elist.FeatureMapWrapper.didAdd(Fe atureMapWrapper.java:558)
>
> at
> org.eclipse.emf.teneo.mapping.elist.PersistableFeatureMap.di dAdd(PersistableFeatureMap.java:1)
>
> at
> org.eclipse.emf.common.util.DelegatingEList.addUnique(Delega tingEList.java:498)
>
> at
> org.eclipse.emf.common.notify.impl.DelegatingNotifyingListIm pl.doAddUnique(DelegatingNotifyingListImpl.java:315)
>
> at
> org.eclipse.emf.common.notify.impl.DelegatingNotifyingListIm pl.addUnique(DelegatingNotifyingListImpl.java:299)
>
> at
> org.eclipse.emf.ecore.util.DelegatingFeatureMap.addUnique(De legatingFeatureMap.java:1381)
>
> at
> org.eclipse.emf.common.util.DelegatingEList.add(DelegatingEL ist.java:479)
> at
> org.eclipse.emf.ecore.util.DelegatingFeatureMap.doAdd(Delega tingFeatureMap.java:521)
>
> at
> org.eclipse.emf.ecore.util.DelegatingFeatureMap.add(Delegati ngFeatureMap.java:1135)
>
> at
> org.eclipse.emf.ecore.util.FeatureMapUtil$FeatureEList.add(F eatureMapUtil.java:646)
>
>
>
> Here is the XMLSchema with the respective elements. I'm trying to add
> square object into an shape list.
>
> <xs:element name="shape" type="lib:Shape" abstract="true"/>
> <xs:complexType name="Shape" abstract="true">
> <!-- some elements and attributes --> </xs:complexType>
>
> <xs:element name="square" type="lib:Square"
> substitutionGroup="lib:shape" />
> <xs:complexType name="Square">
> <xs:complexContent>
> <xs:extension base="lib:Shape">
> <xs:sequence>
> <!-- some additional elements-->
> </xs:sequence>
> </xs:extension>
> </xs:complexContent>
> </xs:complexType>
>
>
> Thanks in advance!
> Vladimir


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: [Teneo] NoSuchMethodError exception when trying to add element to an EList [message #116078 is a reply to message #115936] Thu, 27 March 2008 09:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: vnikolov.us.ibm.com

Hello Martin,

Thanks for the response.

My Teneo version is : 0.8.0.v200802122150
My EMF version is : 2.2.1.v200609210005

Regards,
Vladimir

Martin Taal wrote:
> Hi Vladimir,
> The inverseAdd method is implemented in the superclass of
> PersistableFeatureMap: org.eclipse.emf.ecore.util.DelegatingFeatureMap
>
> So it seems that the emf jar's you are using are different from the ones
> assumed by Teneo.
> Which Teneo version and which EMF version are you using?
>
> gr. Martin
>
> Vladimir Nikolov wrote:
>> Hello Martin,
>>
>> I get an exception while trying to add an element in a featuremap. I
>> was wondering if you can give me some hints what may be the problem?
>> Or at least to point me where I should start looking for the reason
>> for the problem?
>>
>> Here is the exception trace:
>>
>> Nested Exception is java.lang.NoSuchMethodError:
>> org/eclipse/emf/teneo/mapping/elist/PersistableFeatureMap.in verseAdd(Lorg/eclipse/emf/ecore/util/FeatureMap$Entry;Lorg/e clipse/emf/common/notify/NotificationChain;)Lorg/eclipse/emf /common/notify/NotificationChain;
>>
>> at
>> org.eclipse.emf.teneo.mapping.elist.PersistableFeatureMap.di dAdd(PersistableFeatureMap.java:216)
>>
>> at
>> org.eclipse.emf.teneo.jpox.elist.FeatureMapWrapper.didAdd(Fe atureMapWrapper.java:558)
>>
>> at
>> org.eclipse.emf.teneo.mapping.elist.PersistableFeatureMap.di dAdd(PersistableFeatureMap.java:1)
>>
>> at
>> org.eclipse.emf.common.util.DelegatingEList.addUnique(Delega tingEList.java:498)
>>
>> at
>> org.eclipse.emf.common.notify.impl.DelegatingNotifyingListIm pl.doAddUnique(DelegatingNotifyingListImpl.java:315)
>>
>> at
>> org.eclipse.emf.common.notify.impl.DelegatingNotifyingListIm pl.addUnique(DelegatingNotifyingListImpl.java:299)
>>
>> at
>> org.eclipse.emf.ecore.util.DelegatingFeatureMap.addUnique(De legatingFeatureMap.java:1381)
>>
>> at
>> org.eclipse.emf.common.util.DelegatingEList.add(DelegatingEL ist.java:479)
>> at
>> org.eclipse.emf.ecore.util.DelegatingFeatureMap.doAdd(Delega tingFeatureMap.java:521)
>>
>> at
>> org.eclipse.emf.ecore.util.DelegatingFeatureMap.add(Delegati ngFeatureMap.java:1135)
>>
>> at
>> org.eclipse.emf.ecore.util.FeatureMapUtil$FeatureEList.add(F eatureMapUtil.java:646)
>>
>>
>>
>> Here is the XMLSchema with the respective elements. I'm trying to add
>> square object into an shape list.
>>
>> <xs:element name="shape" type="lib:Shape" abstract="true"/>
>> <xs:complexType name="Shape" abstract="true">
>> <!-- some elements and attributes --> </xs:complexType>
>> <xs:element name="square" type="lib:Square"
>> substitutionGroup="lib:shape" />
>> <xs:complexType name="Square">
>> <xs:complexContent>
>> <xs:extension base="lib:Shape">
>> <xs:sequence>
>> <!-- some additional elements-->
>> </xs:sequence>
>> </xs:extension>
>> </xs:complexContent>
>> </xs:complexType>
>>
>>
>> Thanks in advance!
>> Vladimir
>
>
Re: [Teneo] NoSuchMethodError exception when trying to add element to an EList [message #116092 is a reply to message #116078] Thu, 27 March 2008 09:46 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Vladimir,
For Teneo 0.8.0 you need EMF 2.3 or 2.4, Teneo 0.7.5 is for emf 2.2, I would advice to upgrade as
0.7.5 is not maintained actively.

gr. Martin

Vladimir Nikolov wrote:
> Hello Martin,
>
> Thanks for the response.
>
> My Teneo version is : 0.8.0.v200802122150
> My EMF version is : 2.2.1.v200609210005
>
> Regards,
> Vladimir
>
> Martin Taal wrote:
>> Hi Vladimir,
>> The inverseAdd method is implemented in the superclass of
>> PersistableFeatureMap: org.eclipse.emf.ecore.util.DelegatingFeatureMap
>>
>> So it seems that the emf jar's you are using are different from the
>> ones assumed by Teneo.
>> Which Teneo version and which EMF version are you using?
>>
>> gr. Martin
>>
>> Vladimir Nikolov wrote:
>>> Hello Martin,
>>>
>>> I get an exception while trying to add an element in a featuremap. I
>>> was wondering if you can give me some hints what may be the problem?
>>> Or at least to point me where I should start looking for the reason
>>> for the problem?
>>>
>>> Here is the exception trace:
>>>
>>> Nested Exception is java.lang.NoSuchMethodError:
>>> org/eclipse/emf/teneo/mapping/elist/PersistableFeatureMap.in verseAdd(Lorg/eclipse/emf/ecore/util/FeatureMap$Entry;Lorg/e clipse/emf/common/notify/NotificationChain;)Lorg/eclipse/emf /common/notify/NotificationChain;
>>>
>>> at
>>> org.eclipse.emf.teneo.mapping.elist.PersistableFeatureMap.di dAdd(PersistableFeatureMap.java:216)
>>>
>>> at
>>> org.eclipse.emf.teneo.jpox.elist.FeatureMapWrapper.didAdd(Fe atureMapWrapper.java:558)
>>>
>>> at
>>> org.eclipse.emf.teneo.mapping.elist.PersistableFeatureMap.di dAdd(PersistableFeatureMap.java:1)
>>>
>>> at
>>> org.eclipse.emf.common.util.DelegatingEList.addUnique(Delega tingEList.java:498)
>>>
>>> at
>>> org.eclipse.emf.common.notify.impl.DelegatingNotifyingListIm pl.doAddUnique(DelegatingNotifyingListImpl.java:315)
>>>
>>> at
>>> org.eclipse.emf.common.notify.impl.DelegatingNotifyingListIm pl.addUnique(DelegatingNotifyingListImpl.java:299)
>>>
>>> at
>>> org.eclipse.emf.ecore.util.DelegatingFeatureMap.addUnique(De legatingFeatureMap.java:1381)
>>>
>>> at
>>> org.eclipse.emf.common.util.DelegatingEList.add(DelegatingEL ist.java:479)
>>>
>>> at
>>> org.eclipse.emf.ecore.util.DelegatingFeatureMap.doAdd(Delega tingFeatureMap.java:521)
>>>
>>> at
>>> org.eclipse.emf.ecore.util.DelegatingFeatureMap.add(Delegati ngFeatureMap.java:1135)
>>>
>>> at
>>> org.eclipse.emf.ecore.util.FeatureMapUtil$FeatureEList.add(F eatureMapUtil.java:646)
>>>
>>>
>>>
>>> Here is the XMLSchema with the respective elements. I'm trying to add
>>> square object into an shape list.
>>>
>>> <xs:element name="shape" type="lib:Shape" abstract="true"/>
>>> <xs:complexType name="Shape" abstract="true">
>>> <!-- some elements and attributes -->
>>> </xs:complexType> <xs:element name="square" type="lib:Square"
>>> substitutionGroup="lib:shape" />
>>> <xs:complexType name="Square">
>>> <xs:complexContent>
>>> <xs:extension base="lib:Shape">
>>> <xs:sequence>
>>> <!-- some additional elements-->
>>> </xs:sequence>
>>> </xs:extension>
>>> </xs:complexContent>
>>> </xs:complexType>
>>>
>>>
>>> Thanks in advance!
>>> Vladimir
>>
>>


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: [Teneo] NoSuchMethodError exception when trying to add element to an EList [message #615994 is a reply to message #115924] Wed, 26 March 2008 19:07 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Vladimir,
The inverseAdd method is implemented in the superclass of PersistableFeatureMap:
org.eclipse.emf.ecore.util.DelegatingFeatureMap

So it seems that the emf jar's you are using are different from the ones assumed by Teneo.
Which Teneo version and which EMF version are you using?

gr. Martin

Vladimir Nikolov wrote:
> Hello Martin,
>
> I get an exception while trying to add an element in a featuremap. I was
> wondering if you can give me some hints what may be the problem? Or at
> least to point me where I should start looking for the reason for the
> problem?
>
> Here is the exception trace:
>
> Nested Exception is java.lang.NoSuchMethodError:
> org/eclipse/emf/teneo/mapping/elist/PersistableFeatureMap.in verseAdd(Lorg/eclipse/emf/ecore/util/FeatureMap$Entry;Lorg/e clipse/emf/common/notify/NotificationChain;)Lorg/eclipse/emf /common/notify/NotificationChain;
>
> at
> org.eclipse.emf.teneo.mapping.elist.PersistableFeatureMap.di dAdd(PersistableFeatureMap.java:216)
>
> at
> org.eclipse.emf.teneo.jpox.elist.FeatureMapWrapper.didAdd(Fe atureMapWrapper.java:558)
>
> at
> org.eclipse.emf.teneo.mapping.elist.PersistableFeatureMap.di dAdd(PersistableFeatureMap.java:1)
>
> at
> org.eclipse.emf.common.util.DelegatingEList.addUnique(Delega tingEList.java:498)
>
> at
> org.eclipse.emf.common.notify.impl.DelegatingNotifyingListIm pl.doAddUnique(DelegatingNotifyingListImpl.java:315)
>
> at
> org.eclipse.emf.common.notify.impl.DelegatingNotifyingListIm pl.addUnique(DelegatingNotifyingListImpl.java:299)
>
> at
> org.eclipse.emf.ecore.util.DelegatingFeatureMap.addUnique(De legatingFeatureMap.java:1381)
>
> at
> org.eclipse.emf.common.util.DelegatingEList.add(DelegatingEL ist.java:479)
> at
> org.eclipse.emf.ecore.util.DelegatingFeatureMap.doAdd(Delega tingFeatureMap.java:521)
>
> at
> org.eclipse.emf.ecore.util.DelegatingFeatureMap.add(Delegati ngFeatureMap.java:1135)
>
> at
> org.eclipse.emf.ecore.util.FeatureMapUtil$FeatureEList.add(F eatureMapUtil.java:646)
>
>
>
> Here is the XMLSchema with the respective elements. I'm trying to add
> square object into an shape list.
>
> <xs:element name="shape" type="lib:Shape" abstract="true"/>
> <xs:complexType name="Shape" abstract="true">
> <!-- some elements and attributes --> </xs:complexType>
>
> <xs:element name="square" type="lib:Square"
> substitutionGroup="lib:shape" />
> <xs:complexType name="Square">
> <xs:complexContent>
> <xs:extension base="lib:Shape">
> <xs:sequence>
> <!-- some additional elements-->
> </xs:sequence>
> </xs:extension>
> </xs:complexContent>
> </xs:complexType>
>
>
> Thanks in advance!
> Vladimir


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: [Teneo] NoSuchMethodError exception when trying to add element to an EList [message #616005 is a reply to message #115936] Thu, 27 March 2008 09:37 Go to previous message
Vladimir Nikolov is currently offline Vladimir NikolovFriend
Messages: 10
Registered: July 2009
Junior Member
Hello Martin,

Thanks for the response.

My Teneo version is : 0.8.0.v200802122150
My EMF version is : 2.2.1.v200609210005

Regards,
Vladimir

Martin Taal wrote:
> Hi Vladimir,
> The inverseAdd method is implemented in the superclass of
> PersistableFeatureMap: org.eclipse.emf.ecore.util.DelegatingFeatureMap
>
> So it seems that the emf jar's you are using are different from the ones
> assumed by Teneo.
> Which Teneo version and which EMF version are you using?
>
> gr. Martin
>
> Vladimir Nikolov wrote:
>> Hello Martin,
>>
>> I get an exception while trying to add an element in a featuremap. I
>> was wondering if you can give me some hints what may be the problem?
>> Or at least to point me where I should start looking for the reason
>> for the problem?
>>
>> Here is the exception trace:
>>
>> Nested Exception is java.lang.NoSuchMethodError:
>> org/eclipse/emf/teneo/mapping/elist/PersistableFeatureMap.in verseAdd(Lorg/eclipse/emf/ecore/util/FeatureMap$Entry;Lorg/e clipse/emf/common/notify/NotificationChain;)Lorg/eclipse/emf /common/notify/NotificationChain;
>>
>> at
>> org.eclipse.emf.teneo.mapping.elist.PersistableFeatureMap.di dAdd(PersistableFeatureMap.java:216)
>>
>> at
>> org.eclipse.emf.teneo.jpox.elist.FeatureMapWrapper.didAdd(Fe atureMapWrapper.java:558)
>>
>> at
>> org.eclipse.emf.teneo.mapping.elist.PersistableFeatureMap.di dAdd(PersistableFeatureMap.java:1)
>>
>> at
>> org.eclipse.emf.common.util.DelegatingEList.addUnique(Delega tingEList.java:498)
>>
>> at
>> org.eclipse.emf.common.notify.impl.DelegatingNotifyingListIm pl.doAddUnique(DelegatingNotifyingListImpl.java:315)
>>
>> at
>> org.eclipse.emf.common.notify.impl.DelegatingNotifyingListIm pl.addUnique(DelegatingNotifyingListImpl.java:299)
>>
>> at
>> org.eclipse.emf.ecore.util.DelegatingFeatureMap.addUnique(De legatingFeatureMap.java:1381)
>>
>> at
>> org.eclipse.emf.common.util.DelegatingEList.add(DelegatingEL ist.java:479)
>> at
>> org.eclipse.emf.ecore.util.DelegatingFeatureMap.doAdd(Delega tingFeatureMap.java:521)
>>
>> at
>> org.eclipse.emf.ecore.util.DelegatingFeatureMap.add(Delegati ngFeatureMap.java:1135)
>>
>> at
>> org.eclipse.emf.ecore.util.FeatureMapUtil$FeatureEList.add(F eatureMapUtil.java:646)
>>
>>
>>
>> Here is the XMLSchema with the respective elements. I'm trying to add
>> square object into an shape list.
>>
>> <xs:element name="shape" type="lib:Shape" abstract="true"/>
>> <xs:complexType name="Shape" abstract="true">
>> <!-- some elements and attributes --> </xs:complexType>
>> <xs:element name="square" type="lib:Square"
>> substitutionGroup="lib:shape" />
>> <xs:complexType name="Square">
>> <xs:complexContent>
>> <xs:extension base="lib:Shape">
>> <xs:sequence>
>> <!-- some additional elements-->
>> </xs:sequence>
>> </xs:extension>
>> </xs:complexContent>
>> </xs:complexType>
>>
>>
>> Thanks in advance!
>> Vladimir
>
>
Re: [Teneo] NoSuchMethodError exception when trying to add element to an EList [message #616006 is a reply to message #116078] Thu, 27 March 2008 09:46 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Vladimir,
For Teneo 0.8.0 you need EMF 2.3 or 2.4, Teneo 0.7.5 is for emf 2.2, I would advice to upgrade as
0.7.5 is not maintained actively.

gr. Martin

Vladimir Nikolov wrote:
> Hello Martin,
>
> Thanks for the response.
>
> My Teneo version is : 0.8.0.v200802122150
> My EMF version is : 2.2.1.v200609210005
>
> Regards,
> Vladimir
>
> Martin Taal wrote:
>> Hi Vladimir,
>> The inverseAdd method is implemented in the superclass of
>> PersistableFeatureMap: org.eclipse.emf.ecore.util.DelegatingFeatureMap
>>
>> So it seems that the emf jar's you are using are different from the
>> ones assumed by Teneo.
>> Which Teneo version and which EMF version are you using?
>>
>> gr. Martin
>>
>> Vladimir Nikolov wrote:
>>> Hello Martin,
>>>
>>> I get an exception while trying to add an element in a featuremap. I
>>> was wondering if you can give me some hints what may be the problem?
>>> Or at least to point me where I should start looking for the reason
>>> for the problem?
>>>
>>> Here is the exception trace:
>>>
>>> Nested Exception is java.lang.NoSuchMethodError:
>>> org/eclipse/emf/teneo/mapping/elist/PersistableFeatureMap.in verseAdd(Lorg/eclipse/emf/ecore/util/FeatureMap$Entry;Lorg/e clipse/emf/common/notify/NotificationChain;)Lorg/eclipse/emf /common/notify/NotificationChain;
>>>
>>> at
>>> org.eclipse.emf.teneo.mapping.elist.PersistableFeatureMap.di dAdd(PersistableFeatureMap.java:216)
>>>
>>> at
>>> org.eclipse.emf.teneo.jpox.elist.FeatureMapWrapper.didAdd(Fe atureMapWrapper.java:558)
>>>
>>> at
>>> org.eclipse.emf.teneo.mapping.elist.PersistableFeatureMap.di dAdd(PersistableFeatureMap.java:1)
>>>
>>> at
>>> org.eclipse.emf.common.util.DelegatingEList.addUnique(Delega tingEList.java:498)
>>>
>>> at
>>> org.eclipse.emf.common.notify.impl.DelegatingNotifyingListIm pl.doAddUnique(DelegatingNotifyingListImpl.java:315)
>>>
>>> at
>>> org.eclipse.emf.common.notify.impl.DelegatingNotifyingListIm pl.addUnique(DelegatingNotifyingListImpl.java:299)
>>>
>>> at
>>> org.eclipse.emf.ecore.util.DelegatingFeatureMap.addUnique(De legatingFeatureMap.java:1381)
>>>
>>> at
>>> org.eclipse.emf.common.util.DelegatingEList.add(DelegatingEL ist.java:479)
>>>
>>> at
>>> org.eclipse.emf.ecore.util.DelegatingFeatureMap.doAdd(Delega tingFeatureMap.java:521)
>>>
>>> at
>>> org.eclipse.emf.ecore.util.DelegatingFeatureMap.add(Delegati ngFeatureMap.java:1135)
>>>
>>> at
>>> org.eclipse.emf.ecore.util.FeatureMapUtil$FeatureEList.add(F eatureMapUtil.java:646)
>>>
>>>
>>>
>>> Here is the XMLSchema with the respective elements. I'm trying to add
>>> square object into an shape list.
>>>
>>> <xs:element name="shape" type="lib:Shape" abstract="true"/>
>>> <xs:complexType name="Shape" abstract="true">
>>> <!-- some elements and attributes -->
>>> </xs:complexType> <xs:element name="square" type="lib:Square"
>>> substitutionGroup="lib:shape" />
>>> <xs:complexType name="Square">
>>> <xs:complexContent>
>>> <xs:extension base="lib:Shape">
>>> <xs:sequence>
>>> <!-- some additional elements-->
>>> </xs:sequence>
>>> </xs:extension>
>>> </xs:complexContent>
>>> </xs:complexType>
>>>
>>>
>>> Thanks in advance!
>>> Vladimir
>>
>>


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Previous Topic:Teneo - NamedQuery annotation support
Next Topic:No notifications for changes to model objects after saving a JpoxResource
Goto Forum:
  


Current Time: Fri Apr 19 13:47:58 GMT 2024

Powered by FUDForum. Page generated in 0.02467 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top