Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Dangling references in XText editor
Dangling references in XText editor [message #1206824] Sun, 24 November 2013 03:26 Go to next message
Ashwini Nayak is currently offline Ashwini Nayak
Messages: 19
Registered: July 2013
Junior Member
Hello,

I have 3 XText based editors.

DSL Editor1 has the following contents :

A = B

Here, A is referred from Editor2 and B is refered from Editor3.

But, I get error 'feature 'A' contains a dangling refrence'

I also get messages in Console which looks something like this:
org.eclipse.xtext.resource.impl.DefaultResourceDescriptionStrategy ERROR - Reference from platform:/xxxxxxx cannot be exported as the target is not contained in a resource.


I dont understand how to fix the issue and is the actual cause for the issue.
Can anybody provide suggestions?

Thanks in advance Smile

[Updated on: Sun, 24 November 2013 03:44]

Report message to a moderator

Re: Dangling references in XText editor [message #1206961 is a reply to message #1206824] Sun, 24 November 2013 05:03 Go to previous message
Christian Dietrich is currently offline Christian Dietrich
Messages: 6145
Registered: July 2009
Senior Member
Hi,

it would be interesting to know about your customizations in nameprovider, resourcedescriptionsstrategy and scoping and linking
looks like you have some references to objects that do not belong to a resoure.



Previous Topic:Showing validation error at the right eStructural feature
Next Topic:Call Formatter
Goto Forum:
  


Current Time: Fri Aug 01 18:30:40 EDT 2014

Powered by FUDForum. Page generated in 0.01495 seconds