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.
NetBeans IDE Dev (Build 200611291315) 1.5.0_06; Java HotSpot(TM) Client VM 1.5.0_06-b05 Windows XP version 5.1 running on x86 cs_CZ (nb); Cp1250 ----------------------------------------------------------------------- no exact steps to reproduce, just switched between editor tabs to a form one. java.lang.NullPointerException at org.netbeans.modules.form.FormDesigner.updateComponentLayer(FormDesigner.java:481) at org.netbeans.modules.form.FormDesigner.access$1900(FormDesigner.java:73) [catch] at org.netbeans.modules.form.FormDesigner$FormListener$2.run(FormDesigner.java:2092) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
I tried to reproduce it but no NPE occurred.
There were some problem with opening forms after the rewrite to new Java language infrastructure. Your problem looks quite similar, but I can't reproduce it now. It is likely fixed. If it happens again with some of the latest build, please reopen this issue. Thanks