Build: NetBeans IDE Dev (Build 200810171401)
VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05, Java(TM) SE Runtime Environment, 1.6.0_03-b05
OS: Windows XP, 5.1, x86
budgie67: In js editor when ctrl+space was pressed
GUEST: I was writing code, clicked Ctrl+Space for autocompletion, and boom. I was editing
function, and writing its name inside it (recursive call).
Sorry for my english ;) Good luck.
line at the beginning of a prototype function was initially this.layer = null;
I positioned the cursor at the beginning of the line and typed 'this.cur', then the exception appeared.
GUEST: I was writing a name of a class identifier (this.variable) and the error occured on the moment that auto-complete was searching.
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
Created attachment 72475 [details]
There are 45 duplicates, raising to P2!
Fixed in the trunk - changeset 1aa4af87da9b. Low risk fix, consider for patch 1 (or even FCS if there is still time, for that matter).
Please verify this issue so it can be included in NetBeans 6.5 Patch1
The issue didn't pass the nomination process by nomination cut-off date. It has been marked as 65fixes2-candidate.
The issue hasn't passed the nomination process for 65patch2 by cut-off date. It has been moved to 65patch3.
Transplanted to release65_fixes: http://hg.netbeans.org/release65_fixes/rev/f4f6bb4e5304