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.
Build: NetBeans IDE Dev (Build 100525-9004d7bb1730) VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02 OS: SunOS Stacktrace: java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793) at java.util.HashMap$KeyIterator.next(HashMap.java:828) at org.netbeans.modules.cnd.modelimpl.impl.services.TypeHierarchyResolverImpl.getSubTypes2(TypeHierarchyResolverImpl.java:140) at org.netbeans.modules.cnd.modelimpl.impl.services.TypeHierarchyResolverImpl.getSubTypes2(TypeHierarchyResolverImpl.java:124) at org.netbeans.modules.cnd.modelimpl.impl.services.TypeHierarchyResolverImpl.getSubTypes(TypeHierarchyResolverImpl.java:91) at org.netbeans.modules.cnd.api.model.services.CsmVirtualInfoQuery$Empty.getOverriddenMethods(CsmVirtualInfoQuery.java:241)
Created attachment 99448 [details] stacktrace
fixed, change set: http://hg.netbeans.org/cnd-main/rev/0cb857c0840c
Integrated into 'main-golden', will be available in build *201005260001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/0cb857c0840c User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed BZ#186683 java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry
-- use concurrent map, because it has concurrent read/write access by clients http://hg.netbeans.org/cnd-main?cmd=changeset;node=324d9d6b1972
Integrated into 'main-golden', will be available in build *201005270001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/324d9d6b1972 User: Vladimir Voskresensky <vv159170@netbeans.org> Log: add fix for #186683: java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry -- use concurrent map, because it has concurrent read/write access by clients
Please verify bugfix for this bug, so it can be included in release691 repository. Thanks, -R
fixed in release691: 0cb857c0840c transplanted to cfdd11e7c61e 324d9d6b1972 manually converted to c45e53e251d9
Please mark bugs VERIFIED-FIXED before transplanting to release691. Please verify this bugfix asap. Thanks, -R
please provide test scenario
Exception is random. To reproduce bug you should take a project with large class inheritance tree. For example ACE+TAO. Open file with base (ACE_wrappers/TAO/tao/Object.h for ACE+TAO) class. While overridden method are computed try select some identifiers in file or/and try hyperlink on some virtual methods. Some times you will have an exception.
mark as verified despite it's very difficult to verify
verified in 6.9.1