Announcement

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

    issues with devconsole after attempted upgrade to 2.4

    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>

    #2
    Just noticed, if i put
    SC.say("hello");

    as the first line of the module, i get an exception right away... pointers would be great! Again, it works when deploying to tomcat.

    error:
    Error loading Nuba: com.google.gwt.core.client.JavaScriptException: (TypeError): isc.shallowClone is not a function
    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
    fileName: http://127.0.0.1:8888/nuba/sc/modules/ISC_Core.js
    stack: isc_c_Class_cloneDupPropertyValue("members",(void 0))@http://127.0.0.1:8888/nuba/sc/modules/ISC_Core.js:260
    lineNumber: 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
    stack: isc_c_Class_cloneDupPropertyValue("members",(void 0))@http://127.0.0.1:8888/nuba/sc/modules/ISC_Core.js:260
    isc_c_Class_create([object Object])@http://127.0.0.1:8888/nuba/sc/modules/ISC_Core.js:227
    ("hello","say",(void 0),(void 0))@http://127.0.0.1:8888/nuba/sc/modules/ISC_Containers.js:283
    ("hello")@http://127.0.0.1:8888/nuba/sc/modules/ISC_Containers.js:287
    ("hello")@http://127.0.0.1:8888:8
    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
    connect("http://127.0.0.1:8888/Nuba.html?gwt.codesvr=127.0.0.1:9997","c>qH\"61e.A+Ci|2=","127.0.0.1:9997","nuba","2.0")@:0
    isc_c_Class_create([object Object])@http://127.0.0.1:8888/nuba/sc/modules/ISC_Core.js:227
    ((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
    (-8)@http://127.0.0.1:8888/nuba/nuba.nocache.js:10

    ("hello","say",(void 0),(void 0))@http://127.0.0.1:8888/nuba/sc/modules/ISC_Containers.js:283
    ("hello")@http://127.0.0.1:8888/nuba/sc/modules/ISC_Containers.js:287
    ("hello")@http://127.0.0.1:8888:8
    connect("http://127.0.0.1:8888/Nuba.html?gwt.codesvr=127.0.0.1:9997","c>qH\"61e.A+Ci|2=","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
    (-8)@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:66)
    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:680)

    Comment


      #3
      Just installing updated .jars is not a correct upgrade procedure, and could lead to errors like this. The correct upgrade procedure is here.

      Right now you appear to be in a state where you've got mixed versions of files, either through browser caching or your IDE getting itself confused.

      Comment


        #4
        Hey thanks for the reply,

        yeah, i hear you. I kind of just assumed you could just repoint the jars, but apparently not.

        Is there any info you can give that would help me out while trying to rollback?

        The error "isc.shallowClone is not a function" is what i get. I removed the SC.say, but that same error message instead popped up somewhere else, on a
        userDS.fetchData(new Criteria("loggedIn", "true"), new DSCallback() {

        call, according to the new stacktrace:
        com.google.gwt.core.client.JavaScriptException: (TypeError): isc.shallowClone is not a function
        fileName: http://127.0.0.1:8888/nuba/sc/modules/ISC_DataBinding.js
        lineNumber: 620
        stack: isc_DataSource_sendDSRequest([object Object])@http://127.0.0.1:8888/nuba/sc/modules/ISC_DataBinding.js:620
        isc_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
        isc_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
        ([object GWTJavaObject],[object GWTJavaObject])@http://127.0.0.1:8888:416
        connect("http://127.0.0.1:8888/Nuba.html?gwt.codesvr=127.0.0.1:9997","^!W[v-~+k%%g9.\"b","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
        (33)@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.data.DataSource.fetchData(DataSource.java)
        at com.karpet.nuba.client.Nuba.createUserItemsLayout(Nuba.java:278)
        at com.karpet.nuba.client.Nuba.createNubaLayout(Nuba.java:256)
        at com.karpet.nuba.client.Nuba.onModuleLoad(Nuba.java:80)
        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:680)

        Comment


          #5
          managed to get it working again after clearing out some intellij cache-directories i had missed.

          Thanks for your attention. Will attempt a new migration to 2.4 soonish :)

          Comment


            #6
            Hello, took another attempt at upgrading to 2.4 and i get similar issues as last time, hope you have additional ideas as to what i can try or have missed.

            I did try to go through the sgwteesetup and find any changes, and in addition i re-copied stuff that might be an issue. (iscTaglib.xml etc.), and cleared out every cache on the computer.

            my inherits: (the only change here is SmartGwtTools -> Tools
            <inherits name='com.google.gwt.user.User'/>
            <inherits name="com.smartgwtpro.SmartGwtPro"/>
            <inherits name="com.smartgwtpro.tools.Tools"/>
            <inherits name="com.smartclient.theme.enterpriseblue.EnterpriseBlue"/>

            Only change to web.xml is that i added the HttpProxy servlet, since it seemed new...

            The final change, of course, is that i upgraded all jars i use, which are:
            <dependency>
            <groupId>com.smartclient.smartgwtpro</groupId>
            <artifactId>isomorphic-core-rpc</artifactId>
            <version>2.4</version>
            </dependency>
            <dependency>
            <groupId>com.smartclient.smartgwtpro</groupId>
            <artifactId>isomorphic-spring</artifactId>
            <version>2.4</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.4</version>
            </dependency>
            <dependency>
            <groupId>com.smartclient.smartgwtpro</groupId>
            <artifactId>isomorphic-spring</artifactId>
            <version>2.4</version>
            </dependency>
            <dependency>
            <groupId>com.smartclient.smartgwt</groupId>
            <artifactId>smartgwt</artifactId>
            <version>2.4</version>


            The error i get:
            com.google.gwt.core.client.JavaScriptException: (TypeError): this.$73w is not a function
            fileName: http://127.0.0.1:8888/nuba/sc/module...DataBinding.js
            lineNumber: 2242
            stack: isc_HTMLFlow_modifyContent()@http://127.0.0.1:8888/nuba/sc/modules/ISC_DataBinding.js:2242
            isc_Canvas__completeHTMLInit()@http://127.0.0.1:8888/nuba/sc/modules/ISC_Core.js:2089
            isc_Canvas_draw()@http://127.0.0.1:8888/nuba/sc/modules/ISC_Core.js:2014
            isc_c_Class_invokeSuper(null,"draw")@http://127.0.0.1:8888/nuba/sc/modules/ISC_Core.js:301
            isc_c_Class_Super("draw",[object Object])@http://127.0.0.1:8888/nuba/sc/modules/ISC_Core.js:293
            isc_HTMLFlow_draw()@http://127.0.0.1:8888/nuba/sc/modules/ISC_DataBinding.js:2217
            isc_c_Class_invokeSuper(null,"draw")@http://127.0.0.1:8888/nuba/sc/modules/ISC_Core.js:301
            isc_c_Class_Super("draw",[object Object])@http://127.0.0.1:8888/nuba/sc/modules/ISC_Core.js:293
            isc_HTMLFlow_draw()@http://127.0.0.1:8888/nuba/sc/modules/ISC_DataBinding.js:2217
            ()@http://127.0.0.1:8888:349
            isc_Layout_layoutChildren("initial draw")@http://127.0.0.1:8888/nuba/sc/modules/ISC_Foundation.js:458
            isc_Layout_drawChildren()@http://127.0.0.1:8888/nuba/sc/modules/ISC_Foundation.js:360
            isc_Canvas_draw()@http://127.0.0.1:8888/nuba/sc/modules/ISC_Core.js:2014
            ()@http://127.0.0.1:8888:349
            isc_Canvas_drawChildren()@http://127.0.0.1:8888/nuba/sc/modules/ISC_Core.js:2073
            isc_Canvas_draw()@http://127.0.0.1:8888/nuba/sc/modules/ISC_Core.js:2014
            ()@http://127.0.0.1:8888:349
            isc_Layout_layoutChildren("initial draw")@http://127.0.0.1:8888/nuba/sc/modules/ISC_Foundation.js:458
            isc_Layout_drawChildren()@http://127.0.0.1:8888/nuba/sc/modules/ISC_Foundation.js:360
            isc_Canvas_draw()@http://127.0.0.1:8888/nuba/sc/modules/ISC_Core.js:2014
            isc_Canvas_drawChildren()@http://127.0.0.1:8888/nuba/sc/modules/ISC_Core.js:2073
            isc_Canvas_draw((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:2014
            isc_c_Class_invokeSuper([object Object],"draw",(void 0),(void 0),(void 0),(void 0))@http://127.0.0.1:8888/nuba/sc/modules/ISC_Core.js:301
            isc_TabSet_draw()@http://127.0.0.1:8888/nuba/sc/modules/ISC_Containers.js:369
            ()@http://127.0.0.1:8888:349
            isc_Layout__drawNonMemberChildren()@http://127.0.0.1:8888/nuba/sc/modules/ISC_Foundation.js:369
            isc_Layout_drawChildren()@http://127.0.0.1:8888/nuba/sc/modules/ISC_Foundation.js:360
            isc_Canvas_draw()@http://127.0.0.1:8888/nuba/sc/modules/ISC_Core.js:2014
            ()@http://127.0.0.1:8888:349
            isc_Layout_layoutChildren("initial draw")@http://127.0.0.1:8888/nuba/sc/modules/ISC_Foundation.js:458
            isc_Layout_drawChildren()@http://127.0.0.1:8888/nuba/sc/modules/ISC_Foundation.js:360
            isc_Canvas_draw()@http://127.0.0.1:8888/nuba/sc/modules/ISC_Core.js:2014
            ()@http://127.0.0.1:8888:349
            isc_Layout_layoutChildren("initial draw")@http://127.0.0.1:8888/nuba/sc/modules/ISC_Foundation.js:458
            isc_Layout_drawChildren()@http://127.0.0.1:8888/nuba/sc/modules/ISC_Foundation.js:360
            isc_Canvas_draw()@http://127.0.0.1:8888/nuba/sc/modules/ISC_Core.js:2014
            ()@http://127.0.0.1:8888:349
            ()@http://127.0.0.1:8888:87
            connect("http://127.0.0.1:8888/Nuba.html?gwt.codesvr=127.0.0.1:9997","~@SX<o_)'t^aA'ab","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
            (20)@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.widgets.BaseWidget.draw(BaseWidget.java)
            at com.smartgwt.client.widgets.BaseWidget.getElement(BaseWidget.java:289)
            at com.smartgwt.client.widgets.BaseWidget.getElement(BaseWidget.java:261)
            at com.google.gwt.user.client.ui.ComplexPanel.add(ComplexPanel.java:90)
            at com.google.gwt.user.client.ui.AbsolutePanel.add(AbsolutePanel.java:75)
            at com.karpet.nuba.client.Nuba.onModuleLoad(Nuba.java:106)
            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:680)
            Last edited by mathias; 11 Jan 2011, 02:48.

            Comment


              #7
              You need this patch.

              Comment


                #8
                After more debugging, i think i have found the issue...

                If you add a HTMLFlow component to a layout, the page will throw the above mentioned exception. I use those in a couple of places and if i remove them it works. Not that easy to figure out given the exception text :)

                It's really easy to reproduce, i just added a HTMLFlow component to your "built-in-ds" example and got the same error.

                EDIT: sorry, saw your response. Great that i can fix it right away.

                Comment

                Working...
                X