New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NPE / error upon each edit of a domain-model file (without the .xt extension) #153
Comments
|
This is: https://bugs.eclipse.org/bugs/show_bug.cgi?id=446319 I'm not sure yet if I want or should spend much effort in Xpect to support XPECT-statements in files that don't have the .xt file extension. The problem with these files is that Xpect can't guarantee that Xtext uses the right Guice Injector for them. |
|
Anyway, thank you for reporting this. |
I would have thought the opposite was desired, that Xpect would not do any processing unless the file has an .xt extension (??) |
|
I think we mean the same thing... |
|
fixed in Xtext. The fix will go into Xtext 2.8.0, so the problem remains with Xtext 2.7.x. |
|
hi Luke, hi @iloveeclipse, we're preparing an Xtext maintenance release (v2.7.3) that will include the relevant fix: |
|
Xtext 2.7.3 is now available: |
Say I have a file
MyFile.dmodelopen in Eclipse development environment, and this dev environment is not aware of the .dmodel file association (only my runtime environment should know about that).Every time I type in this file's editor, I get an error "An internal error occurred during: "XtextReconcilerJob"." and a NPE stacktrace. Once I rename the file to
MyFile.dmodel.xt(to embed XPECT annotations) the crashes go away.I think this crash only started appearing after installing Xpect (although I cannot say this with certainty).
The text was updated successfully, but these errors were encountered: