Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » New error in EMF
New error in EMF [message #558804] Tue, 14 September 2010 13:59 Go to next message
Michael Spertus is currently offline Michael SpertusFriend
Messages: 78
Registered: July 2009
Member
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 14:33 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 26215
Registered: July 2009
Senior Member
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 15:06 Go to previous messageGo to next message
Michael Spertus is currently offline Michael SpertusFriend
Messages: 78
Registered: July 2009
Member
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 15:06 Go to previous message
Michael Spertus is currently offline Michael SpertusFriend
Messages: 78
Registered: July 2009
Member
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: Fri Nov 21 18:03:56 GMT 2014

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

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