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 201607140002) VM: Java HotSpot(TM) 64-Bit Server VM, 25.92-b14, Java(TM) SE Runtime Environment, 1.8.0_92-b14 OS: Mac OS X User Comments: benp: Typing HTML brettryan: Actually, it was when I typed the =. GUEST: Adding the angular {{ }} in a .jade file GUEST: Was typing out the following knockout JS data bind: data-bind="html: data.area ? (data.area + 'm<sup>2</sup>') : 'Not specified'" Threw an exception as soon as I typed the opening <sup> tag. Had to close and reopen the file in order to continue. brettryan: Typing the "data-bind" attribute for knockoutjs. This actually occured at the moment I typed the last d. Stacktrace: java.lang.IndexOutOfBoundsException: index=-1 < 0 at org.netbeans.lib.lexer.JoinTokenList.tokenList(JoinTokenList.java:193) at org.netbeans.lib.lexer.JoinTokenList.fetchActiveTokenListData(JoinTokenList.java:247) at org.netbeans.lib.lexer.JoinTokenList.forceActiveTokenListIndex(JoinTokenList.java:233) at org.netbeans.lib.lexer.JoinTokenList.setActiveTokenListIndex(JoinTokenList.java:227) at org.netbeans.lib.lexer.inc.TokenListListUpdate.createJoinTokenListChange(TokenListListUpdate.java:284) at org.netbeans.lib.lexer.inc.TokenHierarchyUpdate$UpdateItem.update(TokenHierarchyUpdate.java:327)
Created attachment 161493 [details] stacktrace
Created attachment 162481 [details] stacktrace On typing { or [