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.
Adding any component to a form, or right clicking its context menu is now producing the exception below. Marking this as blocking issue 39884 because I can't test fixes for that if I can't add components to a form... java.lang.NullPointerException at org.netbeans.modules.form.JavaCodeGenerator.gener ateListenerAddCode(JavaCodeGenerator.java:1429) at org.netbeans.modules.form.JavaCodeGenerator.gener ateComponentEvents(JavaCodeGenerator.java:1412) at org.netbeans.modules.form.JavaCodeGenerator.addIn itCode(JavaCodeGenerator.java:899) at org.netbeans.modules.form.JavaCodeGenerator.regen erateInitComponents(JavaCodeGenerator.java:734) at org.netbeans.modules.form.JavaCodeGenerator.acces s$900(JavaCodeGenerator.java:46) at org.netbeans.modules.form.JavaCodeGenerator$FormL istener.formChanged(JavaCodeGenerator.java:2546) at org.netbeans.modules.form.FormModel.fireEvents (FormModel.java:821) [catch] at org.netbeans.modules.form.FormModel$EventBroker.r un(FormModel.java:892) at java.awt.event.InvocationEvent.dispatch (InvocationEvent.java:201) at java.awt.EventQueue.dispatchEvent (EventQueue.java:461) at java.awt.EventDispatchThread.pumpOneEventForHiera rchy(EventDispatchThread.java:234) at java.awt.EventDispatchThread.pumpEventsForHierarc hy(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)
Note closing and reopening the form seems to fix the problem for a while.
Also, issue was found on JDK 1.5 b38
*** This issue has been marked as a duplicate of 35870 ***
Verified - duplicate.