Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Strange Error Message - no clue what is wrong(Couldn't find EReference for crossreference '*' in parser rule '*'.)
Strange Error Message - no clue what is wrong [message #1837202] Sun, 24 January 2021 22:48 Go to next message
Olaf Bigalk is currently offline Olaf BigalkFriend
Messages: 155
Registered: July 2009
Location: Berlin
Senior Member
I got the above error message after working on the generator part of my grammar. The error message appears instead of my DSL text in the runtime eclipse.
I before hat added some @Inject annotations in the generator part.
But this messed up Guice because it could not resolve the annotations.
So I commented out the annotations.
I understand the error that xtext could not resolve a crossreference in one of my ParserRules.
The ScopeProvider worked before and I did not change it.
I simply do not know where to start to seek the mistake.
Re: Strange Error Message - no clue what is wrong [message #1837206 is a reply to message #1837202] Mon, 25 January 2021 05:34 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14497
Registered: July 2009
Senior Member
i assume you actually changed something in the grammar.
you can try to debug installProxies inside LazyLinker
to find out more.

please also triple check that there are no errors or warnings if you run language workflow. also make sure the code you have is built (build automatically on)

besides that:
please provide a complete minimal example

Need professional support for Xtext, Xpand, EMF?
Go to:
Twitter : @chrdietrich
Blog :

[Updated on: Mon, 25 January 2021 05:46]

Report message to a moderator

Previous Topic:[Formatter2] append newLine + spaces
Next Topic:Dokumentation for Formatter2 API
Goto Forum:

Current Time: Mon Jun 05 18:07:21 GMT 2023

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

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

Back to the top