HI guys,
i migrated smartgwt from an old smartgwt lgpl 2.4 Version to 6.0-p20170116. GWT is in Version 2.8
Now i have problems on application startup due Exceptions in addChild() or addMember() Calls.
....
ConsoleLogger.java:50 (-:-) 2017-01-16 14:52:36,876 [FATAL] Uncaught Exception:
ConsoleLogger.java:50 com.google.gwt.core.client.JavaScriptException: (ReferenceError) : getOrCreateRef_265_g$ is not defined
ConsoleLogger.java:50 at Unknown.createCanvasGetOrCreateRefMethodMap_0_g$(cms-0.js@625:111757)
ConsoleLogger.java:50 at Unknown.$clinit_ObjectFactory_0_g$(cms-0.js@43:111551)
ConsoleLogger.java:50 at Unknown.createCanvas_2_g$(cms-0.js@3:111735)
ConsoleLogger.java:50 at Unknown.getByJSObject_0_g$(cms-0.js@10:61419)
ConsoleLogger.java:50 at Unknown.createCanvas_0_g$(cms-0.js@22:166303)
ConsoleLogger.java:50 at Unknown.<anonymous>(cms-0.js@34:166546)
ConsoleLogger.java:50 at Unknown.apply_0_g$(cms-0.js@28:9946)
ConsoleLogger.java:50 at Unknown.entry0_0_g$(cms-0.js@16:10002)
ConsoleLogger.java:50 at Unknown.createCanvas(cms-0.js@14:9982)
ConsoleLogger.java:50 at Unknown.isc_c_Class_fireCallback()
ConsoleLogger.java:50 at Unknown.isc_Class_fireCallback()
ConsoleLogger.java:50 at Unknown.isc_CanvasItem__createCanvas()
ConsoleLogger.java:50 at Unknown.isc_CanvasItem_init()
ConsoleLogger.java:50 at Unknown.isc_Class_completeCreation()
ConsoleLogger.java:50 at Unknown.isc_DynamicForm_createItem()
ConsoleLogger.java:50 at Unknown.isc_DynamicForm__addItems)
ConsoleLogger.java:50 at Unknown.isc_DynamicForm__setItems()
ConsoleLogger.java:50 at Unknown.isc_DynamicForm_initWidget()
ConsoleLogger.java:50 at Unknown.isc_Canvas_init()
ConsoleLogger.java:50 at Unknown.isc_Class_completeCreation()
ConsoleLogger.java:50 at Unknown.isc_c_Class_create()
ConsoleLogger.java:50 at Unknown.create_165_g$(cms-0.js@48:153043)
ConsoleLogger.java:50 at Unknown.getOrCreateJsObj_1_g$(cms-0.js@23:62001)
ConsoleLogger.java:50 at Unknown.getOrCreateJsObj_3_g$(cms-0.js@61:152856)
ConsoleLogger.java:50 at Unknown.addMember_2_g$(cms-0.js@37:71275)
ConsoleLogger.java:50 at Unknown.addMember_0_g$(cms-0.js@10:71257)
......
or an equivalent Exception in addChild() wenn i use something like:
MyClass my = new MyClass();
MyClass() {
Window w = new Window();
ListGrid listgrid = new ListGrid();
w.addChild(listgrid);
}
In my previous Version everything worked fine, do i have to use addChild() / addMember() in a different Way in newer Versions?
Thanks a lot for your hints.
i migrated smartgwt from an old smartgwt lgpl 2.4 Version to 6.0-p20170116. GWT is in Version 2.8
Now i have problems on application startup due Exceptions in addChild() or addMember() Calls.
....
ConsoleLogger.java:50 (-:-) 2017-01-16 14:52:36,876 [FATAL] Uncaught Exception:
ConsoleLogger.java:50 com.google.gwt.core.client.JavaScriptException: (ReferenceError) : getOrCreateRef_265_g$ is not defined
ConsoleLogger.java:50 at Unknown.createCanvasGetOrCreateRefMethodMap_0_g$(cms-0.js@625:111757)
ConsoleLogger.java:50 at Unknown.$clinit_ObjectFactory_0_g$(cms-0.js@43:111551)
ConsoleLogger.java:50 at Unknown.createCanvas_2_g$(cms-0.js@3:111735)
ConsoleLogger.java:50 at Unknown.getByJSObject_0_g$(cms-0.js@10:61419)
ConsoleLogger.java:50 at Unknown.createCanvas_0_g$(cms-0.js@22:166303)
ConsoleLogger.java:50 at Unknown.<anonymous>(cms-0.js@34:166546)
ConsoleLogger.java:50 at Unknown.apply_0_g$(cms-0.js@28:9946)
ConsoleLogger.java:50 at Unknown.entry0_0_g$(cms-0.js@16:10002)
ConsoleLogger.java:50 at Unknown.createCanvas(cms-0.js@14:9982)
ConsoleLogger.java:50 at Unknown.isc_c_Class_fireCallback()
ConsoleLogger.java:50 at Unknown.isc_Class_fireCallback()
ConsoleLogger.java:50 at Unknown.isc_CanvasItem__createCanvas()
ConsoleLogger.java:50 at Unknown.isc_CanvasItem_init()
ConsoleLogger.java:50 at Unknown.isc_Class_completeCreation()
ConsoleLogger.java:50 at Unknown.isc_DynamicForm_createItem()
ConsoleLogger.java:50 at Unknown.isc_DynamicForm__addItems)
ConsoleLogger.java:50 at Unknown.isc_DynamicForm__setItems()
ConsoleLogger.java:50 at Unknown.isc_DynamicForm_initWidget()
ConsoleLogger.java:50 at Unknown.isc_Canvas_init()
ConsoleLogger.java:50 at Unknown.isc_Class_completeCreation()
ConsoleLogger.java:50 at Unknown.isc_c_Class_create()
ConsoleLogger.java:50 at Unknown.create_165_g$(cms-0.js@48:153043)
ConsoleLogger.java:50 at Unknown.getOrCreateJsObj_1_g$(cms-0.js@23:62001)
ConsoleLogger.java:50 at Unknown.getOrCreateJsObj_3_g$(cms-0.js@61:152856)
ConsoleLogger.java:50 at Unknown.addMember_2_g$(cms-0.js@37:71275)
ConsoleLogger.java:50 at Unknown.addMember_0_g$(cms-0.js@10:71257)
......
or an equivalent Exception in addChild() wenn i use something like:
MyClass my = new MyClass();
MyClass() {
Window w = new Window();
ListGrid listgrid = new ListGrid();
w.addChild(listgrid);
}
In my previous Version everything worked fine, do i have to use addChild() / addMember() in a different Way in newer Versions?
Thanks a lot for your hints.
Comment