Community
Participate
Working Groups
Build Identifier: 20110301-1815 If you have a "zero width space" inside a source file, eclipse starts behaving weirdly as soon as the region containing that character is selected : * the lines around it are greyed * the cursor start behaving as if in insert mode but doesn't replace anything, in fact edition works well, the visual feedback doesn't. * the editor complains with the following message : ""Paste" did not complete normally. Please see the log for more information. java.lang.ArrayIndexOutOfBoundsException" Reproducible: Always Steps to Reproduce: 1. Open eclipse, open a file with a code editor (anything but the Text Editor) 2. go to http://en.wikipedia.org/wiki/Zero-width_space and paste one of the lines containing a zero width space character. Alternatively there should be some of them here after : AntidisestablishmentarianismAntidisestablishmentarianismAntidisestablishmentarianism 3. eclipse should be complaining
Could you quickly attach a test file? That would make it easier to reproduce.
I cannot reproduce this in the Java editor using Juno M2. Please provide more detailed steps and an example file if you can reproduce in the Java editor.
OK, quickly also tried this on my Linux box and there the widget starts to behave ugly, but I could not trigger the AIOOB. If you have steps to reproduce those then please tell us and attach the stack trace here. I can also reproduce the strange behavior in the text editor: there e.g. pressing End does not reveal the caret.
Created attachment 204373 [details] Stack trace of AIOOBE Adding stack trace as requested.
*** This bug has been marked as a duplicate of bug 358970 ***