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
Marshall Charron is currently offline Marshall CharronFriend
Messages: 72
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: 14661
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


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
Marshall Charron is currently offline Marshall CharronFriend
Messages: 72
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: 14661
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


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
Marshall Charron is currently offline Marshall CharronFriend
Messages: 72
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: 14661
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.

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
Marshall Charron is currently offline Marshall CharronFriend
Messages: 72
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: 14661
Registered: July 2009
Senior Member
I am talking about the project where you get the error

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
Marshall Charron is currently offline Marshall CharronFriend
Messages: 72
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: 14661
Registered: July 2009
Senior Member
How does that project look like. Please share a screenshot

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: 14661
Registered: July 2009
Senior Member
And are you sure you cannot rightclick configure on the project ?

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
Marshall Charron is currently offline Marshall CharronFriend
Messages: 72
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 41 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: 14661
Registered: July 2009
Senior Member
There is only one file. Where is the other one you reference to?

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
Marshall Charron is currently offline Marshall CharronFriend
Messages: 72
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
Marshall Charron is currently offline Marshall CharronFriend
Messages: 72
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: 14661
Registered: July 2009
Senior Member
Sorry I have no idea.
Do you have custom scoping?


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
Marshall Charron is currently offline Marshall CharronFriend
Messages: 72
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: 7655
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:Xtext grammar autocompletion
Goto Forum:
  


Current Time: Fri Mar 29 06:47:11 GMT 2024

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

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

Back to the top