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 08:26 Go to next message
Ashwini Nayak is currently offline Ashwini NayakFriend
Messages: 19
Registered: July 2013
Junior Member

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 08:44]

Report message to a moderator

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

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:Accessing context menu in Xtend IDE locks up computer
Next Topic:Resolving proxies for Java types fails when model is loaded externally
Goto Forum:

Current Time: Thu Mar 30 12:29:32 GMT 2017

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

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