Skip to content

' "XtextReconcilerJob" has encountered a problem' in 4.3.1 onwards #19

Description

@mgomez-dgt

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!

Activity

dangelion commented on Oct 23, 2013

@dangelion

Same error also for me.

Eclipse Java EE IDE for Web Developers.

Version: Kepler Service Release 1
Build id: 20130919-0819

Mac OSX 10.7.5

paulvi commented on Oct 24, 2013

@paulvi
Member

I have just checked in Eclipse Standard Kepler Service Release 1 (4.3.1) on Windows 7 64x Java 7_10 64x
It works fine... until edit.

xtextreconcilejob

Also asked on http://www.eclipse.org/forums/index.php/t/563428/

Could you please what Eclipse Xtext is used.
Help -> About -> Installation Details -> Plugins tab

Should be 2.4.3.

paulvi commented on Oct 24, 2013

@paulvi
Member

Until reason is found, in Eclipse 4.3.1 with Java Tools, you can assign Scrapbook for *.coffee files.

paulvi commented on Oct 24, 2013

@paulvi
Member

With PDE installed e.g. in Eclipse Standard, stack trace can be opened for the error n ErrorLog

xtextreconcilejob-errorlog

No CSEP specific classes in stack....

paulvi commented on Oct 24, 2013

@paulvi
Member

Problem can't be solved by downgrading to XText 2.4.2. More ideas are needed.

dangelion commented on Oct 24, 2013

@dangelion

Hi Paul, my Xtext version is:
Xtext UI 2.4.3.v201309030823 org.eclipse.xtext.ui.feature.group Eclipse Modeling Project

Could you better explain your solution with Scrapbook for *.coffee files? thanks

mgomez-dgt commented on Oct 24, 2013

@mgomez-dgt
Author

my Xtext version is:
Xtext UI 2.4.3.v201309030823 org.eclipse.xtext.ui.feature.group Eclipse Modeling Project

paulvi commented on Oct 25, 2013

@paulvi
Member

@dangelion

Could you better explain your solution with Scrapbook for *.coffee files?

Scrapbook is actually Java Editor that doesn't complain about anything.
It only highlights Java keywords and strings. I use it for everything that has not yet special plugin.

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...

paulvi commented on Oct 30, 2013

@paulvi
Member

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.

cdietrich commented on Nov 6, 2013

@cdietrich

Hi,

ive commented your eclipse post. i forked the code on github, regenerated the language (using 2.4.3)
and have no problem to edit .coffee files

paulvi commented on Nov 7, 2013

@paulvi
Member

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

mgomez-dgt commented on Nov 7, 2013

@mgomez-dgt
Author

Zend Studio 10.5

An internal error occurred during: "XtextReconcilerJob".
org.eclipse.xtext.resource.XtextResource.setModificationStamp(J)V

paulvi commented on Nov 7, 2013

@paulvi
Member

@newberemis Now it is already known that XText update to 2.4.3 and regenerating the language is needed.
I just don't know how to do it (should add to README if becomes known)

waiting if @cdietrich ( Christian Dietrich ) can share regenerated the language on GitHub.

gaydenko commented on Nov 7, 2013

@gaydenko

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?

cdietrich commented on Nov 7, 2013

@cdietrich

Hi,
it seems that it is reproduceable if you install it binary only.

21 remaining items

added a commit that references this issue on Nov 8, 2013

cdietrich commented on Nov 8, 2013

@cdietrich

@newberemis you sample seem to be whitespacedependent

(($) ->
$.CoreHelper = sendAjaxRequest: () ->
_default = { dataType: 'json'
type: 'POST'
data: {}
url: null
beforeSend: ->
success:(data) ->
complete: ->
}

)(jQuery)

paulvi commented on Nov 8, 2013

@paulvi
Member

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:
error dialog appear every time after some small edits.

gaydenko commented on Nov 8, 2013

@gaydenko

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.

gaydenko commented on Nov 8, 2013

@gaydenko

@cdietrich

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.

cdietrich commented on Nov 8, 2013

@cdietrich

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.
please not the zip i packed contains only the 2 language plugins and not the rest.
i did not have a look how generation works and stuff like that

paulvi commented on Nov 17, 2013

@paulvi
Member

Eclipse 4.3.1 also made other plugin behave a bit differently winterstein/Eclipse-Markdown-Editor-Plugin#30
because it was NPE it was easy to find & fix exact place.

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.

@cdietrich we don't have that someone. Can this issue be narrowed to just one file (or group of file)?
Please give exact link (package.filename) for the mentioned custom lexer ?
What is code base to continue?

please not the zip i packed contains only the 2 language plugins and not the rest.

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.

paulvi commented on Nov 17, 2013

@paulvi
Member

OK

cdietrich commented on Nov 17, 2013

@cdietrich

P.S: and the code is not good enhough to share

jthomaskerr commented on Mar 25, 2014

@jthomaskerr

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".

paulvi commented on Mar 31, 2014

@paulvi
Member

From desperate hope added CSEP 0.4 to Nodeclipse updates repository http://www.nodeclipse.org/updates/. Check http://www.nodeclipse.org/history

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.

changed the title [-]"XtextReconcilerJob" has encountered a problem // in 4.3.1 onwards[/-] [+]' "XtextReconcilerJob" has encountered a problem' in 4.3.1 onwards[/+] on Mar 31, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions