Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    SmartGWT 2.1/2.2, GWT 2.0.3 hosted mode exception on linux

    Hello,

    I am using SmartGwt 2.1 or 2.2 with gwt 2.0.3 and I'm running the project in hosted mode (using Jetty as server). When I try to start the project, I get the following:

    00:02:56.873 [ERROR] Unable to load module entry point class org.codeandmagic.affected.gwt.client.Affected (see associated exception for details)
    com.google.gwt.core.client.JavaScriptException: (TypeError): _1.charAt is not a function fileName: http://127.0.0.1:8080/affected/affected/sc/modules/ISC_Core.js lineNumber: 379 stack: ([object Array])@http://127.0.0.1:8080/affected/affected/sc/modules/ISC_Core.js:379 ([object Array],null,null,[object Object],(void 0))@http://127.0.0.1:8080/affected/affected/sc/modules/ISC_Core.js:372 ([object Array],[object Object])@http://127.0.0.1:8080/affected/affected/sc/modules/ISC_Core.js:369 ()@http://127.0.0.1:8080/affected/affected/sc/modules/ISC_Containers.js:69 ()@http://127.0.0.1:8080/affected/affected/sc/modules/ISC_Containers.js:62 ()@http://127.0.0.1:8080/affected/affected/sc/modules/ISC_Containers.js:64 ()@http://127.0.0.1:8080:199 ()@http://127.0.0.1:8080:252 @:0 ()@http://127.0.0.1:8080/affected/affected/hosted.html?affected:57 ()@http://127.0.0.1:8080/affected/dojo-release-1.4.2/dojo/dojo.js:16 ()@http://127.0.0.1:8080/affected/dojo-release-1.4.2/dojo/dojo.js:16 ((function () {var result = __static(dispId, this);if (result[0]) {throw result[1];} else {return result[1];}}))@http://127.0.0.1:8080/affected/dojo-release-1.4.2/dojo/dojo.js:16 ()@http://127.0.0.1:8080:2 connect("http://127.0.0.1:8080/affected/Affected.html?gwt.codesvr=127.0.0.1:9997","i3c#uaWEWU#c\"EiS","127.0.0.1:9997","affected","2.0")@:0 ((void 0),"affected","http://127.0.0.1:8080/affected/affected/")@http://127.0.0.1:8080/affected/affected/hosted.html?affected:264 z()@http://127.0.0.1:8080/affected/affected/affected.nocache.js:2 (8)@http://127.0.0.1:8080/affected/affected/affected.nocache.js:8 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 org.codeandmagic.affected.gwt.client.Affected.subscribeLoad(Affected.java) at org.codeandmagic.affected.gwt.client.Affected.onModuleLoad(Affected.java:20) 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:369) at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:185) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:380) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:222) at java.lang.Thread.run(Thread.java:619)


    I've tried to inherit com.smartgwt.SmartGwtNoScript and include the scripts directly in the html file, like in the showcase sample. Unfortunately, I get the same result. To mention that if I run the project from within Eclipse plugin (no server), it works without this exception. But somehow, in hosted mode, it crashes.

    Any suggestions that might help me actually use SmartGwt with hosted mode? I'm on Ubuntu 10.04.

    Thanks,
    Evelina

    #2
    Hello,

    This thing prevents me from using SmartGwt. Anyone has anything to say about this issue? Has this happened to anybody else? Please, someone from the stuff, maybe give a hint.

    Thanks,
    Evelina

    Comment

    Working...
    X