Skip to main content



      Home
Home » Modeling » TMF (Xtext) » The feature ..... contains an unresolved proxy
The feature ..... contains an unresolved proxy [message #1809267] Fri, 12 July 2019 11:25 Go to next message
Eclipse UserFriend
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 11:27] by Moderator

Re: The feature ..... contains an unresolved proxy [message #1809270 is a reply to message #1809267] Fri, 12 July 2019 11:31 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: The feature ..... contains an unresolved proxy [message #1809274 is a reply to message #1809270] Fri, 12 July 2019 11:39 Go to previous messageGo to next message
Eclipse UserFriend
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 11:58 Go to previous messageGo to next message
Eclipse UserFriend
this means you have have somewhere in your dsl a cross ref
like

class X extends Base

and Base cannot be found
Re: The feature ..... contains an unresolved proxy [message #1809284 is a reply to message #1809276] Fri, 12 July 2019 13:27 Go to previous messageGo to next message
Eclipse UserFriend
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 13:28 Go to previous messageGo to next message
Eclipse UserFriend
I don't know what you do so I have no idea did you check the hints I gave above.
Re: The feature ..... contains an unresolved proxy [message #1809286 is a reply to message #1809285] Fri, 12 July 2019 13:37 Go to previous messageGo to next message
Eclipse UserFriend
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 13:39 Go to previous messageGo to next message
Eclipse UserFriend
I am talking about the project where you get the error
Re: The feature ..... contains an unresolved proxy [message #1809288 is a reply to message #1809287] Fri, 12 July 2019 13:42 Go to previous messageGo to next message
Eclipse UserFriend
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 13:43 Go to previous messageGo to next message
Eclipse UserFriend
How does that project look like. Please share a screenshot
Re: The feature ..... contains an unresolved proxy [message #1809290 is a reply to message #1809289] Fri, 12 July 2019 13:43 Go to previous messageGo to next message
Eclipse UserFriend
And are you sure you cannot rightclick configure on the project ?
Re: The feature ..... contains an unresolved proxy [message #1809291 is a reply to message #1809290] Fri, 12 July 2019 13:56 Go to previous messageGo to next message
Eclipse UserFriend
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 68 times)
Re: The feature ..... contains an unresolved proxy [message #1809292 is a reply to message #1809291] Fri, 12 July 2019 14:05 Go to previous messageGo to next message
Eclipse UserFriend
There is only one file. Where is the other one you reference to?
Re: The feature ..... contains an unresolved proxy [message #1809293 is a reply to message #1809291] Fri, 12 July 2019 14:10 Go to previous messageGo to next message
Eclipse UserFriend
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 14:13 Go to previous messageGo to next message
Eclipse UserFriend
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 14:18 Go to previous messageGo to next message
Eclipse UserFriend
Sorry I have no idea.
Do you have custom scoping?

[Updated on: Fri, 12 July 2019 14:29] by Moderator

Re: The feature ..... contains an unresolved proxy [message #1809297 is a reply to message #1809295] Fri, 12 July 2019 14:44 Go to previous messageGo to next message
Eclipse UserFriend
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 17:39 Go to previous message
Eclipse UserFriend
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: Mon Mar 24 23:50:37 EDT 2025

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

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

Back to the top