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 193880 - java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry
Summary: java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.n...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
: 193645 193863 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-12-28 13:36 UTC by Exceptions Reporter
Modified: 2011-01-06 09:09 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 175058


Attachments
stacktrace (5.19 KB, text/plain)
2010-12-28 13:36 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2010-12-28 13:36:26 UTC
This issue was reported manually by vv159170.
It already has 1 duplicates 


Build: NetBeans IDE Dev (Build 201012150001)
VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Windows XP

Stacktrace: 
java.util.ConcurrentModificationException
   at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
   at java.util.HashMap$EntryIterator.next(HashMap.java:834)
   at java.util.HashMap$EntryIterator.next(HashMap.java:832)
   at org.netbeans.modules.remote.impl.fs.RemoteDirectory.getDirectoryStorageImpl(RemoteDirectory.java:393)
   at org.netbeans.modules.remote.impl.fs.RemoteDirectory.getDirectoryStorage(RemoteDirectory.java:223)
   at org.netbeans.modules.remote.impl.fs.RemoteDirectory.getFileObject(RemoteDirectory.java:151)
Comment 1 Exceptions Reporter 2010-12-28 13:36:30 UTC
Created attachment 104563 [details]
stacktrace
Comment 2 Vladimir Voskresensky 2010-12-28 19:35:44 UTC
*** Bug 193863 has been marked as a duplicate of this bug. ***
Comment 3 Vladimir Kvashin 2010-12-29 12:09:59 UTC
I know the root cause. Will be fixed soon.
Comment 4 Vladimir Kvashin 2010-12-29 12:33:59 UTC
The stack and hg shows that exception occurs on the following line
(now it's RemoteDirectory.java:453)
for (Map.Entry<String, List<DirectoryStorage.Entry>> mapEntry : dupLowerNames.entrySet()) {
Comment 5 Vladimir Kvashin 2010-12-29 18:52:52 UTC
http://hg.netbeans.org/cnd-main/rev/e697db0028bb
Comment 6 Vladimir Voskresensky 2011-01-04 21:41:11 UTC
*** Bug 193645 has been marked as a duplicate of this bug. ***
Comment 7 Quality Engineering 2011-01-06 09:09:58 UTC
Integrated into 'main-golden', will be available in build *201101060001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/e697db0028bb
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fixed #193880 - ConcurrentModificationException