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.

Bug 217374 - 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 ag
Summary: java.util.ConcurrentModificationException: Caller uses obsolete token sequenc...
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-24 14:00 UTC by Vladimir Riha
Modified: 2012-09-18 12:52 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 191697


Attachments
stacktrace (3.21 KB, text/plain)
2012-08-24 14:00 UTC, Vladimir Riha
Details
stacktrace (3.22 KB, text/plain)
2012-09-10 13:56 UTC, padraigdoran
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2012-08-24 14:00:02 UTC
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)
Comment 1 Vladimir Riha 2012-08-24 14:00:04 UTC
Created attachment 123542 [details]
stacktrace
Comment 2 Exceptions Reporter 2012-09-05 20:56:00 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=191697
Comment 3 padraigdoran 2012-09-10 13:56:11 UTC
Created attachment 124109 [details]
stacktrace

pasting in JS file
Comment 4 Petr Hejl 2012-09-18 12:52:22 UTC
Should be fixed as we use TS from snapshot now (1cb2864bba0e).