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 202456 - java.util.ConcurrentModificationException: Caller uses obsolete token sequence which is no longer valid. Underlying token hierarchy has been modified: modCount=762 != upToDateModCount=763 Please repor
Summary: java.util.ConcurrentModificationException: Caller uses obsolete token sequenc...
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-21 20:37 UTC by maghiel
Modified: 2011-09-23 13:21 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 181232


Attachments
stacktrace (5.65 KB, text/plain)
2011-09-21 20:38 UTC, maghiel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description maghiel 2011-09-21 20:37:58 UTC
Build: NetBeans IDE Dev (Build 201109202329)
VM: Java HotSpot(TM) 64-Bit Server VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147
OS: Windows 7

User Comments:
larsomat: typing privae instead of private in class header




Stacktrace: 
java.util.ConcurrentModificationException: Caller uses obsolete token sequence which is no longer valid. Underlying token hierarchy has been modified: modCount=762 != upToDateModCount=763
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.php.editor.verification.UnusedVariableHint$VariablesHeap.getOffsetAfterBlockCurlyOpen(UnusedVariableHint.java:207)
   at org.netbeans.modules.php.editor.verification.UnusedVariableHint$VariablesHeap.resolveInScopeOffset(UnusedVariableHint.java:195)
   at org.netbeans.modules.php.editor.verification.UnusedVariableHint$VariablesHeap.addNodeUsage(UnusedVariableHint.java:184)
   at org.netbeans.modules.php.editor.verification.UnusedVariableHint$CheckVisitor.processNode(UnusedVariableHint.java:140)
Comment 1 maghiel 2011-09-21 20:38:02 UTC
Created attachment 110994 [details]
stacktrace
Comment 2 larsomat 2011-09-21 20:47:28 UTC
Correction:

OS: OSX Lion
Comment 3 Ondrej Brejla 2011-09-22 07:53:07 UTC
Please, provide me step by step instruction, how to reproduce it, because I'm not able to do that :/
Comment 4 Ondrej Brejla 2011-09-22 10:14:51 UTC
Fixed in web-main: http://hg.netbeans.org/web-main/rev/7d5ea278c047
Comment 5 Quality Engineering 2011-09-23 13:21:54 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/7d5ea278c047
User: Ondrej Brejla <obrejla@netbeans.org>
Log: #202456 - java.util.ConcurrentModificationException: Caller uses obsolete token sequence which is no longer valid. Underlying token hierarchy has been modified: modCount=762 != upToDateModCount=763 Please repor