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 8.1 Beta (Build 201507302201) VM: Java HotSpot(TM) 64-Bit Server VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b18 OS: Windows 7 User Comments: IrianR: Was doing code folding tests and changing the folding defaults when i got this. I was fiddling with specific Java editor settings to reset them to default state, the went to the all languages setting to also reset them to default, the exception popped up when I pressed the Apply button. Stacktrace: java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextNode(HashMap.java:1429) at java.util.HashMap$ValueIterator.next(HashMap.java:1458) at org.netbeans.modules.editor.fold.ui.FoldOptionsController.detectIsChanged(FoldOptionsController.java:306) at org.netbeans.modules.editor.fold.ui.FoldOptionsController.preferenceChange(FoldOptionsController.java:215) at sun.reflect.GeneratedMethodAccessor48.invoke(GeneratedMethodAccessor48.java:0) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Created attachment 155122 [details] stacktrace
Fixed, proper synchronization needed as options are saved in a dedicated thread and nested pref events are fired in another (and UI works in yet another one). jet-main#2a6be940884f
Integrated into 'main-silver', will be available in build *201508050002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/2a6be940884f User: Svata Dedic <sdedic@netbeans.org> Log: #254071: synchronized access to panel preferences