Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Error while creating generator model
Error while creating generator model [message #174696] Thu, 28 February 2008 07:27 Go to next message
Eclipse UserFriend
Originally posted by: mopr.xxxxx.org

This is a multi-part message in MIME format.
--------------000409000208090907010507
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Hello,

I get a strange error when I try to create the .gmfgen from my .gmfmap: The creation aborts with the message "error while creating generator model" without any further explanation (no items in the Problems or Error Log view of Eclipse). The validation of .gmfmap did not produce any errors.

I compiled a minimal sample that produces this error (attachment contains the models): Right-click on "sample.gmfmap" and select "Create generator model ..." from context menu. You do not have to generate any code to reproduce the error.

It would be great if someone knew a solution to this, because it keeps me from proceeding with my current GMF project ...
Thank you very much in advance!
Oliver



--------------000409000208090907010507
Content-Type: application/zip;
name="sample.zip"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="sample.zip"

UEsDBBQAAAAIAHJAXDi5RFS4EwIAAN4HAAANAAAAc2FtcGxlLmdtZm1hcMVV 226bQBB9j5R/
sMhzvLajVhXCJKrrSJXsqmoTqa8bGGCVvYndhOTvOws2N4MTV5G6Dwh255w5 Z2aA4PpF8Mkz
5IYpufTm05k3ARmpmMl06d3f3V5+8a7D87MgFYmg2t9SrfFo8iKYX6MWiDo/ m+BCMml8PFx6
mbXaJ6QoiqkS6VTlKfmz/d6NM9244qoMW8xmc4zd/I4yEPSSSWOpjKADhUjl 0AFDxJk2UDKA
SBzLgqxdWAdY+RhFphXyMxGVUdMHW6X4W+hP5A6jvkHCJLNYIS90JIFUMZiw 4gsiJS1lUoC0
t0DtUw7VgVtZDsnSM1RoDtPS6QUh95K5ggOJlNBUMjAe2ZOpQkK8yhiPwz1L ECuB/FuwdM3B
pWn4RzKsSuLXmhZJnNs2Djvm21eNld+Vwl/lqB49OsfeaIpdNCa50ZSDtUBu 3IaZzuqbdt6Y
0TSn4gdW7BgnxujsY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ACsBAACPCQAAAAA=
--------------000409000208090907010507--
Re: Error while creating generator model [message #174707 is a reply to message #174696] Thu, 28 February 2008 07:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mopr.xxxxx.org

Just another note on this:
When you clear the "Target Feature" property of the Link Mapping in .gmfmap (no need to delete the Link Mapping), then the error goes away and the .gmfgen is generated normally.

But the target feature of the Link Mapping cannot be the actual reason of the error ...
Re: Error while creating generator model [message #174726 is a reply to message #174707] Thu, 28 February 2008 08:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jan.herriger.gmx.de

Did you make changes to the ecore model? In this case you should reload
your genmodel. Otherwise there may be strange errors.

Oliver schrieb:
> Just another note on this:
> When you clear the "Target Feature" property of the Link Mapping in
> .gmfmap (no need to delete the Link Mapping), then the error goes away
> and the .gmfgen is generated normally.
>
> But the target feature of the Link Mapping cannot be the actual reason
> of the error ...
>
Re: Error while creating generator model [message #174741 is a reply to message #174707] Thu, 28 February 2008 09:00 Go to previous messageGo to next message
Matthias Erche is currently offline Matthias ErcheFriend
Messages: 19
Registered: July 2009
Junior Member
Hi Oliver,

have you tried to specify a domain element for the BubbleNode?

I had a similar problem. I think actually it is not possible to mix the
specification of a Node Mapping without a domain element and a link
mapping which has a domain element. Please try to enhance your mapping
and define a domain element for BubbleNode.

I recognized the problem with GMF 2.0.1 and already filed a bug:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=219409

Matthias


Oliver wrote:
> Just another note on this:
> When you clear the "Target Feature" property of the Link Mapping in
> .gmfmap (no need to delete the Link Mapping), then the error goes away
> and the .gmfgen is generated normally.
>
> But the target feature of the Link Mapping cannot be the actual reason
> of the error ...
>
Re: Error while creating generator model [message #174878 is a reply to message #174741] Thu, 28 February 2008 17:45 Go to previous message
Eclipse UserFriend
Originally posted by: mopr.xxxxx.org

Hello Matthias,

I think this is the same problem. I will add my sample files and a some additional info to the bug you've filed already.

Thanks for note!
Oliver



Matthias Erche schrieb:
> Hi Oliver,
>
> have you tried to specify a domain element for the BubbleNode?
>
> I had a similar problem. I think actually it is not possible to mix the
> specification of a Node Mapping without a domain element and a link
> mapping which has a domain element. Please try to enhance your mapping
> and define a domain element for BubbleNode.
>
> I recognized the problem with GMF 2.0.1 and already filed a bug:
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=219409
>
> Matthias
>
Previous Topic:creating file
Next Topic:External design label forced to be affixed to parent side ?
Goto Forum:
  


Current Time: Thu Sep 26 17:27:40 GMT 2024

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

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

Back to the top