mramadoss
7 Jul 2008, 11:39 AM
We are in the process of converting from MyGWT 0.52 to GXT. We are using widgets from GWT, GXT, and a few other third party widgets. After compiling to 0 errors, when we execute the application, we encountered the following error:
[ERROR] Unable to load module entry point class com.mycompany.project.client.GxtTest (see associated exception for details)
com.google.gwt.core.client.JavaScriptException: (TypeError): 'children' is null or not an object
number: -2146823281
description: 'children' is null or not an object
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:443)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeInt(ModuleSpace.java:191)
at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeInt(JavaScriptHost.java:75)
at com.google.gwt.user.client.DOM.getChildIndex(DOM.java:731)
at com.extjs.gxt.ui.client.widget.Component.onAttach(Component.java:1170)
at com.extjs.gxt.ui.client.widget.button.Button.onAttach(Button.java:201)
at com.google.gwt.user.client.ui.Panel.doAttachChildren(Panel.java:165)
at com.google.gwt.user.client.ui.Widget.onAttach(Widget.java:111)
at com.google.gwt.user.client.ui.Panel.doAttachChildren(Panel.java:165)
at com.google.gwt.user.client.ui.Widget.onAttach(Widget.java:111)
After debugging I find that the GXT button in the panel is added to a buttonbar and then to my panel, I found the window working. When I add the (Gxt) button directly to my verticalpanel, i get the aforementioned error.
Am I forced to use to the ButtonBar whenever I use GXT Buttons? ( I didn't do this in MyGWT).
Thanks,
Mukund
[ERROR] Unable to load module entry point class com.mycompany.project.client.GxtTest (see associated exception for details)
com.google.gwt.core.client.JavaScriptException: (TypeError): 'children' is null or not an object
number: -2146823281
description: 'children' is null or not an object
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:443)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeInt(ModuleSpace.java:191)
at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeInt(JavaScriptHost.java:75)
at com.google.gwt.user.client.DOM.getChildIndex(DOM.java:731)
at com.extjs.gxt.ui.client.widget.Component.onAttach(Component.java:1170)
at com.extjs.gxt.ui.client.widget.button.Button.onAttach(Button.java:201)
at com.google.gwt.user.client.ui.Panel.doAttachChildren(Panel.java:165)
at com.google.gwt.user.client.ui.Widget.onAttach(Widget.java:111)
at com.google.gwt.user.client.ui.Panel.doAttachChildren(Panel.java:165)
at com.google.gwt.user.client.ui.Widget.onAttach(Widget.java:111)
After debugging I find that the GXT button in the panel is added to a buttonbar and then to my panel, I found the window working. When I add the (Gxt) button directly to my verticalpanel, i get the aforementioned error.
Am I forced to use to the ButtonBar whenever I use GXT Buttons? ( I didn't do this in MyGWT).
Thanks,
Mukund