This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
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 User Comments: budgie67: In javascript editor: after typeing . and selecting from helplist by pressing one key budgie67: In js editor when ctrl+space was pressed GUEST: I was writing code, clicked Ctrl+Space for autocompletion, and boom. I was editing ox.std.vardump() function, and writing its name inside it (recursive call). Sorry for my english ;) Good luck. GUEST: editing javascript file GUEST: javascript command completion GUEST: Writing a javascript function in a javascript library file (file.js) used in a php application. GUEST: using javascript code completion feature GUEST: in javascript editor i typed "this.c" so that the list of variables and methods would appear. it did, after i typed "this." but when i added the "c", i got this exception elcocolio: I was editing a Javascript module GUEST: Adding a new member variable into a JavaScript element in a .js file 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: the editor autocompleting a Javascript file (Iam working with Ext JS) GUEST: I was writing a name of a class identifier (this.variable) and the error occured on the moment that auto-complete was searching. Stacktrace: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.AbstractStringBuilder.setLength(AbstractStringBuilder.java:143) at java.lang.StringBuilder.setLength(StringBuilder.java:55) at org.netbeans.modules.javascript.editing.JsCommentFormatter.<init>(JsCommentFormatter.java:108) at org.netbeans.modules.javascript.editing.JsCodeCompletion.document(JsCodeCompletion.java:1980) at org.netbeans.modules.gsfret.editor.hyperlink.GoToSupport$1.run(GoToSupport.java:159) at org.netbeans.modules.gsfret.editor.hyperlink.GoToSupport$1.run(GoToSupport.java:129)
Created attachment 72475 [details] stacktrace
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).
Mark fixed
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.
v.
Transplanted to release65_fixes: http://hg.netbeans.org/release65_fixes/rev/f4f6bb4e5304