Hi to all,

if I try to add, in a LayoutContainer with ColumnLayout setted as layout a sub component i get a null pointer exception if I dont specify the ColumnData.

LayoutContainer lc=new LayoutContainer();
lc.setLayout(new ColumnLayout());
lc.add(new Button("test"));
RootPanel.get().add(lc);

[ERROR] Uncaught exception escaped
java.lang.NullPointerException: null
at com.extjs.gxt.ui.client.widget.layout.ColumnLayout.onLayout(ColumnLayout.java:90)
at com.extjs.gxt.ui.client.widget.Layout.layout(Layout.java:91)
at com.extjs.gxt.ui.client.widget.Container.doLayout(Container.java:348)
at com.extjs.gxt.ui.client.widget.Container.layout(Container.java:443)
at com.extjs.gxt.ui.client.widget.LayoutContainer.layout(LayoutContainer.java:238)
at com.extjs.gxt.ui.client.widget.Container.onAttach(Container.java:454)
at com.extjs.gxt.ui.client.widget.ComponentHelper.doAttach(ComponentHelper.java:24)
at com.extjs.gxt.ui.client.widget.Container.doLayout(Container.java:352)
at com.extjs.gxt.ui.client.widget.Container.layout(Container.java:443)
at com.extjs.gxt.ui.client.widget.LayoutContainer.layout(LayoutContainer.java:238)
at com.extjs.gxt.ui.client.widget.Container.onAttach(Container.java:454)
at com.google.gwt.user.client.ui.Widget.setParent(Widget.java:231)
at com.google.gwt.user.client.ui.Panel.adopt(Panel.java:119)
at com.google.gwt.user.client.ui.ComplexPanel.add(ComplexPanel.java:86)
at com.google.gwt.user.client.ui.AbsolutePanel.add(AbsolutePanel.java:80)

if (data.getWidth() > 1) in ColumnLayout:90 should take also care of null Column data

Thanks
Niccoló