Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Using cross references in xtext
Using cross references in xtext [message #1202685] Fri, 22 November 2013 04:09 Go to next message
Arshad Adavani is currently offline Arshad Adavani
Messages: 100
Registered: July 2013
Location: Bangalore
Senior Member
Hello all,
I have multiple DSLs in my project. And I am expanding some content from a DSL which is in memory and this content is referred by other DSL to generate code.

I often fall into a situation where I see this:
Couldn't resolve lazy link, because no node model is attached


Can anyone help me out in finding the cause and possible solutions to it ?


Thanks in advance Smile


Arshad
Re: Using cross references in xtext [message #1213342 is a reply to message #1202685] Wed, 27 November 2013 02:44 Go to previous message
Sven Efftinge is currently offline Sven Efftinge
Messages: 1761
Registered: July 2009
Senior Member
It's hard to tell what's wrong without being able to look at your code.
The problem is, that there's an EObject with a proxy which doesn't have a node model attached to it.
That wouldn't usually happen.
Can you share some code and details? Do you modify the parsed objects anywhere? what are you doing during scoping / linking?


--
Need professional support on Xtext or Xtend?
Mail to: xtext (at) itemis.com
Twitter : @svenefftinge
Blog : blog.efftinge.de
Previous Topic:Showing validation error at the right eStructural feature
Next Topic:delete generated files/directories
Goto Forum:
  


Current Time: Fri Aug 29 01:32:07 EDT 2014

Powered by FUDForum. Page generated in 0.20998 seconds