Skip to main content


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 15:18 Go to next message
Andrea Mauri is currently offline Andrea MauriFriend
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 13:17 Go to previous message
Stephane Begaudeau is currently offline Stephane BegaudeauFriend
Messages: 458
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 Apr 26 00:21:03 GMT 2024

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

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

Back to the top