Eclipse plugin for LESS

Add this URL to your Eclipse Installation to reach this solution's update site.

Mars (4.5)
Luna (4.4)
Kepler (4.3)
Juno (4.2, 3.8)
Previous to Juno (<=4.1)
Neon (4.6)
Oxygen (4.7)


Learn more...

Details Group Tabs

tlahn's picture

I am getting a NullPointerException from XtextReconcilerJob on every edit and save with syntactically correct LESS code (compiles with lessc 2.5.1) when using @import url("…"); with full filename. Commenting out the @import line solves this. The import defines, and the LESS stylesheet uses, parametric mixins that were not introduced before LESS 1.7.2, like

.keyframes (@name, @rules) {
@-moz-keyframes @name {
@rules();
}
@-webkit-keyframes @name {
@rules();
}
@keyframes @name {
@rules();
}
}

But although I am getting syntax errors in the import from the plugin, that does not appear to be the cause of the problem (it is the same with commented out mixin definitions and calls).

parcandier's picture

For those of you annoyed by the XtextReconcilerJob bug: it can be avoided by entering full file names in your import directives.
I.e: @import "stylesheet" will trigger the bug, while @import "stylesheet.less" won't.

rravestein's picture

Version number here is 1.0.19
On the website http:// www .normalesup. org/~simonet/soft/ow/eclipse-less.en. html you can download version 1.0.21 (2014-06-01)

mvanderwerf's picture

An internal error occurred during: "XtextReconcilerJob".
java.lang.NullPointerException

ryentzer's picture

An internal error occurred during: "XtextReconcilerJob".
java.lang.NullPointerException

As above, I have to keep closing the warning dialog. I'll be uninstalling until this can be fixed.

eoneill's picture

An internal error occurred during: "Xtext validation".
java.lang.NullPointerException

This raises an alert that must be clicked repeatedly when looking at any .less file

Also seeing this error:
An internal error occurred during: "XtextReconcilerJob".
java.lang.NullPointerException

Reverting to version 1.0.19 of this plugin doesn't get rid of the problem, which comes from a dependency on Xtext, which was also updated recently.

I recommend not installing either until the problem is resolved.

Note that Eclipse shows a syntax error on a perfectly valid .less snippet that contains a mixin.

smisingnamey10's picture

I'm getting exactly same error

An internal error occurred during: "XtextReconcilerJob".
java.lang.NullPointerException

Has anyone got any solution ? Thanks

eoneill's picture

I get repeated errors in latest build, so often I had to uninstall. Can we downgrade?