Closed GoogleCodeExporter closed 9 years ago
we face the exact same problem.
Original comment by mobile....@gmail.com
on 19 Apr 2010 at 7:00
So do I :/
Original comment by marc.sch...@gmail.com
on 25 Apr 2010 at 4:05
Issue 170 has been merged into this issue.
Original comment by reini...@gmail.com
on 31 Dec 2010 at 9:33
Lombok isn't going to be compatible with save actions for a while,
unfortunately. Eclipse fundamentally doesn't grok the notion of AST nodes that
are virtual. We'll fix it, eventually, by hiding them for these actions, but
that's not an easy task, and some actions actually DO need to see them, such as
code analysers, complicating the issue a lot.
Original comment by reini...@gmail.com
on 31 Dec 2010 at 9:36
Issue 163 has been merged into this issue.
Original comment by grootj...@gmail.com
on 20 Jun 2011 at 5:57
It would be good to know what specific formatters are causing this - if there
is just one in particular I could turn it off for just that project for example.
Original comment by mart788@gmail.com
on 19 Jul 2011 at 3:33
Disabling 'Format source code' under Window > Preferences > Java > Editor >
Save Actions and manually formatting with Ctrl+Shift+F works for me.
Original comment by BruceMFr...@gmail.com
on 26 Jul 2011 at 5:13
Sure that is a workaround, but 1) I keep on forgetting to do it and 2) when
it is done automatically you can configure it to only format the lines that
changed.
Comment #7 on issue 90 by BruceMFr...@gmail.com:
ArrayIndexOutOfBoundsException when using 'Actions on Save' in Eclipse with
@Setter annotation
http://code.google.com/p/projectlombok/issues/detail?id=90
Disabling 'Format source code' under Window > Preferences > Java > Editor >
Save Actions and manually formatting with Ctrl+Shift+F works for me.
Original comment by ama...@gmail.com
on 26 Jul 2011 at 6:28
I have a similar problem. After creating a class and trying to save it, the
window "Save Problems" shows up. After clicking "Details..." there is a message:
A save participant caused problems.
The save participant 'Code Clean Up' caused an exception: java.lang.ArrayIndexOutOfBoundsException: 3. See the error log for details.
The only Save Action I have enabled is "Format source code". I do not have
enabled "Organize imports" or "Additional actions". If I disable "Format source
code" the problem does not occur. If I reenable "Format source code" the
problem happens again.
The code of the class:
import lombok.Getter;
public class A {
@Getter
private int x;
}
I attach the StackTrace from Eclipse Error Log.
Version of lombok: 0.10.1 and 0.10.2, downloaded from
http://code.google.com/p/projectlombok/downloads/list
Eclipse version: Helios Service Release 2, Build id: 20110218-0911
Java: 1.6.0_22-b04, Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed
mode)
Original comment by dawid.ch...@gmail.com
on 15 Nov 2011 at 9:08
Attachments:
Thanks to another contributor (Jappe van der Hel, he's really been going toe to
toe with various eclipse refactor scripts, cleanup actions, etc) I believe this
is fixed now. (commit fd736cc76f6b1b505d73173f270100161988338d and
1950820d35c1653389a22bddfa3916e125d4bc24). Should be out in version after
0.10.2.
Can all people affected by this give the latest edge build a whirl? Please
report back here if formatting now works (or doesn't work!) You can find the
edge release at:
http://projectlombok.org/download-edge.html
Original comment by reini...@gmail.com
on 15 Nov 2011 at 1:58
Original comment by reini...@gmail.com
on 15 Nov 2011 at 1:58
Since I installed the edge build today, eclipse is hanging when I try to set a
breakpoint. I know it doesnt seem related but it was working just fine
yesterday before I updated lombok.
Original comment by mart788@gmail.com
on 15 Nov 2011 at 3:34
I couldn't find any edge release on the page
http://projectlombok.org/download-edge.html
Can you post the direct URL to the edge release jar?
Original comment by dawid.ch...@gmail.com
on 15 Nov 2011 at 7:04
0.10.3 is the edge release..
as of 0.10.2 each odd version number marks edge releases
Original comment by pe.f...@googlemail.com
on 15 Nov 2011 at 8:26
I tested the "0.10.3 2011-11-15 1356 UTC" edge release. The formatting in
Eclipse is working.
I couldn't test it yesterday, because the page
http://projectlombok.org/download-edge.html is somehow not accessible from
Firefox 8.0 in Windows. It says "No edge build as been released since the last
stable release of lombok." That's why I asked for the direct URL for the jar.
I downloaded the page in IE9, Chrome and Firefox in Linux. I also downloaded
the page with wget. It works in all the cases but it doesn't work in Firefox
8.0. I don't know why.
Original comment by dawid.ch...@gmail.com
on 16 Nov 2011 at 7:30
Now in release 0.10.4
Original comment by reini...@gmail.com
on 21 Nov 2011 at 11:02
Still broken in 10.6 for me
Original comment by twisti4...@googlemail.com
on 25 Jan 2012 at 11:27
Original issue reported on code.google.com by
nzipsi@gmail.com
on 19 Dec 2009 at 9:20