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.

Bug 242409 - IllegalArgumentException at org.netbeans.modules.form.layoutsupport.griddesigner.GridBagManager.<init>
Summary: IllegalArgumentException at org.netbeans.modules.form.layoutsupport.griddesig...
Status: RESOLVED INCOMPLETE
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-27 10:59 UTC by jgawera
Modified: 2015-09-16 13:08 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 208009


Attachments
stacktrace (4.14 KB, text/plain)
2014-02-27 10:59 UTC, jgawera
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jgawera 2014-02-27 10:59:47 UTC
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)
Comment 1 jgawera 2014-02-27 10:59:49 UTC
Created attachment 145633 [details]
stacktrace
Comment 2 Tomas Pavek 2015-09-16 13:08:23 UTC
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