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 web-main-8936-on-20121022) VM: Java HotSpot(TM) Client VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_10-ea-b11 OS: Linux User Comments: GUEST: in html code, trying to open code completion box with cmd+space miibx5: executing the auto-complete vriha: invoking cc for values of class and id html attributes Stacktrace: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.AbstractStringBuilder.substring(AbstractStringBuilder.java:872) at java.lang.StringBuilder.substring(StringBuilder.java:72) at java.lang.AbstractStringBuilder.subSequence(AbstractStringBuilder.java:849) at java.lang.StringBuilder.subSequence(StringBuilder.java:72) at org.netbeans.modules.html.editor.completion.HtmlCompletionQuery.queryHtmlEndTagInEmbeddedCode(HtmlCompletionQuery.java:179) at org.netbeans.modules.html.editor.completion.HtmlCompletionQuery.access$200(HtmlCompletionQuery.java:96)
Created attachment 126332 [details] stacktrace
Created attachment 126333 [details] file where it happened
Created attachment 127000 [details] stacktrace invoked cc for ID attribute in HTML file
fixed in web-main#320a1f757e81
Integrated into 'main-golden', will be available in build *201211300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/320a1f757e81 User: Marek Fukala <mfukala@netbeans.org> Log: #220584 - StringIndexOutOfBoundsException: String index out of range: -1