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.
Product Version: NetBeans IDE Dev (Build 200706272319) Java: 1.5.0_12; Java HotSpot(TM) Client VM 1.5.0_12-b04 System: Linux version 2.6.5-1.358 running on i386; UTF-8; en_US (nb) Userdir: /space/u3 NPE occurs when adding menu item to the menu. From that moment the same NPE is thrown when trying to add any component to the form, which block designing. Steps to reproduce (must be followed exactly): 1) create new JFrame 2) add JMenuBar 3) click on Menu Item in palette -> the component is selected(reproducible with all kinds of menu items) 4) hover over "File" in menu bar of the designed form -> java.lang.NullPointerException at org.netbeans.modules.form.menu.MenuEditLayer.configureMenu(MenuEditLayer.java:439) at org.netbeans.modules.form.menu.MenuEditLayer.openMenu(MenuEditLayer.java:257) at org.netbeans.modules.form.menu.DragOperation.move(DragOperation.java:205) 5) from this moment the NPE is thown whenever adding component to form 6) sometimes, when trying to recover from the error, the NPE starts to occur continuously
Created attachment 44504 [details] full stacktrace
This is fixed now. The popup factory will be properly initialized on demand, now.
verified
tested on NetBeans IDE 6.0 (Build 200711261600)