Hey,
was anxious to try and get 2.4 up and running, but have run into some issues that makes me not able to run in devconsole even though i've rolled back to 2.3...
Running intellij with gwt plugin, and maven. Environment's been working fine for months.
When 2.4 came out, installed the 4 jars i use as 2.4 in maven (), and changed my maven dependencies accordingly. The same code that had worked fine, both in tomcat and in devconsole now broke, i couldn't load the module and got a strange javascript-related exception that i unfortunately didn't save.
I have now rolled back all dependencies, done a clean install, cleared all caches. I'm now in a state where i can deploy and run the war in Tomcat, but the devconsole fails. I am hoping that someone could point me to what might be wrong, cause i've tried all i can think of.
The next thing would be to see why this didn't work in 2.4, but i'll save that for later :)
The actual trace of the error is a try-catch i have in the module:
} catch (Exception e) {
SC.say("Error loading Nuba: " + e.toString()); //line 110
Error message:
com.google.gwt.core.client.JavaScriptException: (TypeError): isc.shallowClone is not a function fileName: http://127.0.0.1:8888/nuba/sc/modules/ISC_Core.js lineNumber: 260 stack: isc_c_Class_cloneDupPropertyValue("members",(void 0))@http://127.0.0.1:8888/nuba/sc/modules/ISC_Core.js:260 isc_Class_completeCreation([object Object],(void 0),(void 0),(void 0),(void 0),(void 0),(void 0),(void 0),(void 0),(void 0),(void 0),(void 0),(void 0))@http://127.0.0.1:8888/nuba/sc/modules/ISC_Core.js:356 isc_c_Class_create([object Object])@http://127.0.0.1:8888/nuba/sc/modules/ISC_Core.js:227 ("Error loading Nuba: (TypeError): isc.shallowClone is not a function\n fileName: http://127.0.0.1:8888/nuba/sc/modules/ISC_DataBinding.js\n lineNumber: 620\n stack: isc_DataSource_sendDSRequest([object Object])@http://127.0.0.1:8888/nuba/sc/modules/ISC_DataBinding.js:620\nisc_DataSource_performDSOperation(\"fetch\",[object Object],(function () {return __gwt_makeJavaInvoke(3)(null, 27, jsFunction, this, arguments);}),(void 0))@http://127.0.0.1:8888/nuba/sc/modules/ISC_DataBinding.js:609\nisc_DataSource_fetchData([object Object],(function () {return __gwt_makeJavaInvoke(3)(null, 27, jsFunction, this, arguments);}))@http://127.0.0.1:8888/nuba/sc/modules/ISC_DataBinding.js:574\n([object GWTJavaObject],[object GWTJavaObject])@http://127.0.0.1:8888:134\nconnect(\"http://127.0.0.1:8888/Nuba.html?gwt.codesvr=127.0.0.1:9997\",\"CX1nZ,qt2K0wDgDq\",\"127.0.0.1:9997\",\"nuba\",\"2.0\")@:0\n((void 0),\"nuba\",\"http://127.0.0.1:8888/nuba/\")@http://127.0.0.1:8888/nuba/hosted.html?nuba:264\nz()@http://127.0.0.1:8888/nuba/nuba.nocache.js:2\n(38)@http://127.0.0.1:8888/nuba/nuba.nocache.js:10\n","say",(void 0),(void 0))@http://127.0.0.1:8888/nuba/sc/modules/ISC_Containers.js:283 ("Error loading Nuba: (TypeError): isc.shallowClone is not a function\n fileName: http://127.0.0.1:8888/nuba/sc/modules/ISC_DataBinding.js\n lineNumber: 620\n stack: isc_DataSource_sendDSRequest([object Object])@http://127.0.0.1:8888/nuba/sc/modules/ISC_DataBinding.js:620\nisc_DataSource_performDSOperation(\"fetch\",[object Object],(function () {return __gwt_makeJavaInvoke(3)(null, 27, jsFunction, this, arguments);}),(void 0))@http://127.0.0.1:8888/nuba/sc/modules/ISC_DataBinding.js:609\nisc_DataSource_fetchData([object Object],(function () {return __gwt_makeJavaInvoke(3)(null, 27, jsFunction, this, arguments);}))@http://127.0.0.1:8888/nuba/sc/modules/ISC_DataBinding.js:574\n([object GWTJavaObject],[object GWTJavaObject])@http://127.0.0.1:8888:134\nconnect(\"http://127.0.0.1:8888/Nuba.html?gwt.codesvr=127.0.0.1:9997\",\"CX1nZ,qt2K0wDgDq\",\"127.0.0.1:9997\",\"nuba\",\"2.0\")@:0\n((void 0),\"nuba\",\"http://127.0.0.1:8888/nuba/\")@http://127.0.0.1:8888/nuba/hosted.html?nuba:264\nz()@http://127.0.0.1:8888/nuba/nuba.nocache.js:2\n(38)@http://127.0.0.1:8888/nuba/nuba.nocache.js:10\n")@http://127.0.0.1:8888/nuba/sc/modules/ISC_Containers.js:287 ("Error loading Nuba: (TypeError): isc.shallowClone is not a function\n fileName: http://127.0.0.1:8888/nuba/sc/modules/ISC_DataBinding.js\n lineNumber: 620\n stack: isc_DataSource_sendDSRequest([object Object])@http://127.0.0.1:8888/nuba/sc/modules/ISC_DataBinding.js:620\nisc_DataSource_performDSOperation(\"fetch\",[object Object],(function () {return __gwt_makeJavaInvoke(3)(null, 27, jsFunction, this, arguments);}),(void 0))@http://127.0.0.1:8888/nuba/sc/modules/ISC_DataBinding.js:609\nisc_DataSource_fetchData([object Object],(function () {return __gwt_makeJavaInvoke(3)(null, 27, jsFunction, this, arguments);}))@http://127.0.0.1:8888/nuba/sc/modules/ISC_DataBinding.js:574\n([object GWTJavaObject],[object GWTJavaObject])@http://127.0.0.1:8888:134\nconnect(\"http://127.0.0.1:8888/Nuba.html?gwt.codesvr=127.0.0.1:9997\",\"CX1nZ,qt2K0wDgDq\",\"127.0.0.1:9997\",\"nuba\",\"2.0\")@:0\n((void 0),\"nuba\",\"http://127.0.0.1:8888/nuba/\")@http://127.0.0.1:8888/nuba/hosted.html?nuba:264\nz()@http://127.0.0.1:8888/nuba/nuba.nocache.js:2\n(38)@http://127.0.0.1:8888/nuba/nuba.nocache.js:10\n")@http://127.0.0.1:8888:105 connect("http://127.0.0.1:8888/Nuba.html?gwt.codesvr=127.0.0.1:9997","CX1nZ,qt2K0wDgDq","127.0.0.1:9997","nuba","2.0")@:0 ((void 0),"nuba","http://127.0.0.1:8888/nuba/")@http://127.0.0.1:8888/nuba/hosted.html?nuba:264 z()@http://127.0.0.1:8888/nuba/nuba.nocache.js:2 (38)@http://127.0.0.1:8888/nuba/nuba.nocache.js:10 at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:195) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:120) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:507) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:284) at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107) at com.smartgwt.client.util.SC.say(SC.java) at com.karpet.nuba.client.Nuba.onModuleLoad(Nuba.java:110) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
maven dependencies:
<dependency>
<groupId>com.smartclient.smartgwtpro</groupId>
<artifactId>isomorphic-core-rpc</artifactId>
<version>2.3</version>
</dependency>
<dependency>
<groupId>com.smartclient.smartgwtpro</groupId>
<artifactId>isomorphic-spring</artifactId>
<version>2.3</version>
</dependency>
<dependency>
<groupId>com.smartclient.smartgwtpro</groupId>
<artifactId>isc-jakarta-oro</artifactId>
<version>2.0.6</version>
</dependency>
<dependency>
<groupId>com.smartclient.smartgwtpro</groupId>
<artifactId>smartgwtpro</artifactId>
<version>2.3</version>
</dependency>
<dependency>
<groupId>com.smartclient.smartgwtpro</groupId>
<artifactId>isomorphic-spring</artifactId>
<version>2.3</version>
</dependency>
<dependency>
<groupId>com.smartclient.smartgwt</groupId>
<artifactId>smartgwt</artifactId>
<version>2.3</version>
<!--scope>provided</scope-->
</dependency>
was anxious to try and get 2.4 up and running, but have run into some issues that makes me not able to run in devconsole even though i've rolled back to 2.3...
Running intellij with gwt plugin, and maven. Environment's been working fine for months.
When 2.4 came out, installed the 4 jars i use as 2.4 in maven (), and changed my maven dependencies accordingly. The same code that had worked fine, both in tomcat and in devconsole now broke, i couldn't load the module and got a strange javascript-related exception that i unfortunately didn't save.
I have now rolled back all dependencies, done a clean install, cleared all caches. I'm now in a state where i can deploy and run the war in Tomcat, but the devconsole fails. I am hoping that someone could point me to what might be wrong, cause i've tried all i can think of.
The next thing would be to see why this didn't work in 2.4, but i'll save that for later :)
The actual trace of the error is a try-catch i have in the module:
} catch (Exception e) {
SC.say("Error loading Nuba: " + e.toString()); //line 110
Error message:
com.google.gwt.core.client.JavaScriptException: (TypeError): isc.shallowClone is not a function fileName: http://127.0.0.1:8888/nuba/sc/modules/ISC_Core.js lineNumber: 260 stack: isc_c_Class_cloneDupPropertyValue("members",(void 0))@http://127.0.0.1:8888/nuba/sc/modules/ISC_Core.js:260 isc_Class_completeCreation([object Object],(void 0),(void 0),(void 0),(void 0),(void 0),(void 0),(void 0),(void 0),(void 0),(void 0),(void 0),(void 0))@http://127.0.0.1:8888/nuba/sc/modules/ISC_Core.js:356 isc_c_Class_create([object Object])@http://127.0.0.1:8888/nuba/sc/modules/ISC_Core.js:227 ("Error loading Nuba: (TypeError): isc.shallowClone is not a function\n fileName: http://127.0.0.1:8888/nuba/sc/modules/ISC_DataBinding.js\n lineNumber: 620\n stack: isc_DataSource_sendDSRequest([object Object])@http://127.0.0.1:8888/nuba/sc/modules/ISC_DataBinding.js:620\nisc_DataSource_performDSOperation(\"fetch\",[object Object],(function () {return __gwt_makeJavaInvoke(3)(null, 27, jsFunction, this, arguments);}),(void 0))@http://127.0.0.1:8888/nuba/sc/modules/ISC_DataBinding.js:609\nisc_DataSource_fetchData([object Object],(function () {return __gwt_makeJavaInvoke(3)(null, 27, jsFunction, this, arguments);}))@http://127.0.0.1:8888/nuba/sc/modules/ISC_DataBinding.js:574\n([object GWTJavaObject],[object GWTJavaObject])@http://127.0.0.1:8888:134\nconnect(\"http://127.0.0.1:8888/Nuba.html?gwt.codesvr=127.0.0.1:9997\",\"CX1nZ,qt2K0wDgDq\",\"127.0.0.1:9997\",\"nuba\",\"2.0\")@:0\n((void 0),\"nuba\",\"http://127.0.0.1:8888/nuba/\")@http://127.0.0.1:8888/nuba/hosted.html?nuba:264\nz()@http://127.0.0.1:8888/nuba/nuba.nocache.js:2\n(38)@http://127.0.0.1:8888/nuba/nuba.nocache.js:10\n","say",(void 0),(void 0))@http://127.0.0.1:8888/nuba/sc/modules/ISC_Containers.js:283 ("Error loading Nuba: (TypeError): isc.shallowClone is not a function\n fileName: http://127.0.0.1:8888/nuba/sc/modules/ISC_DataBinding.js\n lineNumber: 620\n stack: isc_DataSource_sendDSRequest([object Object])@http://127.0.0.1:8888/nuba/sc/modules/ISC_DataBinding.js:620\nisc_DataSource_performDSOperation(\"fetch\",[object Object],(function () {return __gwt_makeJavaInvoke(3)(null, 27, jsFunction, this, arguments);}),(void 0))@http://127.0.0.1:8888/nuba/sc/modules/ISC_DataBinding.js:609\nisc_DataSource_fetchData([object Object],(function () {return __gwt_makeJavaInvoke(3)(null, 27, jsFunction, this, arguments);}))@http://127.0.0.1:8888/nuba/sc/modules/ISC_DataBinding.js:574\n([object GWTJavaObject],[object GWTJavaObject])@http://127.0.0.1:8888:134\nconnect(\"http://127.0.0.1:8888/Nuba.html?gwt.codesvr=127.0.0.1:9997\",\"CX1nZ,qt2K0wDgDq\",\"127.0.0.1:9997\",\"nuba\",\"2.0\")@:0\n((void 0),\"nuba\",\"http://127.0.0.1:8888/nuba/\")@http://127.0.0.1:8888/nuba/hosted.html?nuba:264\nz()@http://127.0.0.1:8888/nuba/nuba.nocache.js:2\n(38)@http://127.0.0.1:8888/nuba/nuba.nocache.js:10\n")@http://127.0.0.1:8888/nuba/sc/modules/ISC_Containers.js:287 ("Error loading Nuba: (TypeError): isc.shallowClone is not a function\n fileName: http://127.0.0.1:8888/nuba/sc/modules/ISC_DataBinding.js\n lineNumber: 620\n stack: isc_DataSource_sendDSRequest([object Object])@http://127.0.0.1:8888/nuba/sc/modules/ISC_DataBinding.js:620\nisc_DataSource_performDSOperation(\"fetch\",[object Object],(function () {return __gwt_makeJavaInvoke(3)(null, 27, jsFunction, this, arguments);}),(void 0))@http://127.0.0.1:8888/nuba/sc/modules/ISC_DataBinding.js:609\nisc_DataSource_fetchData([object Object],(function () {return __gwt_makeJavaInvoke(3)(null, 27, jsFunction, this, arguments);}))@http://127.0.0.1:8888/nuba/sc/modules/ISC_DataBinding.js:574\n([object GWTJavaObject],[object GWTJavaObject])@http://127.0.0.1:8888:134\nconnect(\"http://127.0.0.1:8888/Nuba.html?gwt.codesvr=127.0.0.1:9997\",\"CX1nZ,qt2K0wDgDq\",\"127.0.0.1:9997\",\"nuba\",\"2.0\")@:0\n((void 0),\"nuba\",\"http://127.0.0.1:8888/nuba/\")@http://127.0.0.1:8888/nuba/hosted.html?nuba:264\nz()@http://127.0.0.1:8888/nuba/nuba.nocache.js:2\n(38)@http://127.0.0.1:8888/nuba/nuba.nocache.js:10\n")@http://127.0.0.1:8888:105 connect("http://127.0.0.1:8888/Nuba.html?gwt.codesvr=127.0.0.1:9997","CX1nZ,qt2K0wDgDq","127.0.0.1:9997","nuba","2.0")@:0 ((void 0),"nuba","http://127.0.0.1:8888/nuba/")@http://127.0.0.1:8888/nuba/hosted.html?nuba:264 z()@http://127.0.0.1:8888/nuba/nuba.nocache.js:2 (38)@http://127.0.0.1:8888/nuba/nuba.nocache.js:10 at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:195) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:120) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:507) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:284) at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107) at com.smartgwt.client.util.SC.say(SC.java) at com.karpet.nuba.client.Nuba.onModuleLoad(Nuba.java:110) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
maven dependencies:
<dependency>
<groupId>com.smartclient.smartgwtpro</groupId>
<artifactId>isomorphic-core-rpc</artifactId>
<version>2.3</version>
</dependency>
<dependency>
<groupId>com.smartclient.smartgwtpro</groupId>
<artifactId>isomorphic-spring</artifactId>
<version>2.3</version>
</dependency>
<dependency>
<groupId>com.smartclient.smartgwtpro</groupId>
<artifactId>isc-jakarta-oro</artifactId>
<version>2.0.6</version>
</dependency>
<dependency>
<groupId>com.smartclient.smartgwtpro</groupId>
<artifactId>smartgwtpro</artifactId>
<version>2.3</version>
</dependency>
<dependency>
<groupId>com.smartclient.smartgwtpro</groupId>
<artifactId>isomorphic-spring</artifactId>
<version>2.3</version>
</dependency>
<dependency>
<groupId>com.smartclient.smartgwt</groupId>
<artifactId>smartgwt</artifactId>
<version>2.3</version>
<!--scope>provided</scope-->
</dependency>
Comment