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 249420 - java.util.ConcurrentModificationException at java.util.WeakHashMap$HashIterator.nextEntry
Summary: java.util.ConcurrentModificationException at java.util.WeakHashMap$HashIterat...
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Text (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-18 08:05 UTC by IrianR
Modified: 2015-08-05 02:47 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 203377


Attachments
stacktrace (579 bytes, text/plain)
2014-12-18 08:05 UTC, IrianR
Details
stacktrace (579 bytes, text/plain)
2015-07-03 10:52 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description IrianR 2014-12-18 08:05:44 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.55-b03, Java(TM) SE Runtime Environment, 1.7.0_55-b13
OS: Windows 7

User Comments:
GUEST: loading project and pulling from git

genkabuki: Editing C source files.  There was a lengthy file operation dialog before I noticed the exception icon in the tray.

IrianR: doing an hg revert.

peppertech: Not quite sure what caused this.  I was working in an HTML5 project and editing a CSS file.  It had referemces to some images in the css that I moved in the navigator and changed the url reference in the CSS file.  After closing the css editor window, this error was thrown

GUEST: opening a simple js file




Stacktrace: 
java.util.ConcurrentModificationException
   at java.util.WeakHashMap$HashIterator.nextEntry(WeakHashMap.java:882)
   at java.util.WeakHashMap$EntryIterator.next(WeakHashMap.java:921)
   at java.util.WeakHashMap$EntryIterator.next(WeakHashMap.java:919)
   at org.openide.text.DocumentOpenClose.updateLines(DocumentOpenClose.java:506)
   at org.openide.text.DocumentOpenClose$DocumentLoad.run(DocumentOpenClose.java:678)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
Comment 1 IrianR 2014-12-18 08:05:46 UTC
Created attachment 151168 [details]
stacktrace
Comment 2 Exceptions Reporter 2015-07-03 10:52:21 UTC
Created attachment 154473 [details]
stacktrace

I think I was from NetBeans deleting a project with delete source folder and quite at the same time deleting the file system folder of this project
Comment 3 civime 2015-08-05 02:47:48 UTC
Through our investigation, we found that the following changes may induced this bug: 

rank 	 revision	 suspicious value
1	a6b6e3cf36a4(http://hg.netbeans.org/main/rev/a6b6e3cf36a4)	0.9797870067530978
2	4fad7eb90bc3(http://hg.netbeans.org/main/rev/4fad7eb90bc3)	0.9161428520276232
3	128de1eb603d(http://hg.netbeans.org/main/rev/128de1eb603d)	0.8970777209045951
4	8870deb3cd89(http://hg.netbeans.org/main/rev/8870deb3cd89)	0.7142063175515811
5	5dba9a849542(http://hg.netbeans.org/main/rev/5dba9a849542)	0.6945613488835368
6	eb3284d7cede(http://hg.netbeans.org/main/rev/eb3284d7cede)	0.6842340463976331
7	65e2ecb7ed51(http://hg.netbeans.org/main/rev/65e2ecb7ed51)	0.5740045447006007
8	3a8956d1bfd7(http://hg.netbeans.org/main/rev/3a8956d1bfd7)	0.4690910679212205
9	a588201d9479(http://hg.netbeans.org/main/rev/a588201d9479)	0.41417042900832507
10	f1ada0839f06(http://hg.netbeans.org/main/rev/f1ada0839f06)	0.32523927477444187
11	c2d3d1b7cb10(http://hg.netbeans.org/main/rev/c2d3d1b7cb10)	0.3232411894339954
12	1a09ded920db(http://hg.netbeans.org/main/rev/1a09ded920db)	0.31143082233051894
13	eefe8ba954b4(http://hg.netbeans.org/main/rev/eefe8ba954b4)	0.2494234292729373
14	a5addb20f14b(http://hg.netbeans.org/main/rev/a5addb20f14b)	0.24853196216218815
15	b7d96523b509(http://hg.netbeans.org/main/rev/b7d96523b509)	0.22256624450628826

Hope it is useful for fixing this bug. If so, please help us conduct this short survey  https://docs.google.com/forms/d/1roQYX1dHezcB97KQ_iTKEtadaVbzK6FpU-6aGxeUo6M :) Thanks very much!