Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [Acceleo] UnresolvedReferenceException
[Acceleo] UnresolvedReferenceException [message #1018296] Wed, 13 March 2013 11:18 Go to next message
Andrea Mauri is currently offline Andrea Mauri
Messages: 1
Registered: March 2013
Junior Member
Hi,
I'm trying to develop a model to text transformation from a model conforming with a metamodel that I built.
If the model has the structure
Class A
attr1
attr2

Class B
attr3
attr4

Class C
attr5
attr6

the code generation is succesfull.
While if the model is like
Class A
ref Class B

Class B
...

the generation fails with the exception UnresolvedReferenceException.

The model is created using a editor developed with Graphiti.

Can someone give me a hint on what's going on?

Thanks

Andrea
Re: [Acceleo] UnresolvedReferenceException [message #1018784 is a reply to message #1018296] Thu, 14 March 2013 09:17 Go to previous message
Stephane Begaudeau is currently offline Stephane Begaudeau
Messages: 406
Registered: April 2010
Location: Nantes (France)
Senior Member

Hi Andrea,

Do you have any validation issues on your model? (right click -> validate). Can you reproduce the issue with a minimal example (model + generator) and post it here please? Could you open the Error Log view and paste here the complete message of the exception (where in Acceleo does it appears).

Regards,

Stephane Begaudeau, Obeo

--
Twitter: @sbegaudeau
Google+: +stephane.begaudeau
Blog: http://stephanebegaudeau.tumblr.com | Eclipse Java Development Tools Tips and Tricks



Previous Topic:Xpand integer Global Variable
Next Topic:target folder from mtl file
Goto Forum:
  


Current Time: Fri Aug 01 03:49:29 EDT 2014

Powered by FUDForum. Page generated in 0.03905 seconds