hi there,
I have a sample project that I am trying to convert o smartgwt-ee (2.4) version. the sample works fine with the LGPL version.
After following the instructions online - changing *.gwt.xml and adding the smartgwtee.jar file, the project can no longer start.
it throws an exception the first time I use the vLayout.addMember() function. and the exception is:
I would appreciate any help in this. thanks!
I have a sample project that I am trying to convert o smartgwt-ee (2.4) version. the sample works fine with the LGPL version.
After following the instructions online - changing *.gwt.xml and adding the smartgwtee.jar file, the project can no longer start.
it throws an exception the first time I use the vLayout.addMember() function. and the exception is:
Code:
onModuleLoad() threw an exception Exception while loading module com.wilson.gui.client.welcome. See Development Mode for details. java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:396) at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:183) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:510) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352) at java.lang.Thread.run(Thread.java:662) Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError): Cannot read property 'initWidget' of undefined arguments: initWidget, type: non_object_property_load stack: TypeError: Cannot read property 'initWidget' of undefined at Object.isc_Button_initWidget [as initWidget] (http://127.0.0.1:8888/com.wilson.gui.welcome/sc/modules/ISC_Foundation.js:593:53) at Object.isc_Canvas_init [as init] (http://127.0.0.1:8888/com.wilson.gui.welcome/sc/modules/ISC_Core.js:1967:6) at Object.isc_Class_completeCreation [as completeCreation] (http://127.0.0.1:8888/com.wilson.gui.welcome/sc/modules/ISC_Core.js:362:6) at Object.isc_c_Class_create (http://127.0.0.1:8888/com.wilson.gui.welcome/sc/modules/ISC_Core.js:232:736) at [object Object]. (unknown source) at __gwt_jsInvoke (http://127.0.0.1:8888/com.wilson.gui.welcome/hosted.html?com_wilson_gui_welcome:76:35) at http://127.0.0.1:8888/com.wilson.gui.welcome/hosted.html?com_wilson_gui_welcome:280:16 at B (http://127.0.0.1:8888/com.wilson.gui.welcome/com.wilson.gui.welcome.nocache.js:2:154) at http://127.0.0.1:8888/com.wilson.gui.welcome/com.wilson.gui.welcome.nocache.js:14:510 __gwt_ObjectId: 3 at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:237) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:129) 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.smartgwt.client.widgets.Label.create(Label.java) at com.smartgwt.client.widgets.BaseWidget.getOrCreateJsObj(BaseWidget.java:357) at com.smartgwt.client.widgets.layout.Layout.addMember(Layout.java:1086) at com.wilson.gui.client.welcome.onModuleLoad(welcome.java:40) ... 9 more
Comment