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.
This bug was originally marked as duplicate of bug 220584, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 201608290002) VM: Java HotSpot(TM) Client VM, 25.65-b01, Java(TM) SE Runtime Environment, 1.8.0_65-b17 OS: Windows 7 User Comments: GUEST: An unexpected & unprovoked exception. i suspect it was provoked by the syntax highlighter. Stacktrace: java.lang.StringIndexOutOfBoundsException: String index out of range: 39 at java.lang.AbstractStringBuilder.substring(AbstractStringBuilder.java:906) at java.lang.StringBuilder.substring(StringBuilder.java:76) at java.lang.AbstractStringBuilder.subSequence(AbstractStringBuilder.java:885) at java.lang.StringBuilder.subSequence(StringBuilder.java:76) at org.netbeans.modules.html.editor.completion.HtmlCompletionQuery.queryHtmlEndTagInEmbeddedCode(HtmlCompletionQuery.java:178) at org.netbeans.modules.html.editor.completion.HtmlCompletionQuery.access$100(HtmlCompletionQuery.java:91)
Created attachment 161939 [details] stacktrace
it looks like a corrupted file. There are more errors like this in your messages.log: WARNING [org.netbeans.modules.versioning.util.Utils]: associateEncoding() no file object available for C:\Users\vivanov\AppData\Local\Temp\vcs-1473229430703\vcs-1473230761736\submission-anlysis-claim2.js WARNING [org.netbeans.modules.versioning.util.Utils]: associateEncoding() no file object available for C:\Users\vivanov\AppData\Local\Temp\vcs-1473229430703\vcs-1473230762153\submission-anlysis-claim2.js INFO [org.netbeans.modules.javascript2.editor.parser.SanitizingParser]: Exception during parsing java.lang.StringIndexOutOfBoundsException: String index out of range: 38 at java.lang.String.charAt(String.java:658) There was probably wrong encoding in a file, or it was corrupted. I am not fixing this without more information.