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 235751 - java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry
Summary: java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.n...
Status: VERIFIED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-10 14:17 UTC by tomzi
Modified: 2013-11-22 15:29 UTC (History)
11 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 203601


Attachments
stacktrace (4.79 KB, text/plain)
2013-09-10 14:17 UTC, tomzi
Details
stacktrace (4.68 KB, text/plain)
2013-09-12 18:11 UTC, mhaungs
Details
stacktrace (4.61 KB, text/plain)
2013-10-03 13:45 UTC, Michel Graciano
Details
stacktrace (4.72 KB, text/plain)
2013-10-14 12:40 UTC, Tomas Mysik
Details
stacktrace (4.60 KB, text/plain)
2013-10-15 09:31 UTC, Tomas Mysik
Details
stacktrace (4.68 KB, text/plain)
2013-10-23 13:24 UTC, rodrigorsantos
Details
stacktrace (4.68 KB, text/plain)
2013-10-29 18:10 UTC, cwt137
Details
stacktrace (4.60 KB, text/plain)
2013-10-30 11:49 UTC, Tomas Mysik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tomzi 2013-09-10 14:17:44 UTC
Build: NetBeans IDE Dev (Build 201309100337)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b15
OS: Linux

User Comments:
phpguru: Create new PHP project with existing sources

GUEST: background scanning of projects

GUEST: started netbeans

phpguru: Open project, expanding open folders on project pane while background scanning is running

GUEST: nothing

tomzi: .




Stacktrace: 
java.util.ConcurrentModificationException
   at java.util.HashMap$HashIterator.nextEntry(HashMap.java:894)
   at java.util.HashMap$ValueIterator.next(HashMap.java:922)
   at org.netbeans.modules.javascript2.editor.model.impl.ModelVisitor.enter(ModelVisitor.java:709)
   at jdk.nashorn.internal.ir.FunctionNode.accept(FunctionNode.java:291)
   at org.netbeans.modules.javascript2.editor.model.impl.ModelVisitor.enter(ModelVisitor.java:755)
   at jdk.nashorn.internal.ir.FunctionNode.accept(FunctionNode.java:291)
Comment 1 tomzi 2013-09-10 14:17:48 UTC
Created attachment 139884 [details]
stacktrace
Comment 2 mhaungs 2013-09-12 18:11:58 UTC
Created attachment 140002 [details]
stacktrace

I had switched from one "Project Group" to another.  While it was background scanning the new "Project Group", I left my laptop.  When I came back, my laptop had gone into sleep mode.  When I woke it up, this exception was waiting for me.  The background scanning was complete too.
Comment 3 Exceptions Reporter 2013-09-23 14:06:22 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=203601
Comment 4 Michel Graciano 2013-10-03 13:45:56 UTC
Created attachment 140759 [details]
stacktrace

IDE is scanning several new JS files included in the project by a svn update.
Comment 5 Tomas Mysik 2013-10-14 12:40:13 UTC
Created attachment 141057 [details]
stacktrace

editing js file
Comment 6 Tomas Mysik 2013-10-15 09:31:15 UTC
Created attachment 141088 [details]
stacktrace

open some js files
Comment 7 rodrigorsantos 2013-10-23 13:24:07 UTC
Created attachment 141479 [details]
stacktrace

<Please provide a description of the problem or the steps to reproduce>
Comment 8 cwt137 2013-10-29 18:10:06 UTC
Created attachment 141655 [details]
stacktrace

I was importing a project and netbeans was foing a background scan and got this error.
Comment 9 Tomas Mysik 2013-10-30 11:49:28 UTC
Created attachment 141694 [details]
stacktrace

js file opened
Comment 10 Petr Pisl 2013-10-31 09:41:30 UTC
Fixed in web-main:
http://hg.netbeans.org/web-main/rev/5dbad5b4ef11
Comment 11 Vladimir Riha 2013-11-04 08:04:45 UTC
Cannot reproduce, verified

Product Version: NetBeans IDE Dev (Build 201311040001)
Java: 1.7.0_45; Java HotSpot(TM) Client VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
Comment 12 Petr Pisl 2013-11-12 15:17:32 UTC
The change is transplanted to the releases:
http://hg.netbeans.org/releases/rev/61e2fe228697
Comment 13 Vladimir Riha 2013-11-22 15:29:53 UTC
cannot reproduced in patched 7.4