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 201305262300) VM: Java HotSpot(TM) 64-Bit Server VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11 OS: Windows 7 User Comments: markiewb: Pressed "apply" several times when within keymap options GUEST: Closing the options window GUEST: Tools->options->Fonts & Color -> Java -> Comment(Monaco) GUEST: ?????????? ???????? Stacktrace: java.lang.NullPointerException at org.netbeans.editor.BaseKit$KeybindingsAndPreferencesTracker.refreshShortcutsAndActions(BaseKit.java:3191) at org.netbeans.editor.BaseKit$KeybindingsAndPreferencesTracker.resultChanged(BaseKit.java:3148) at sun.reflect.GeneratedMethodAccessor38.invoke(GeneratedMethodAccessor38.java:0) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:458)
Created attachment 134982 [details] stacktrace
Aha, it COULD be so that some stale entries expire between size() and toArray() calls on the WeakSet, although extremely unlikely.
Fixed in http://hg.netbeans.org/jet-main/rev/a1122477ed83
Integrated into 'main-golden', will be available in build *201305292301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/a1122477ed83 User: Svata Dedic <sdedic@netbeans.org> Log: #230349: check for nulls from GCed JComponents