Community
Participate
Working Groups
Using RC2. I got an Index Out Of Bounds exception while pasting text in java editor. I'll attach captures of initial text, error dialog and crazy text I got after the paste + stack trace logged in console... The text I pasted was: String encoding = "UTF-8".equals(vmEncoding) ? "Cp1252" : "UTF-8"; over initial one which was: String encoding = "UTF-8"; (see initial method code I captured and I'll attach to this bug...) After, I was not able to revert file although the file was considered as dirty (* in tab + question if I wanted to save when I closed it...). I cannot close the file either, nor the Java perspective... The only solution was to close/restart eclipse session...
Created attachment 12220 [details] Snapshots Before/After paste + Error dialog
Created attachment 12221 [details] Stack trace when error occured
*** This bug has been marked as a duplicate of 66763 ***