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 - ConcurrentModificationException while using CC
Summary: ConcurrentModificationException while using CC
Status: VERIFIED DUPLICATE of bug 91037
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-21 16:24 UTC by Max Sauer
Modified: 2007-01-17 10:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
CME stack trace (1.56 KB, text/plain)
2006-12-21 16:24 UTC, Max Sauer
Details

Note You need to log in before you can comment on or make changes to this bug.
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.