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 EaselCSS-556-on-20120824) VM: Java HotSpot(TM) Client VM, 23.2-b09, Java(TM) SE Runtime Environment, 1.7.0_06-b24 OS: Linux User Comments: vriha: editing js file Stacktrace: java.util.ConcurrentModificationException: Caller uses obsolete token sequence which is no longer valid. Underlying token hierarchy has been modified: modCount=5 != upToDateModCount=6 Please report against caller's module which needs to be fixed (not the lexer module). at org.netbeans.api.lexer.TokenSequence.checkModCount(TokenSequence.java:748) at org.netbeans.api.lexer.TokenSequence.moveNext(TokenSequence.java:454) at org.netbeans.modules.javascript2.editor.hints.JsConventionRule$ConventionVisitor.checkDuplicateLabels(JsConventionRule.java:233) at org.netbeans.modules.javascript2.editor.hints.JsConventionRule$ConventionVisitor.visit(JsConventionRule.java:336) at com.oracle.nashorn.ir.ObjectNode.accept(ObjectNode.java:81) at com.oracle.nashorn.ir.CallNode.accept(CallNode.java:212)
Created attachment 123542 [details] stacktrace
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=191697
Created attachment 124109 [details] stacktrace pasting in JS file
Should be fixed as we use TS from snapshot now (1cb2864bba0e).