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 8766 - ConcurrentModificationException when uninstalling a module.
Summary: ConcurrentModificationException when uninstalling a module.
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
: 8811 (view as bug list)
Depends on:
Blocks:
 
Reported: 2000-12-05 11:06 UTC by Svata Dedic
Modified: 2008-12-22 19:31 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide.log from the IDE session (4.34 KB, text/plain)
2001-07-20 20:30 UTC, Svata Dedic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Svata Dedic 2000-12-05 11:06:06 UTC
Dev-21 build:
I tried to disable java module; my IDE was cut down to the bare functionality so
only appisupport needed to be disabled too. Please see attached ide.log

java.util.ConcurrentModificationException
        at java.util.HashMap$HashIterator.next(HashMap.java:736)
        at
org.openide.loaders.DataObjectPool.createSetOfAllFiles(DataObjectPool.java:273)
        at
org.openide.loaders.DataObjectPool.removeInvalidObjects(DataObjectPool.java:288)
        at
org.openide.loaders.DataObjectPool.fileSystemRemoved(DataObjectPool.java:307)
        at
org.openide.filesystems.Repository.fireFileSystem(Repository.java:431)
        at
org.openide.filesystems.Repository.removeFileSystem(Repository.java:185)
        at
org.netbeans.modules.apisupport.APIModule.uninstalled(APIModule.java:186)
[catch] at org.netbeans.core.ModuleItem.uninstallCode(ModuleItem.java:480)
        at
org.netbeans.core.ModuleInstaller.doRemoveModule(ModuleInstaller.java:853)
        at
org.netbeans.core.ModuleInstaller.changeEnabled(ModuleInstaller.java:686)
        at org.netbeans.core.ModuleItem.setEnabled(ModuleItem.java:206)
        at org.netbeans.core.ModuleNode$Update.run(ModuleNode.java:760)
        at org.openide.util.Task.run(Task.java:124)
        at
org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcessor.java:562)
Comment 1 Svata Dedic 2000-12-05 11:07:59 UTC
Created attachment 370 [details]
ide.log from the IDE session
Comment 2 Jaroslav Tulach 2001-02-02 10:15:59 UTC
Should be fixed, all code that is accessing DataObjectPool.map seems to be
synchronized.
Comment 3 Martin Ryzl 2001-02-09 11:32:59 UTC
Occured again in Pilsen build 010205_2. It happens randomly, usually when I
install/uninstall module for testing.

Fri Feb 09 12:26:46 GMT+01:00 2001java.util.ConcurrentModificationException:
null
Annotation: Exception occurred in Request Processor
org.openide.util.RequestProcessor$Holder(task
org.openide.loaders.DataLoaderPool$1@266800 [-3219, 1])
        at
org.openide.util.RequestProcessor$Task.createHolder(RequestProcessor.java:275)
        at org.openide.util.RequestProcessor.post(RequestProcessor.java:99)
        at org.openide.util.RequestProcessor.post(RequestProcessor.java:72)
        at
org.openide.util.RequestProcessor.postRequest(RequestProcessor.java:158)
        at
org.openide.loaders.DataLoaderPool.fireChangeEvent(DataLoaderPool.java:131)
        at
org.netbeans.core.LoaderPoolNode$NbLoaderPool.run(LoaderPoolNode.java:624)
        at org.openide.util.Task.run(Task.java:124)
[catch] at
org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcessor.java:562)

Fri Feb 09 12:26:46 GMT+01:00 2001java.util.ConcurrentModificationException:
null
java.util.ConcurrentModificationException
        at java.util.HashMap$HashIterator.next(HashMap.java:736)
        at
org.openide.loaders.DataObjectPool.createSetOfAllFiles(DataObjectPool.java:288)
        at
org.openide.loaders.DataObjectPool.stateChanged(DataObjectPool.java:274)
        at org.openide.loaders.DataLoaderPool$1.run(DataLoaderPool.java:133)
        at org.openide.util.Task.run(Task.java:124)
[catch] at
org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcessor.java:562)
Comment 4 Jaroslav Tulach 2001-02-25 10:41:54 UTC
*** Issue 8811 has been marked as a duplicate of this issue. ***
Comment 5 Jaroslav Tulach 2001-02-25 12:10:33 UTC
x
Comment 6 Quality Engineering 2003-07-01 15:52:20 UTC
Resolved for 3.4.x or earlier, no new info since then -> verified
Comment 7 Quality Engineering 2003-07-01 16:11:45 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.