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.
see log: http://techpubs.eng.sun.com/net/sqe-vwsi9/export/home/tester/performance_results/netbeans-5.5.1/04_18_07/1/.log [ideTestRunner] *********** Exception occurred ************ at 9:50 PM on Apr 18, 2007 [ideTestRunner] java.util.ConcurrentModificationException [ideTestRunner] at java.util.HashMap$HashIterator.nextEntry(HashMap.java:841) [ideTestRunner] at java.util.HashMap$EntryIterator.next(HashMap.java:883) [ideTestRunner] at java.util.HashMap$EntryIterator.next(HashMap.java:881) [ideTestRunner] at java.util.AbstractCollection.toArray(AbstractCollection.java:126) [ideTestRunner] at java.util.ArrayList.addAll(ArrayList.java:473) [ideTestRunner] at org.netbeans.modules.cnd.classview.HostKeyArray.resetKeys(HostKeyArray.java:83) [ideTestRunner] at org.netbeans.modules.cnd.classview.HostKeyArray.onPprojectParsingFinished(HostKeyArray.java:432) [ideTestRunner] at org.netbeans.modules.cnd.classview.NamespaceKeyArray.projectParsingFinished(NamespaceKeyArray.java:245) [ideTestRunner] at org.netbeans.modules.cnd.modelimpl.csm.core.ParserQueue.fireProjectParsingFinished(ParserQueue.java:574) [ideTestRunner] at org.netbeans.modules.cnd.modelimpl.csm.core.ParserQueue.onFileParsingFinished(ParserQueue.java:622) [ideTestRunner] at org.netbeans.modules.cnd.modelimpl.csm.core.ParserThread.run(ParserThread.java:73) [ideTestRunner] at org.netbeans.modules.cnd.modelimpl.csm.core.ParserThreadManager$Wrapper.run(ParserThreadManager.java:60) [ideTestRunner] at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499) [ideTestRunner] [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
The exception occurs frequently in automatic performance testing (black-box testing). Judging by the stack, this exception leads to parser thread termination.
fixed: - model part make sure that parser cannot stop by exception in onFileParsingFinished() method (it is a fix up). - class view part synchronizes access to updating of node model. Synchronized: model updating query, event onPprojectParsingFinished and expand event (method addNotify()). CVS log: Checking in ParserThread.java; /shared/data/ccvs/repository/cnd/modelimpl/src/org/netbeans/modules/cnd/modelimpl/csm/core/ParserThread.java,v <-- ParserThread.java new revision: 1.2.2.7.4.10; previous revision: 1.2.2.7.4.9 done Checking in ChildrenUpdater.java; /shared/data/ccvs/repository/cnd/classview/src/org/netbeans/modules/cnd/classview/ChildrenUpdater.java,v <-- ChildrenUpdater.java new revision: 1.1.2.9; previous revision: 1.1.2.8 done Checking in ClassViewUpdater.java; /shared/data/ccvs/repository/cnd/classview/src/org/netbeans/modules/cnd/classview/ClassViewUpdater.java,v <-- ClassViewUpdater.java new revision: 1.2.2.1.8.11; previous revision: 1.2.2.1.8.10 done Checking in HostKeyArray.java; /shared/data/ccvs/repository/cnd/classview/src/org/netbeans/modules/cnd/classview/HostKeyArray.java,v <-- HostKeyArray.java new revision: 1.1.2.9; previous revision: 1.1.2.8 done