Skip to main content



      Home
Home » Archived » 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 19:37 Go to next message
Eclipse UserFriend
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 08:53 Go to previous message
Eclipse UserFriend
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 08:53 Go to previous message
Eclipse UserFriend
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: Mon Apr 14 19:41:21 EDT 2025

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

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

Back to the top