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 227999 - NullPointerException at org.netbeans.modules.form.layoutsupport.griddesigner.GlassPane.setGridManager
Summary: NullPointerException at org.netbeans.modules.form.layoutsupport.griddesigner....
Status: RESOLVED WORKSFORME
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-27 13:36 UTC by js-java
Modified: 2013-08-14 16:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 199942


Attachments
stacktrace (4.10 KB, text/plain)
2013-03-27 13:36 UTC, js-java
Details

Note You need to log in before you can comment on or make changes to this bug.
Description js-java 2013-03-27 13:36:57 UTC
Build: NetBeans IDE 7.3 (Build 201302132200)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_15-b03
OS: Windows 7

User Comments:
js-java: Again open gridbag editor window




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.form.layoutsupport.griddesigner.GlassPane.setGridManager(GlassPane.java:265)
   at org.netbeans.modules.form.layoutsupport.griddesigner.GridDesigner.configureGridManager(GridDesigner.java:300)
   at org.netbeans.modules.form.layoutsupport.griddesigner.GridDesigner.setDesignedContainer(GridDesigner.java:253)
   at org.netbeans.modules.form.layoutsupport.delegates.GridBagLayoutSupport.getSupportCustomizer(GridBagLayoutSupport.java:121)
   at org.netbeans.modules.form.layoutsupport.LayoutSupportManager.getSupportCustomizer(LayoutSupportManager.java:509)
   at org.netbeans.modules.form.layoutsupport.LayoutNode.createCustomizer(LayoutNode.java:139)
Comment 1 js-java 2013-03-27 13:36:59 UTC
Created attachment 133134 [details]
stacktrace
Comment 2 Tomas Pavek 2013-08-14 16:36:49 UTC
The exception indicates that the container created for the GridBagLayout designer actually did not have GridBagLayout set. I have no idea how that could happen. Maybe some custom container with some container delegate magic? There's no preceding error in the log file (would expect e.g. some problem cloning the container for the grid designer). Please reopen if you can find steps to reproduce.