Skip to main content


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 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 #623203 is a reply to message #623202] Tue, 14 September 2010 14:33 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
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?
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:[MINT] Coloring of Java-Files in Project Explorer
Next Topic:New error in EMF
Goto Forum:
  


Current Time: Thu Apr 25 02:29:58 GMT 2024

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

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

Back to the top