PDA

View Full Version : TreeGrid fireEvent UmbrellaException



zlog
21 Nov 2011, 4:07 PM
I'm getting this exception after I'm adding a number of child nodes for a parent node. I've seen this to happen here



at com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:129)
at com.sencha.gxt.data.shared.Store.fireEvent(Store.java:545)
at com.sencha.gxt.data.shared.TreeStore.insert(TreeStore.java:901)
at com.sencha.gxt.data.shared.TreeStore.add(TreeStore.java:330)


caused by




Caused by: com.google.gwt.core.client.JavaScriptException: (NOT_FOUND_ERR): NOT_FOUND_ERR: DOM Exception 8
at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:248)
at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269)
at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
at com.google.gwt.dom.client.Node$.insertBefore$(Node.java)
at com.sencha.gxt.theme.base.client.tree.TreeBaseAppearance.onJointChange(TreeBaseAppearance.java:180)
at com.sencha.gxt.widget.core.client.treegrid.TreeGridView.onJointChange(TreeGridView.java:182)
at com.sencha.gxt.widget.core.client.treegrid.TreeGrid.refresh(TreeGrid.java:392)
at com.sencha.gxt.widget.core.client.treegrid.TreeGrid.onAdd(TreeGrid.java:689)
at com.sencha.gxt.widget.core.client.treegrid.TreeGrid$1.onAdd(TreeGrid.java:96)
at com.sencha.gxt.data.shared.event.StoreAddEvent.dispatch(StoreAddEvent.java:65)
at com.sencha.gxt.data.shared.event.StoreAddEvent.dispatch(StoreAddEvent.java:1)
at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:1)
at com.google.web.bindery.event.shared.EventBus.dispatchEvent(EventBus.java:40)
at com.google.web.bindery.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:193)
at com.google.web.bindery.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:88)
at com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:127)
at com.sencha.gxt.data.shared.Store.fireEvent(Store.java:545)
at com.sencha.gxt.data.shared.TreeStore.insert(TreeStore.java:901)
at com.sencha.gxt.data.shared.TreeStore.add(TreeStore.java:330)


does somebody else tested this or seen this? tnx

DarekKay
22 Nov 2011, 1:53 AM
You should post your code causing this exception.

Colin Alworth
22 Nov 2011, 8:33 AM
That doesn't help - some of the samples are built like that, but don't produce this error. Actual running code will allow us to either find the issue, or point you in the right direction to fix your code.

zlog
23 Nov 2011, 6:05 AM
Hi Colin,

I already found the reason for that exception. I constructed my tree node class in a not proper way.

Now those errors are gone, but I'm thinking why in a treeGrid I can't sort ascendent or descendent my tree grid columns. I also see that in DP5 examples sort operation is doing nothing also.

Also RowNumberer is not working well for TreeGrids.

Tnx !

Ootmann
16 Aug 2016, 5:27 AM
Could you explain how you fixed it? Looks like I have a quite similar problem...