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 7.4 (Build 201310111528) VM: Java HotSpot(TM) Client VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13 OS: Windows 7 User Comments: jgawera: Added a buton to a form then went to "Customise layout" Stacktrace: java.lang.IllegalArgumentException at org.netbeans.modules.form.layoutsupport.griddesigner.GridBagManager.<init>(GridBagManager.java:104) at org.netbeans.modules.form.layoutsupport.griddesigner.GridDesigner.configureGridManager(GridDesigner.java:332) at org.netbeans.modules.form.layoutsupport.griddesigner.GridDesigner.setDesignedContainer(GridDesigner.java:267) at org.netbeans.modules.form.layoutsupport.delegates.GridBagLayoutSupport.getSupportCustomizer(GridBagLayoutSupport.java:121) at org.netbeans.modules.form.layoutsupport.LayoutSupportManager.getSupportCustomizer(LayoutSupportManager.java:521) at org.netbeans.modules.form.layoutsupport.LayoutNode.createCustomizer(LayoutNode.java:139)
Created attachment 145633 [details] stacktrace
Can you provide more information about the form where the exception happened? Ideally, can you attach it here? The exception means that there was no GridBagLayout on given container - but then it should not be possible to invoke the Customize Layout action. There is likely something special with your form. We need to debug the case to find out what is happening there. Thanks