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 070815) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05 System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb) Description: ============ have JDA application 1. in view class move File menu together with exit action under Help menu 2. move File menu again in menu bar, exactly next to help menu = > NPE is thrown StackTrace: =========== java.lang.NullPointerException at org.netbeans.modules.form.FormDesigner.getComponent(FormDesigner.java:410) at org.netbeans.modules.form.menu.MenuEditLayer.isAncestor(MenuEditLayer.java:590) at org.netbeans.modules.form.menu.MenuEditLayer.moveRadComponentInto(MenuEditLayer.java:870) at org.netbeans.modules.form.menu.DragOperation.completeInterMenuDrag(DragOperation.java:343)
Created attachment 46655 [details] 112854
This is fixed now. I just committed a change fixes NPE when dragging toplevel menus.
verified on Product Version: NetBeans IDE Dev (Build 070817) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05 System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb)