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 202801 - java.util.ConcurrentModificationException: Caller uses obsolete token sequence which is no longer valid. Underlying token hierarchy has been modified: modCount=451 != upToDateModCount=452 Please repor
Summary: java.util.ConcurrentModificationException: Caller uses obsolete token sequenc...
Status: NEW
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: issues@third-party
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-29 00:47 UTC by eragroove
Modified: 2013-09-13 08:53 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 181472


Attachments
stacktrace (1.12 KB, text/plain)
2011-09-29 00:47 UTC, eragroove
Details

Note You need to log in before you can comment on or make changes to this bug.
Description eragroove 2011-09-29 00:47:23 UTC
This issue was reported manually by eragroove.
It already has 1 duplicates 


Build: NetBeans IDE 7.0.1 (Build 201107282000)
VM: Java HotSpot(TM) Client VM, 14.3-b01, Java(TM) SE Runtime Environment, 1.6.0_17-b04
OS: Windows Server 2008

Stacktrace: 
java.util.ConcurrentModificationException: Caller uses obsolete token sequence which is no longer valid. Underlying token hierarchy has been modified: modCount=451 != upToDateModCount=452
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 coffeescript.nb.CoffeeScriptHTMLParserTask.run(CoffeeScriptHTMLParserTask.java:46)
   at org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:615)
   at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:786)
   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
Comment 1 eragroove 2011-09-29 00:47:27 UTC
Created attachment 111293 [details]
stacktrace
Comment 2 Miloslav Metelka 2011-09-29 08:34:30 UTC
This is not a lexer module defect.
coffeescript.nb.CoffeeScriptHTMLParserTask.run(CoffeeScriptHTMLParserTask.java:46)
should ensure it has a read-locked document and the TokenSequence does not get reused over the read-lock invocations.