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 nbms-and-javadoc-4950-on-100308) VM: Java HotSpot(TM) Server VM, 16.0-b13, Java(TM) SE Runtime Environment, 1.6.0_18-b07 OS: Windows XP Stacktrace: java.lang.NullPointerException at org.netbeans.modules.form.FormDesigner$7.run(FormDesigner.java:1815) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:131) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
Created attachment 94889 [details] stacktrace
The problematic code is in EventQueue.invokeLater(). So, it seems to be some race-condition, i.e., some information is cleared before the code is executed. The corresponding code also is not a "mission-critical" one. Hence, I made a guess what is null and added a workaround for this case => fixed, hopefully. Modified file: http://hg.netbeans.org/cdev/rev/2d406e37c0a7