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 101963 - ConcurrentModificationException in ClassImpl
Summary: ConcurrentModificationException in ClassImpl
Status: CLOSED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-20 14:10 UTC by Vladimir Voskresensky
Modified: 2007-11-29 16:38 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 Vladimir Voskresensky 2007-04-20 14:10:25 UTC
java.util.ConcurrentModificationException
       at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
       at java.util.AbstractList$Itr.next(AbstractList.java:343)
       at
org.netbeans.modules.cnd.modelimpl.uid.UIDCsmConverter.UIDsToList(UIDCsmConverter.java:123)
       at
org.netbeans.modules.cnd.modelimpl.uid.UIDCsmConverter.UIDsToDeclarations(UIDCsmConverter.java:101)
       at
org.netbeans.modules.cnd.modelimpl.csm.ClassImpl.getMembers(ClassImpl.java:284)
       at
org.netbeans.modules.cnd.modelimpl.csm.FunctionDefinitionImpl.findDeclaration(FunctionDefinitionImpl.java:98)
       at
org.netbeans.modules.cnd.modelimpl.csm.FunctionDefinitionImpl.getDeclaration(FunctionDefinitionImpl.java:68)
       at
org.netbeans.modules.cnd.api.model.util.CsmBaseUtilities.getFunctionDeclaration(CsmBaseUtilities.java:68)
       at
org.netbeans.modules.cnd.api.model.util.CsmKindUtilities.isMethod(CsmKindUtilities.java:387)
       at
org.netbeans.modules.cnd.modelutil.CsmUtilities.getSignature(CsmUtilities.java:644)
       at org.netbeans.modules.cnd.qnavigator.ViewNode.oName(ViewNode.java:58)
       at org.netbeans.modules.cnd.qnavigator.ViewNode.<init>(ViewNode.java:73)
       at
org.netbeans.modules.cnd.qnavigator.NavigationView$NavigationModel.addNodes(NavigationView.java:604)
       at
org.netbeans.modules.cnd.qnavigator.NavigationView$NavigationModel.update(NavigationView.java:576)
       at
org.netbeans.modules.cnd.qnavigator.NavigationView$NavigationModel.getNodes(NavigationView.java:678)
       at
org.netbeans.modules.cnd.qnavigator.NavigationView$5$1.run(NavigationView.java:448)
       at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
       at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
[catch] at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
       at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
       at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
       at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
       at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
       at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Comment 1 Vladimir Voskresensky 2007-04-20 14:12:35 UTC
fixed
- added sync access to collection of members

cvs log:
Checking in ClassImpl.java;
/shared/data/ccvs/repository/cnd/modelimpl/src/org/netbeans/modules/cnd/modelimpl/csm/ClassImpl.java,v
 <--  ClassImpl.java
new revision: 1.2.2.4.4.26; previous revision: 1.2.2.4.4.25
done