I am creating a treeGrid in a window as a picker component of a textItem.
I am getting this error messages:
I am NEVER setting the IDs, so all of them are automatically set by smartGwt. I tried to look at the developer console, to see why there is a isc_ResultTree_1 component , but I don't see any . (hidden/undrawn/generated activated). Only after the collision.
My logs until the collision:
Edit: I solved the problem by explicitely destroy()ing the tree when closing the window. But shouldn't automatic managing of IDs be collision-free?
Using v9.1p_2014-09-25/PowerEdition Deployment (built 2014-09-25).
I am getting this error messages:
Code:
20:57:20.734 [ERROR] [zedes2V010214] 20:57:20.746:MUP6:WARN:Log:Specified ID: isc_ResultTree_1 collides with the ID for an existing SmartGWT component or object. The existing object will be destroyed and the ID bound to the new object. com.smartgwt.client.core.JsObject$SGWT_WARN: 20:57:20.746:MUP6:WARN:Log:Specified ID: isc_ResultTree_1 collides with the ID for an existing SmartGWT component or object. The existing object will be destroyed and the ID bound to the new object. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:105) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:338) at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:219) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:576) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:304) at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107) at com.smartgwt.client.util.SC.logWarn(SC.java) at com.smartgwt.client.util.IDManager.validateID(IDManager.java:75) at com.smartgwt.client.util.IDManager.registerID(IDManager.java:124) at com.smartgwt.client.core.BaseClass.registerID(BaseClass.java:77) at com.smartgwt.client.core.BaseClass.internalSetID(BaseClass.java:92) at com.smartgwt.client.widgets.tree.Tree.setJavaScriptObject(Tree.java:99) at com.smartgwt.client.widgets.tree.ResultTree.<init>(ResultTree.java:97) at com.smartgwt.client.widgets.tree.ResultTree.getOrCreateRef(ResultTree.java:86) at com.smartgwt.client.widgets.tree.TreeGrid.getData(TreeGrid.java:2750) at de.mks_infofabrik.zedes2.client.ui.widgets.boxes.EinrichtungenBox.isLeafSelected(EinrichtungenBox.java:316) at de.mks_infofabrik.zedes2.client.ui.widgets.boxes.EinrichtungenBox.onClick(EinrichtungenBox.java:459) at de.mks_infofabrik.zedes2.client.ui.widgets.boxes.EinrichtungenBox.onEinrichtungenClick(EinrichtungenBox.java:370) at de.mks_infofabrik.zedes2.client.ui.widgets.boxes.EinrichtungenBox$4.onCellDoubleClick(EinrichtungenBox.java:362) at com.smartgwt.client.widgets.grid.events.CellDoubleClickEvent.dispatch(CellDoubleClickEvent.java:111) at com.smartgwt.client.widgets.grid.events.CellDoubleClickEvent.dispatch(CellDoubleClickEvent.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.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:129) at sun.reflect.GeneratedMethodAccessor87.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:338) at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:219) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:576) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:284) at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91) at com.google.gwt.core.client.impl.Impl.apply(Impl.java) at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:356) at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:293) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:547) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364) at java.lang.Thread.run(Thread.java:745)
My logs until the collision:
Code:
22:55:50.893:DEBUG:ResultTree:isc_ResultTree_0 (created by: isc_EinrichtungenTreeGrid_0):parent id: [root] (type: [root]) has childDS: einrichtungTreeNodes, relationship: {childDS: [DataSource ID:einrichtungTreeNodes], parentDS: [DataSource ID:einrichtungTreeNodes], isFolderProperty: undef, parentIdField: "Parent", idField: "KnotenId", rootValue: "/"} 22:58:06.858:MUP6:DEBUG:ResultTree:isc_ResultTree_1 (created by: isc_EinrichtungenTreeGrid_1):parent id: [root] (type: [root]) has childDS: einrichtungTreeNodes, relationship: {childDS: [DataSource ID:einrichtungTreeNodes], parentDS: [DataSource ID:einrichtungTreeNodes], isFolderProperty: undef, parentIdField: "Parent", idField: "KnotenId", rootValue: "/"} 22:58:29.653:MUP4:DEBUG:ResultTree:isc_ResultTree_1 (created by: isc_EinrichtungenTreeGrid_1):parent id: [root] (type: [root]) has childDS: einrichtungTreeNodes, relationship: {childDS: [DataSource ID:einrichtungTreeNodes], parentDS: [DataSource ID:einrichtungTreeNodes], isFolderProperty: undef, parentIdField: "Parent", idField: "KnotenId", rootValue: "/"} 22:58:58.602:MUP9:DEBUG:ResultTree:isc_ResultTree_1 (created by: isc_EinrichtungenTreeGrid_1):parent id: [root] (type: [root]) has childDS: einrichtungTreeNodes, relationship: {childDS: [DataSource ID:einrichtungTreeNodes], parentDS: [DataSource ID:einrichtungTreeNodes], isFolderProperty: undef, parentIdField: "Parent", idField: "KnotenId", rootValue: "/"} 22:59:22.834:MUP2:DEBUG:ResultTree:isc_ResultTree_1 (created by: isc_EinrichtungenTreeGrid_1):parent id: [root] (type: [root]) has childDS: einrichtungTreeNodes, relationship: {childDS: [DataSource ID:einrichtungTreeNodes], parentDS: [DataSource ID:einrichtungTreeNodes], isFolderProperty: undef, parentIdField: "Parent", idField: "KnotenId", rootValue: "/"} 22:59:30.429:MUP1:WARN:Log:Specified ID: isc_ResultTree_1 collides with the ID for an existing SmartGWT component or object. The existing object will be destroyed and the ID bound to the new object. 22:59:31.729:MUP2:DEBUG:ResultTree:isc_ResultTree_1 (created by: isc_EinrichtungenTreeGrid_1):parent id: [root] (type: [root]) has childDS: einrichtungTreeNodes, relationship: {childDS: [DataSource ID:einrichtungTreeNodes], parentDS: [DataSource ID:einrichtungTreeNodes], isFolderProperty: undef, parentIdField: "Parent", idField: "KnotenId", rootValue: "/"}
Using v9.1p_2014-09-25/PowerEdition Deployment (built 2014-09-25).
Comment