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: - create java app project - add new package - add jframe form and jpanel form - select both files in project tree and d&d into new package - push refactor button > see the screenshot Product Version: NetBeans IDE 6.5 (Build 200811100001) Java: 1.6.0_10-rc2; Java HotSpot(TM) Client VM 11.0-b15 System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb) java.lang.NullPointerException at org.netbeans.modules.form.FormLAF.setUseDesignerDefaults(FormLAF.java:446) [catch] at org.netbeans.modules.form.ComponentLayer$DesignerPanel.paint(ComponentLayer.java:186) at javax.swing.JComponent.paintChildren(JComponent.java:864) at javax.swing.JComponent.paint(JComponent.java:1036) ....
Workaround: Close the jpanel file and open it again.
Created attachment 74218 [details] npe.jpg
Created attachment 74219 [details] exc.txt
Reproducible
*** This issue has been marked as a duplicate of 153953 ***