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 NetBeans-86-on-20130516) VM: Java HotSpot(TM) 64-Bit Server VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11 OS: Linux User Comments: GUEST: Added jquery and yui js libraries to JSF web project GUEST: closed an open editor window. It was a javascript file, as part of an HTML5 app. GUEST: In JSF web project installed yuu-min.js libarary Exception occurs on every open this file GUEST: Exception throws every time once yui-min.js library opened GUEST: <Please provide a description of the problem or the steps to reproduce>. GUEST: Just navigating around. tboudreau: Double clicked in explorer to open a file 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.Model.resolveLocalTypes(Model.java:193) at org.netbeans.modules.javascript2.editor.model.Model.resolveLocalTypes(Model.java:194) at org.netbeans.modules.javascript2.editor.model.Model.getModelVisitor(Model.java:140) at org.netbeans.modules.javascript2.editor.model.Model.getGlobalObject(Model.java:165)
Created attachment 134780 [details] stacktrace
This makes the IDE useless for editing Javascript the exception is rethrown every few keystrokes.
Created attachment 134846 [details] stacktrace Still happening in a build from today
Could you please try to download latest build? It seems similar to issue 229817 which was recently fixed. I tried to add and open yui-min.js and it works OK. Thanks Product Version: NetBeans IDE Dev (Build web-main-10615-on-20130527) Java: 1.7.0_21; Java HotSpot(TM) Client VM 23.21-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11 System: Linux version 3.2.0-43-generic-pae running on i386; UTF-8; en_US (nb)
Please, do you have a reproducible file? It will help me a lot. I don't wont to add blindly synchronization, where shouldn't be.
I don't know what file this happened on but if it happens again I'll attach the file.
Thanks Tim.
Seems that this issue is already fixed. The latest report is from the 16.th May build.