Skip to main content



      Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » New error in EMF
New error in EMF [message #558804] Tue, 14 September 2010 09:59 Go to next message
Eclipse UserFriend
After recently upgrading to Eclipse Helios, I get an error when creating a generator model from my ecore model (which always worked in the past). "A containment or bidirectional reference must be unique if its upper bound is different from 1." This worked in previous versions of Eclipse/EMF, and AFAICT it doesn't say which containment or bidirectional reference it is talking about. Is there any way to get more detail about what the problem is or other suggestions?
Re: New error in EMF [message #558826 is a reply to message #558804] Tue, 14 September 2010 10:33 Go to previous messageGo to next message
Eclipse UserFriend
Michael,

Comments below.


Michael Spertus wrote:
> After recently upgrading to Eclipse Helios, I get an error when
> creating a generator model from my ecore model (which always worked in
> the past). "A containment or bidirectional reference must be unique if
> its upper bound is different from 1." This worked in previous versions
> of Eclipse/EMF, and AFAICT it doesn't say which containment or
> bidirectional reference it is talking about.
If you create the markers and double click it, you should navigate to
the object with the problem. You should end up on an EReference for
while upper bound > 1 and for which unique is false. You'll want to
change it to true.
> Is there any way to get more detail about what the problem is or other
> suggestions?
>
Re: New error in EMF [message #558837 is a reply to message #558826] Tue, 14 September 2010 11:06 Go to previous messageGo to next message
Eclipse UserFriend
Ed Merks wrote on Tue, 14 September 2010 10:33

If you create the markers and double click it, you should navigate to
the object with the problem. You should end up on an EReference for
while upper bound > 1 and for which unique is false. You'll want to
change it to true.


Thanks! That did the trick
Re: New error in EMF [message #623204 is a reply to message #558826] Tue, 14 September 2010 11:06 Go to previous message
Eclipse UserFriend
Ed Merks wrote on Tue, 14 September 2010 10:33
> If you create the markers and double click it, you should navigate to
> the object with the problem. You should end up on an EReference for
> while upper bound > 1 and for which unique is false. You'll want to
> change it to true.

Thanks! That did the trick
Previous Topic:New error in EMF
Next Topic:[MINT] Coloring of Java-Files in Project Explorer
Goto Forum:
  


Current Time: Sat Nov 15 12:47:18 EST 2025

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

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

Back to the top