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 7.2 (Build 201207171143) VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13 OS: Windows 8 Stacktrace: java.lang.NullPointerException at javax.swing.AbstractButton.removeNotify(AbstractButton.java:1033) at java.awt.Container.removeNotify(Container.java:2800) at javax.swing.JComponent.removeNotify(JComponent.java:4759) at java.awt.Container.removeNotify(Container.java:2800) at javax.swing.JComponent.removeNotify(JComponent.java:4759) at java.awt.Container.removeNotify(Container.java:2800)
Created attachment 150559 [details] stacktrace
Looks like the root cause is in the form designer: java.lang.NullPointerException at com.sun.java.swing.plaf.windows.WindowsIconFactory$RadioButtonIcon.paintIcon(WindowsIconFactory.java:443) at javax.swing.plaf.basic.BasicRadioButtonUI.paint(BasicRadioButtonUI.java:179) at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161) at javax.swing.JComponent.paintComponent(JComponent.java:778) at javax.swing.JComponent.paint(JComponent.java:1054) at javax.swing.JComponent.paintChildren(JComponent.java:887) at javax.swing.JComponent.paint(JComponent.java:1063) at javax.swing.JComponent.paintChildren(JComponent.java:887) at javax.swing.JComponent.paint(JComponent.java:1063) at javax.swing.JLayeredPane.paint(JLayeredPane.java:585) at javax.swing.JComponent.paintChildren(JComponent.java:887) at javax.swing.JComponent.paint(JComponent.java:1063) at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39) at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:78) at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:115) at java.awt.Container.paint(Container.java:1967) at org.netbeans.modules.form.fakepeer.FakePeerContainer.paint(FakePeerContainer.java:89)
Looks like if the designed GUI form contains a JRadioButton with a null model. Can you check it? There were several reports of this from older NetBeans releases. The null model on a button does not make sense, but could have been set by accident. If you have a GUI form on which the exception can be reproduced by opening in the designer, can you attach it here? Thanks.