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.
After restarting ide, tryed to add code to a JMenuItem using property inspector and field Post-Creation Code I knew it couldn't be done whitout erros and closing form and IDE, but I had to try !
Created attachment 14650 [details] ide.log
I believe that all these errors I'm getting in Form Wizard corresponds to the IDE's use of memory. I changed the -J option in ide.cfg. From: -J-Xms24m -J-Xmx96m To: -J-Xms24m -J-Xmx384m And believe it or not, but this stunt reduced my error problems with 98%. This too goes for issue 42449 I'm almost out problems !! Regards Carsten F. Hansen
Reassigning to form module. java.lang.NullPointerException at org.netbeans.modules.form.JavaCodeGenerator.generateListenerAddCode(JavaCodeGenerator.java:1429)
By raising the available memory you reduce the possibility that the event set descriptors are freed from memory (held just weakly - that's the core of the bug. But better is to wait for jdk 1.5. beta2. *** This issue has been marked as a duplicate of 35870 ***
I'm holding my breath until the release of beta2 but I'm running out af air. Carsten
Verified - duplicate.