Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » ERROR IN GMF
ERROR IN GMF [message #1018643] Thu, 14 March 2013 08:46 Go to next message
premjit mohanty is currently offline premjit mohantyFriend
Messages: 8
Registered: March 2013
Junior Member

[Updated on: Fri, 22 March 2013 10:24]

Report message to a moderator

Re: ERROR IN EMF [message #1018660 is a reply to message #1018643] Thu, 14 March 2013 09:15 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33107
Registered: July 2009
Senior Member
There's a feature in the model for which isUnique is false but that
feature is bidirectional (or implicitly so, in the case of containment)
so it is not allowed to contain duplicates and hence isUnique must be true.


On 14/03/2013 9:46 AM, premjit mohanty wrote:
> i am facing this type of errors when i validate ecore . please tell me what should i do ?
>
> Description Resource Path Location Type
>
> A containment or bidirectional reference must be unique if its upper bound is different from 1
>
> autosar40.ecore /autosar40/model Unknown EMF Problem
> A containment or bidirectional reference must be unique if its upper bound is


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: ERROR IN EMF [message #1019109 is a reply to message #1018660] Fri, 15 March 2013 03:54 Go to previous messageGo to next message
premjit mohanty is currently offline premjit mohantyFriend
Messages: 8
Registered: March 2013
Junior Member
No Message Body

[Updated on: Fri, 22 March 2013 10:24]

Report message to a moderator

Re: ERROR IN EMF [message #1019155 is a reply to message #1019109] Fri, 15 March 2013 06:15 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33107
Registered: July 2009
Senior Member
Premjit,

Comments below.

On 15/03/2013 4:54 AM, premjit mohanty wrote:
> thanks ,
> but i modified these errors
You mean you fixed the model?
> then i validated ecore and my validation was sucessfully . then i
> try to create "autosar40.editor" . after creating but it show 2000
> error in src folder . ?
And I should guess what those errors are?
> please tell me why this error coming .??
Which error might that be?
>
> thanks ,
> premjit


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: ERROR IN EMF [message #1019159 is a reply to message #1019155] Fri, 15 March 2013 06:27 Go to previous messageGo to next message
premjit mohanty is currently offline premjit mohantyFriend
Messages: 8
Registered: March 2013
Junior Member
No Message Body

[Updated on: Fri, 22 March 2013 10:25]

Report message to a moderator

Re: ERROR IN EMF [message #1019169 is a reply to message #1019159] Fri, 15 March 2013 07:02 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33107
Registered: July 2009
Senior Member
You should start sentences with upper case letters. The word "i" is
always spelled with an upper case letter. Your posting title should
contain a meaningful synopsis of the problem. Please avoid using all
upper case letters there, it's interpreted as shouting.

http://en.wikipedia.org/wiki/Etiquette_%28technology%29#Netiquette

You should not expect me to spend more time answering your question than
you spent asking it. You should answer all the questions that I ask if
you expect me to answer all the questions that you ask.

I cannot tell you what to do about an error in your src folder if you
don't tell me what it is. That should be obvious to a developer.

So please don't ask one liner questions that are complete devoid of the
information I would need to answer them.

You suggested you modified the model and eliminated the validation
errors. Now you suggest you didn't and mention 3000 errors where before
you mentioned 2000 errors. What am I to interpret from this?

As for what you should do, you should provide better details.

On 15/03/2013 7:27 AM, premjit mohanty wrote:
> no these error i do not fixed . because lot of error there (3000
> errors) . so what i should do ??


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: ERROR IN EMF [message #1019248 is a reply to message #1019169] Fri, 15 March 2013 10:15 Go to previous messageGo to next message
premjit mohanty is currently offline premjit mohantyFriend
Messages: 8
Registered: March 2013
Junior Member

OK.thanks for your comments . I try to rectify these mistake next time.
As per your comments i just describing my problems below .

My ecore have no error .it validate successful . Then I am creating gen model It also created without no error. Now i am creating editor and model .at time it thrown error .
please see the error as file below .
My question is why i am greeting these error ? due to ecore file or any other issue.

Thanks again .

Regards,
Premjit





  • Attachment: ERROR.bmp
    (Size: 1.04MB, Downloaded 174 times)
Re: ERROR IN EMF [message #1022540 is a reply to message #1019248] Fri, 22 March 2013 04:54 Go to previous messageGo to next message
premjit mohanty is currently offline premjit mohantyFriend
Messages: 8
Registered: March 2013
Junior Member
Hi,
Please reply my question . till now i have no solution .. please help me .

Thanks,
Prem
Re: ERROR IN EMF [message #1022550 is a reply to message #1022540] Fri, 22 March 2013 05:07 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33107
Registered: July 2009
Senior Member
I've answered you several times and asked you several questions, none of
which you answered. So until you provide more information, there's not
much anyone can do. And again, to reiterate my last posting, you might
try demonstrate your ability to form a sentence that uses proper
capitalization and punctuation as a way of showing that you yourself are
willing to spend more than 15 seconds on this problem.


On 22/03/2013 5:54 AM, premjit mohanty wrote:
> Hi, Please reply my question . till now i have no solution .. please
> help me .
>
> Thanks,
> Prem


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Export Ecore Meta-Model to XSD Programmatically
Next Topic:[XCore] XCoreGenModel Builder NullPointerException
Goto Forum:
  


Current Time: Tue Mar 19 08:29:02 GMT 2024

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

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

Back to the top