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 201211020001) VM: Java HotSpot(TM) 64-Bit Server VM, 23.5-b02, Java(TM) SE Runtime Environment, 1.7.0_09-b05 OS: Windows 7 User Comments: ecerichter: Navigating options (Fonts & Colors, Syntax, All Languages), I was using the "down" key from my keyboard. When moved from "Separator" do "String", the error has hit. GUEST: == GUEST: I just appeared while I was changing fonts Stacktrace: java.lang.NullPointerException at javax.swing.JLabel.setIcon(JLabel.java:402) at org.openide.awt.ColorComboBoxRendererWrapper.getListCellRendererComponent(ColorComboBoxRendererWrapper.java:88) at com.sun.java.swing.plaf.windows.WindowsComboBoxUI.paintCurrentValue(WindowsComboBoxUI.java:286) at javax.swing.plaf.basic.BasicComboBoxUI.paint(BasicComboBoxUI.java:905) at com.sun.java.swing.plaf.windows.WindowsComboBoxUI.paint(WindowsComboBoxUI.java:217) at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
Created attachment 127051 [details] stacktrace
core-main 27fa4903b66e
Can you please provide in which night build I would be able to re-test? Thanks, Edson
(In reply to comment #3) > Can you please provide in which night build I would be able to re-test? > There will be a comment with download link from NB build system in this issue when the changeset is integrated.
Integrated into 'main-golden', will be available in build *201211070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/27fa4903b66e User: S. Aubrecht <saubrecht@netbeans.org> Log: #221396 - synchronization to prevent NPE
Created attachment 127334 [details] stacktrace Still same problem in 201211060001.
The patch added a NB freeze.
Created attachment 127339 [details] Deadlock java stack.
Rising priority because NetBeans is now unstable when using the Font&Colors options panel. It's almost impossible to select an option without getting the deadlock.
This is a bug in SyntaxColoringPanel where UI components are accessed in a background thread. If that is fixed then probably my original fix 27fa4903b66e is no longer needed.
http://hg.netbeans.org/jet-main/rev/f5509c200c0c Standa, you can revert your fix, if you want. This should be enough.
Integrated into 'main-golden', will be available in build *201211090001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/f5509c200c0c User: Milutin Kristofic <mkristofic@netbeans.org> Log: #221396 - NullPointerException at javax.swing.JLabel.setIcon