-
Notifications
You must be signed in to change notification settings - Fork 9
' "XtextReconcilerJob" has encountered a problem' in 4.3.1 onwards #19
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
Comments
Same error also for me. Eclipse Java EE IDE for Web Developers. Version: Kepler Service Release 1 Mac OSX 10.7.5 |
I have just checked in Eclipse Standard Kepler Service Release 1 (4.3.1) on Windows 7 64x Java 7_10 64x Also asked on http://www.eclipse.org/forums/index.php/t/563428/ Could you please what Eclipse Xtext is used. Should be 2.4.3. |
Until reason is found, in Eclipse 4.3.1 with Java Tools, you can assign Scrapbook for *.coffee files. |
Problem can't be solved by downgrading to XText 2.4.2. More ideas are needed. |
Hi Paul, my Xtext version is: Could you better explain your solution with Scrapbook for *.coffee files? thanks |
my Xtext version is: |
Scrapbook is actually Java Editor that doesn't complain about anything. Try it via right click any file -> Open With -> Other ... Window -> Preferences -> General -> Editors -> File associations As per question in subject it is only in Eclipse 4.3.1 that cam somehow unexpected, and I noticed even some bug with good old Markdown Editor, so I decided not to hurry to switch, I just updated EGit and Web Tools... |
Just reminder that there is Enide Studio standalone Eclipse distribution for Windows. http://sourceforge.net/projects/nodeclipse/ It is 4.3.0 based, so 4.3.1 bug will not arrive. I think it is Eclipse platform bug, so just wait for 4.3.2 and skip 4.3.1. |
Hi, ive commented your eclipse post. i forked the code on github, regenerated the language (using 2.4.3) |
That is superb, I was not sure when I could look in. Could you please send pull request with files changed, and I will build & release. Unfortunately I can't download or install from https://www.dropbox.com/sh/axieoiww82nb9pb/gtfcFnfcFc |
Zend Studio 10.5 An internal error occurred during: "XtextReconcilerJob". |
@newberemis Now it is already known that XText update to 2.4.3 and regenerating the language is needed. waiting if @cdietrich ( Christian Dietrich ) can share regenerated the language on GitHub. |
I have tried last 4.3.2 Maintenance Eclipse build (6 Nov), unfortunately the issue still exists. It's real showstopper. Any tips to workaround for 4.3.1? |
Hi, |
Can you, please, be more elaborate? Update site contains the only leaf node in plugins tree. BTW, I have tried Luna (last integration build) - the issue takes place also! |
Hi, |
The Problem is in the Custom Parser. It does some whitespace miscalculation |
Maybe one of the aptana guys can tell how to suppress this. |
I have uploaded a patched with pure knowledge version. can you please test https://www.dropbox.com/s/86xqg9u1odb4wp4/test.zip |
The test.zip doesn't list items to install. |
You have to uncheck the group by category checkbox in the install dialog |
Aha, thanks, have installed and tried the test.zip. Unfortunately has got "out of sync" error dialog with complete IDE hang. |
Zend Studio 10.5 Could not open the editor: The editor class could not be instantiated. This usually indicates a missing no-arg constructor or that the editor's class name was mistyped in plugin.xml.
Caused by: com.google.inject.CreationException: Guice creation errors: |
Hmm strange which java version do you use? |
If the question is for me - it is last Oracle JDK running under Linux x86_64. |
java version "1.7.0_45" |
hmmm strange, is there something more in the trace? i still have some cases where it crashes too, |
I can start, but can't edit :) Say, add a space somewhere, delete it, hit Ctrl-S - the error dialog arises. |
Hi, i uploaded a new version just 2 mins ago. hacking in a lexer code that has nothing todo with xtext is pain. |
href? |
still the same https://www.dropbox.com/s/86xqg9u1odb4wp4/test.zip |
Work in Version: Kepler Service Release 1 No more errors (($) -> )(jQuery) |
Sorry, still have the error dialog (this time third or fourth one resulted in eclipse hang). |
i have pushed my changes to my fork. feel free todo with it whatever you want. => find someone that built that scanner and ask him to fix it. i know nothing about coffee and i have no testcases. |
@newberemis you sample seem to be whitespacedependent (($) -> )(jQuery) |
I know just 2 persons that could possibly help. @adamschmideg & @pulse00 Robert Current summary is that problem since 4.3.1 (in 4.3.2 & 4.4) on latest JDK 7 on Linux, Max and Windows: |
Paul, I'm not sure is this issue and #20 are considered to be the same? The thing is my error messages says "out of sync" rather about "length()" is at that screenshot. |
I didn't realize that test.zip build doesn't automatically pull xtext as dependency, and have installed it manually (default version, i.e. 2.4.3. SDK). And now I haven't the "out of sync" problem. I have others ones - say, building a project doesn't compile coffee files, "Run as" doesn't list coffee type, frequent error dialog message cited in this issue (ending with "length()") - but I haven't an error dialog saying about "out of sync" (#20) on almost every tiny step in editor. Also I have tried official 0.3 and also haven't "out of sync error". Probably manual xtext install was needed to resolve #20. But this #19 issue still arises sufficiently often to be showstopper. |
as said before. we need someone that can fix the custom lexer to be able to handle the whitespace at the end of the file. for the rest a regeneration should work. |
Eclipse 4.3.1 also made other plugin behave a bit differently winterstein/Eclipse-Markdown-Editor-Plugin#30
@cdietrich we don't have that someone. Can this issue be narrowed to just one file (or group of file)?
If there is good code changes that should live on, could you please send pull request. Some survival guidance is needed about how to navigate the code and re-create generated files. |
OK |
P.S: and the code is not good enhough to share |
I need to do more testing but I think that the answer is to avoid mutating the input, since this error is indicating that the round trip source -> parse -> ast -> serialize -> source is inconsistent. d80d834 removes the replacement and this fixes this issue, however there are other times where the input is mutated for comments so I'm suspicious that these are still issues. There was also a problem with the grammar in that a block (an indented section) already has a TERMINATOR as part of the outdent symbol but the root rule wanted to see "Block TERMINATOR". |
From desperate hope added CSEP 0.4 to Nodeclipse updates repository Need more ideas. I guess 3+ people have tried in different time to find what was caused by Eclipse 4.3.1 release. Some other way of actions is needed. |
An internal error occurred during: "XtextReconcilerJob".
start > length()
Eclipse Standard/SDK
Version: Kepler Service Release 1
Build id: 20130919-0819
Mac osx 10.8.5
Thanks!
The text was updated successfully, but these errors were encountered: