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.
Steps to reproduce: Open IDE Options dialog and click Cancel button. The NPE is thrown: java.lang.NullPointerException at org.netbeans.modules.ruby.hints.options.HintsPanel.cancel(HintsPanel.java:227) at org.netbeans.modules.ruby.hints.options.HintsOptionsPanelController.cancel(HintsOptionsPanelController.java:46) at org.netbeans.modules.options.advanced.Model$DelegatingController.cancel(Model.java:186) at org.netbeans.modules.options.advanced.Model.cancel(Model.java:107) at org.netbeans.modules.options.advanced.AdvancedPanel.cancel(AdvancedPanel.java:60) at org.netbeans.modules.options.advanced.AdvancedPanelController.cancel(AdvancedPanelController.java:46) at org.netbeans.modules.options.CategoryModel$Category.cancel(CategoryModel.java:361) at org.netbeans.modules.options.CategoryModel$Category.access$1100(CategoryModel.java:282) at org.netbeans.modules.options.CategoryModel.cancel(CategoryModel.java:193) at org.netbeans.modules.options.OptionsPanel.cancel(OptionsPanel.java:169) at org.netbeans.modules.options.OptionsDisplayerImpl$OptionsPanelListener.actionPerformed(OptionsDisplayerImpl.java:177) at org.netbeans.core.windows.services.NbPresenter$ButtonListener.actionPerformed(NbPresenter.java:1062) at javax.swing.JComponent$ActionStandin.actionPerformed(JComponent.java:3361) at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1636) at javax.swing.JComponent.processKeyBinding(JComponent.java:2844) at javax.swing.JComponent.processKeyBindings(JComponent.java:2890) at javax.swing.JComponent.processKeyEvent(JComponent.java:2807) at java.awt.Component.processEvent(Component.java:5815) at java.awt.Container.processEvent(Container.java:2058) at java.awt.Component.dispatchEventImpl(Component.java:4410) at java.awt.Container.dispatchEventImpl(Container.java:2116) at java.awt.Component.dispatchEvent(Component.java:4240) at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1848) at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:693) at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:958) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:830) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:657) at java.awt.Component.dispatchEventImpl(Component.java:4282) at java.awt.Container.dispatchEventImpl(Container.java:2116) at java.awt.Window.dispatchEventImpl(Window.java:2429) at java.awt.Component.dispatchEvent(Component.java:4240) [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
This should have been fixed a few days ago.... which build are you using?
Was reproduced in 200707171200 build. No more reproducible in 200707221200 build
Getting rid of 'ui' category. Will use right subcomponent and UI keyword. 'code' when none subcomponent fits.