Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMT (Generative Modeling Technologies) » [MOFScript] Error in MOFScript generating code by Java
[MOFScript] Error in MOFScript generating code by Java [message #385193] Tue, 26 August 2008 23:37 Go to next message
Jorge is currently offline Jorge
Messages: 5
Registered: July 2009
Junior Member
Hi,
I have develop a small program to do transformations based in the
example that is in the source code.
The transformation works fine with most of the elements but it gives the
next error:
INFO: print - #Runtime Error# Reference = NULL: Non existing feature:
Size - (line: 36)
The same with Replace function, and this only happens when I transform
with my application, if I use the plugin works fine.
Any idea?
Best.
Jorge
Re: [MOFScript] Error in MOFScript generating code by Java [message #385272 is a reply to message #385193] Thu, 28 August 2008 12:53 Go to previous message
Tor Neple is currently offline Tor Neple
Messages: 57
Registered: July 2009
Member
Hello Jorge

It depends what "size" is, is it a feature in the metamodel, or is it
the size operation on a collection. It is hard to give a better answer
without seeing more details, for instance: what is the content of line
36? And what is the metamodel.

However it is strange if it runs from the GUI and not from the
transformation tool you have written.

Regards


Tor

Jorge wrote:
> Hi,
> I have develop a small program to do transformations based in the
> example that is in the source code.
> The transformation works fine with most of the elements but it gives the
> next error:
> INFO: print - #Runtime Error# Reference = NULL: Non existing feature:
> Size - (line: 36)
> The same with Replace function, and this only happens when I transform
> with my application, if I use the plugin works fine.
> Any idea?
> Best.
> Jorge
>
Re: [MOFScript] Error in MOFScript generating code by Java [message #620463 is a reply to message #385193] Thu, 28 August 2008 12:53 Go to previous message
Tor Neple is currently offline Tor Neple
Messages: 57
Registered: July 2009
Member
Hello Jorge

It depends what "size" is, is it a feature in the metamodel, or is it
the size operation on a collection. It is hard to give a better answer
without seeing more details, for instance: what is the content of line
36? And what is the metamodel.

However it is strange if it runs from the GUI and not from the
transformation tool you have written.

Regards


Tor

Jorge wrote:
> Hi,
> I have develop a small program to do transformations based in the
> example that is in the source code.
> The transformation works fine with most of the elements but it gives the
> next error:
> INFO: print - #Runtime Error# Reference = NULL: Non existing feature:
> Size - (line: 36)
> The same with Replace function, and this only happens when I transform
> with my application, if I use the plugin works fine.
> Any idea?
> Best.
> Jorge
>
Previous Topic:[Epsilon] pre/post condition in EWL
Next Topic:[MOFScript]transformation code
Goto Forum:
  


Current Time: Thu Oct 23 16:04:48 GMT 2014

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

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