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 91428

Summary: ConcurrentModificationException while using CC
Product: java Reporter: Max Sauer <msauer>
Component: SourceAssignee: Jan Lahoda <jlahoda>
Status: VERIFIED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: CME stack trace

Description Max Sauer 2006-12-21 16:24:29 UTC
I gor following CME while editing code and used CC to supply a method. More
pricisely:

RTFrame.setVi|      //and used CC to supply setVisible()

I'm not able to reproduce this reliably.

java.util.ConcurrentModificationException: This token sequence is no longer
valid. Underlying token hierarchy has been modified: 433 != 434
	at org.netbeans.api.lexer.TokenSequence.checkModCount(TokenSequence.java:649)
	at org.netbeans.api.lexer.TokenSequence.tokenCount(TokenSequence.java:581)
	at org.netbeans.api.lexer.TokenSequence.moveLast(TokenSequence.java:568)
	at org.netbeans.api.java.source.TreeUtilities.pathFor(TreeUtilities.java:161)
...
(whole stack trace attached)

---
NetBeans IDE Dev (Build 061221)
1.6.0; Java HotSpot(TM) Server VM 1.6.0-b105
Linux version 2.6.12-1.1390_FC4smp running on i386
en_US (nb); UTF-8
Comment 1 Max Sauer 2006-12-21 16:24:53 UTC
Created attachment 36880 [details]
CME stack trace
Comment 2 Jan Lahoda 2007-01-11 08:12:44 UTC

*** This issue has been marked as a duplicate of 91037 ***
Comment 3 Max Sauer 2007-01-11 10:55:08 UTC
Verified duplicate.