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 28047 - ConcurrentModificationException upon removing modules
Summary: ConcurrentModificationException upon removing modules
Status: VERIFIED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Lookup (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: David Strupl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-16 14:54 UTC by _ gtzabari
Modified: 2008-12-23 10:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ gtzabari 2002-10-16 14:54:35 UTC
dev build 200210150100

Upon removing modules:

Annotation: Exception occurred in Request Processor
java.util.ConcurrentModificationException
        at 
java.util.AbstractList$Itr.checkForComodification
(AbstractList.java:444)
        at java.util.AbstractList$Itr.next
(AbstractList.java:417)
        at 
org.openide.util.lookup.InheritanceTree.extractNode
(InheritanceTree.java:662)
        at 
org.openide.util.lookup.InheritanceTree.registerClass
(InheritanceTree.java:203)
        at org.openide.util.lookup.InheritanceTree.add
(InheritanceTree.java:120)
        at org.openide.util.lookup.AbstractLookup.setPairs
(AbstractLookup.java:193)
        at 
org.openide.util.lookup.AbstractLookup$Content.setPairs
(AbstractLookup.java:685)
        at org.openide.loaders.FolderLookup$ProxyLkp.update
(FolderLookup.java:283)
        at org.openide.loaders.FolderLookup.createInstance
(FolderLookup.java:162)
        at 
org.openide.loaders.FolderInstance.defaultProcessObjects
(FolderInstance.java:571)
        at org.openide.loaders.FolderInstance.access$100
(FolderInstance.java:45)
        at org.openide.loaders.FolderInstance$2.run
(FolderInstance.java:456)
        at 
org.openide.loaders.FolderLookup.postCreationTask
(FolderLookup.java:226)
        at 
org.openide.loaders.FolderInstance.processObjects
(FolderInstance.java:454)
        at 
org.openide.loaders.FolderInstance$Listener.finished
(FolderInstance.java:690)
        at org.openide.loaders.FolderList.createObjects
(FolderList.java:534)
        at org.openide.loaders.FolderList.getObjects
(FolderList.java:409)
        at org.openide.loaders.FolderList.access$200
(FolderList.java:42)
        at org.openide.loaders.FolderList$ListTask.run
(FolderList.java:754)
        at org.openide.util.Task.run(Task.java:136)
[catch] at org.openide.util.RequestProcessor$Processor.run
(RequestProcessor.java:599)
Comment 1 Marian Mirilovic 2002-10-23 15:58:00 UTC
Removing modules? Do you mean disbaling or removing jars from
<netbeanshome>/modules?

What do you exact did? Build number, JDK ...... .
Comment 2 pzajac 2002-10-23 17:18:09 UTC
Marian, description contains dev build 200210150100. This bug doesn't
seem like jdk dependend. 



Comment 3 _ gtzabari 2002-10-24 03:20:11 UTC
By "removing modules" I meant unloading them using OPTIONS | SETUP
Comment 4 pzajac 2002-11-25 15:41:58 UTC
It seems as problem in InheritanceTree.Node.chilren ArrayList of Nodes
but I don't see any synchronization problem. 
Comment 5 pzajac 2003-02-18 10:27:00 UTC
We cannot to reproduce this bug. There were many changes in
FolderLookup and AbstractLookup. Reopen it if the exception occured again.
Comment 6 Marian Mirilovic 2003-07-31 10:26:52 UTC
Without new informations for long time - verifying.