Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » The feature ..... contains an unresolved proxy
The feature ..... contains an unresolved proxy [message #1809267] Fri, 12 July 2019 15:25 Go to next message
TheEMF User is currently offline TheEMF UserFriend
Messages: 71
Registered: August 2018
Member
Hi

I have a maven project, inside this maven project I have file like test.mydsl.
Eclipse keep showing an error like that and it can't resolve the references :

The feature 'type' of 'org....@6eefd0e3{platform:/resource/.../test.mydsl#... contains an unresolved proxy


When I put the same file in a fresh workspace I don't have any problem.

What is the root cause of this error ?

[Updated on: Fri, 12 July 2019 15:27]

Report message to a moderator

Re: The feature ..... contains an unresolved proxy [message #1809270 is a reply to message #1809267] Fri, 12 July 2019 15:31 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13062
Registered: July 2009
Senior Member
this is hard guessing without any hints.

- is the project a java project => is the model in a source folder
- is the project a xtext project => rightclick, configure, convert to xtext project


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: The feature ..... contains an unresolved proxy [message #1809274 is a reply to message #1809270] Fri, 12 July 2019 15:39 Go to previous messageGo to next message
TheEMF User is currently offline TheEMF UserFriend
Messages: 71
Registered: August 2018
Member
Maybe you can tell the cause of this error, i.e what does it mean ?

I will try to find some hints
Re: The feature ..... contains an unresolved proxy [message #1809276 is a reply to message #1809274] Fri, 12 July 2019 15:58 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13062
Registered: July 2009
Senior Member
this means you have have somewhere in your dsl a cross ref
like

class X extends Base

and Base cannot be found


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: The feature ..... contains an unresolved proxy [message #1809284 is a reply to message #1809276] Fri, 12 July 2019 17:27 Go to previous messageGo to next message
TheEMF User is currently offline TheEMF UserFriend
Messages: 71
Registered: August 2018
Member
And why I have no error i a fresh workspace ?
Re: The feature ..... contains an unresolved proxy [message #1809285 is a reply to message #1809284] Fri, 12 July 2019 17:28 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13062
Registered: July 2009
Senior Member
I don't know what you do so I have no idea did you check the hints I gave above.

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: The feature ..... contains an unresolved proxy [message #1809286 is a reply to message #1809285] Fri, 12 July 2019 17:37 Go to previous messageGo to next message
TheEMF User is currently offline TheEMF UserFriend
Messages: 71
Registered: August 2018
Member
Yes but I have questions :

> is the project a java project => is the model in a source folder
Are you talking about the maven project or the project containing the mydsl files.
> is the project a xtext project => rightclick, configure, convert to xtext project
I think you are talking of the source code of the DSL. But in my case the dsl is already deployed using an update site.

Acually the DSL is already deployed as a feature in Eclipse.

But I don't see why a workspace can impact a whole DSL.

Re: The feature ..... contains an unresolved proxy [message #1809287 is a reply to message #1809286] Fri, 12 July 2019 17:39 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13062
Registered: July 2009
Senior Member
I am talking about the project where you get the error

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: The feature ..... contains an unresolved proxy [message #1809288 is a reply to message #1809287] Fri, 12 July 2019 17:42 Go to previous messageGo to next message
TheEMF User is currently offline TheEMF UserFriend
Messages: 71
Registered: August 2018
Member
I don't have the configure option, as they are simple folders of a maven project
Re: The feature ..... contains an unresolved proxy [message #1809289 is a reply to message #1809288] Fri, 12 July 2019 17:43 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13062
Registered: July 2009
Senior Member
How does that project look like. Please share a screenshot

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: The feature ..... contains an unresolved proxy [message #1809290 is a reply to message #1809289] Fri, 12 July 2019 17:43 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13062
Registered: July 2009
Senior Member
And are you sure you cannot rightclick configure on the project ?

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: The feature ..... contains an unresolved proxy [message #1809291 is a reply to message #1809290] Fri, 12 July 2019 17:56 Go to previous messageGo to next message
TheEMF User is currently offline TheEMF UserFriend
Messages: 71
Registered: August 2018
Member
I put an error on the problematic file.

When I take this exact file on a fresh workspace it does not contain error.

My issue seems to be similar to this one : https://www.eclipse.org/forums/index.php/t/439033/
  • Attachment: screen.png
    (Size: 37.84KB, Downloaded 5 times)
Re: The feature ..... contains an unresolved proxy [message #1809292 is a reply to message #1809291] Fri, 12 July 2019 18:05 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13062
Registered: July 2009
Senior Member
There is only one file. Where is the other one you reference to?

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: The feature ..... contains an unresolved proxy [message #1809293 is a reply to message #1809291] Fri, 12 July 2019 18:10 Go to previous messageGo to next message
TheEMF User is currently offline TheEMF UserFriend
Messages: 71
Registered: August 2018
Member
My references are inside the same file.
Re: The feature ..... contains an unresolved proxy [message #1809294 is a reply to message #1809293] Fri, 12 July 2019 18:13 Go to previous messageGo to next message
TheEMF User is currently offline TheEMF UserFriend
Messages: 71
Registered: August 2018
Member
There is something in the workspace that breaks the DSL. The same than the link above
Re: The feature ..... contains an unresolved proxy [message #1809295 is a reply to message #1809294] Fri, 12 July 2019 18:18 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13062
Registered: July 2009
Senior Member
Sorry I have no idea.
Do you have custom scoping?


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de

[Updated on: Fri, 12 July 2019 18:29]

Report message to a moderator

Re: The feature ..... contains an unresolved proxy [message #1809297 is a reply to message #1809295] Fri, 12 July 2019 18:44 Go to previous messageGo to next message
TheEMF User is currently offline TheEMF UserFriend
Messages: 71
Registered: August 2018
Member
Ok, thank you for your help :)
Re: The feature ..... contains an unresolved proxy [message #1809304 is a reply to message #1809297] Fri, 12 July 2019 21:39 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 6437
Registered: July 2009
Senior Member
Hi

The message you reference provides some good clues. Due to various bugs tools are operating in target/classes and doing stupid unnecessary things.

You have not hared nearly enough information to be able to tell what your problem really is.

Regards

Ed Willink
Previous Topic:Xtext Referencing Not Working in Java Project
Next Topic:Creating Custom Task Tags
Goto Forum:
  


Current Time: Sun Aug 18 22:03:34 GMT 2019

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

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

Back to the top