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 #623202] Tue, 14 September 2010 09:59 Go to next message
Michael Spertus is currently offline Michael Spertus
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 #623203 is a reply to message #623202] Tue, 14 September 2010 10:33 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 25999
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?
>
Previous Topic:[MINT] Coloring of Java-Files in Project Explorer
Next Topic:New error in EMF
Goto Forum:
  


Current Time: Fri Aug 22 09:56:00 EDT 2014

Powered by FUDForum. Page generated in 0.02786 seconds