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 214333

Summary: java.util.ConcurrentModificationException at java.util.ArrayList$Itr.checkForComodification
Product: ide Reporter: everflux <everflux>
Component: Features On DemandAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED FIXED    
Severity: normal CC: alec.evans, asmotrich, lkishalmi
Priority: P4    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 188440
Attachments: stacktrace

Description everflux 2012-06-17 10:20:22 UTC
Build: NetBeans IDE 7.2 RC1 (Build 201206141830)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.1-b03, Java(TM) SE Runtime Environment, 1.7.0_05-b05
OS: Linux

User Comments:
alec.evans: opening netbeans 7.2 beta for the first time

lkishalmi: Start IDE wit importing previous version settings.

everflux: Fresh install of NB 7.2rc1, importing settings from NB 7.1.2 and opening projects, maximized window while projects import and module activation was in progress




Stacktrace: 
java.util.ConcurrentModificationException
   at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:819)
   at java.util.ArrayList$Itr.next(ArrayList.java:791)
   at org.netbeans.modules.ide.ergonomics.fod.FeatureManager.associateFiles(FeatureManager.java:328)
   at org.netbeans.modules.ide.ergonomics.fod.InstallOrActivateTask.run(InstallOrActivateTask.java:93)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1452)
   at org.openide.util.RequestProcessor$Processor.doEvaluate(RequestProcessor.java:2078)
Comment 1 everflux 2012-06-17 10:20:28 UTC
Created attachment 120954 [details]
stacktrace
Comment 2 Jaroslav Tulach 2012-06-20 14:17:16 UTC
ergonomics#24c1c5dd0d51
Comment 3 Quality Engineering 2012-06-28 04:55:02 UTC
Integrated into 'main-golden', will be available in build *201206280002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/24c1c5dd0d51
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #214333: java.util.ConcurrentModificationException at java.util.ArrayList$Itr.checkForComodification
Create a clone under a synchronized block to avoid concurrent access