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 88589

Summary: ConcurrentModificationException while using serach
Product: utilities Reporter: Max Sauer <msauer>
Component: SearchAssignee: issues@utilities <issues>
Status: VERIFIED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: exception stack trace

Description Max Sauer 2006-11-03 12:18:29 UTC
I got following ConcurrentModificationException while using search:

java.util.ConcurrentModificationException
        at java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1100)
        at java.util.TreeMap$KeyIterator.next(TreeMap.java:1152)
        at org.openide.nodes.Children$Dupl.updateList(Children.java:2207)
        at org.openide.nodes.Children$Keys.setKeys(Children.java:2000)
...
(whole stack trace attached)

More precisely, I used Search from context menu of opened Editor module, filled
in 'find-highlight-search' and pressed 'Search'. Sebsequent attemtps to
reproduce this failed.

---
NetBeans IDE Dev (Build 061103)
1.6.0-rc; Java HotSpot(TM) Server VM 1.6.0-rc-b103
Linux version 2.6.12-1.1390_FC4smp running on i386
en_US (nb); UTF-8
Comment 1 Max Sauer 2006-11-03 12:18:54 UTC
Created attachment 35758 [details]
exception stack trace
Comment 2 Petr Nejedly 2006-11-08 11:04:24 UTC
On dual-core, by a chance?
Comment 3 Max Sauer 2006-11-08 11:34:37 UTC
Yes. BTW, the SMP from this:

Linux version 2.6.12-1.1390_FC4smp running on i386

(from the post above) stadns for Symetric MultiProcessor, which means a
multi-CPU mashine.
Comment 4 Petr Nejedly 2006-11-08 12:27:21 UTC
Oh, sure, but the uname output only reveal that the kernel was compiled with SMP
capability, not necessarily that it is running on real SMP hardware.
Thanks.
Comment 5 Petr Nejedly 2006-11-29 11:12:46 UTC

*** This issue has been marked as a duplicate of 88749 ***
Comment 6 Max Sauer 2007-01-04 11:33:59 UTC
Verified duplicate.