Announcement

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

    Error in applySparseAndNoNullUpdates

    Just trying out the latest nightly and I'm getting an error that I wasn't getting with the previous nightly (Sept 28).
    Code:
    14:19:51.262 [ERROR] [ipgui] Uncaught exception escaped
    com.google.gwt.core.client.JavaScriptException: (TypeError): _7 is undefined
     fileName: http://127.0.0.1:8888/ipgui/sc/modules/ISC_DataBinding.js?isc_version=7.0.js
     lineNumber: 627
     stack: isc_DataSource__applySparseAndNoNullUpdates([object Object],[object Object],"add",[object Object])@http://127.0.0.1:8888/ipgui/sc/modules/ISC_DataBinding.js?isc_version=7.0.js:627
    isc_DataSource_sendDSRequest([object Object])@http://127.0.0.1:8888/ipgui/sc/modules/ISC_DataBinding.js?isc_version=7.0.js:614
    isc_DataSource_performDSOperation("add",[object Object],[object Object],[object Object])@http://127.0.0.1:8888/ipgui/sc/modules/ISC_DataBinding.js?isc_version=7.0.js:604
    ([object Object],[object Object],(void 0),[object Object])@http://127.0.0.1:8888/ipgui/sc/modules/ISC_DataBinding.js?isc_version=7.0.js:1547
    ("isc_ValuesManager_3.$49z(dsRequest, dsResponse, data)",[object Object])@http://127.0.0.1:8888/ipgui/sc/modules/ISC_DataBinding.js?isc_version=7.0.js:1527
    ([object GWTJavaObject],[object GWTJavaObject])@http://127.0.0.1:8888:10
    @:0
    ([object GWTJavaObject],852124,[object GWTJavaObject])@http://127.0.0.1:8888/ipgui/hosted.html?ipgui:56
    ([object Object],(void 0))@http://127.0.0.1:8888:1365
    ((function () {var param = {};var event = __gwt_makeJavaInvoke(1)(null, 3407911, param);__gwt_makeJavaInvoke(1)(selfJ, 852124, event);var ret = __gwt_makeJavaInvoke(0)(event, 1114113);return !ret;}),[object Object],[object Object])@http://127.0.0.1:8888:39
    @:0
    (null,27,(function () {var param = {};var event = __gwt_makeJavaInvoke(1)(null, 3407911, param);__gwt_makeJavaInvoke(1)(selfJ, 852124, event);var ret = __gwt_makeJavaInvoke(0)(event, 1114113);return !ret;}),[object Object],[object Object])@http://127.0.0.1:8888/ipgui/hosted.html?ipgui:56
    ([object Object],(void 0))@http://127.0.0.1:8888:27
    ([object Object],(void 0))@http://127.0.0.1:8888:13
    isc_StatefulCanvas_handleActivate([object Object],(void 0))@http://127.0.0.1:8888/ipgui/sc/modules/ISC_Foundation.js?isc_version=7.0.js:321
    isc_StatefulCanvas_handleClick([object Object],(void 0))@http://127.0.0.1:8888/ipgui/sc/modules/ISC_Foundation.js?isc_version=7.0.js:323
    isc_c_EventHandler_bubbleEvent([object Object],"click")@http://127.0.0.1:8888/ipgui/sc/modules/ISC_Core.js?isc_version=7.0.js:1547
    isc_c_EventHandler_handleClick([object Object])@http://127.0.0.1:8888/ipgui/sc/modules/ISC_Core.js?isc_version=7.0.js:1398
    isc_c_EventHandler__handleMouseUp([object MouseEvent],(void 0))@http://127.0.0.1:8888/ipgui/sc/modules/ISC_Core.js?isc_version=7.0.js:1385
    isc_c_EventHandler_handleMouseUp([object MouseEvent])@http://127.0.0.1:8888/ipgui/sc/modules/ISC_Core.js?isc_version=7.0.js:1376
    isc_c_EventHandler_dispatch(isc_c_EventHandler_handleMouseUp,[object MouseEvent])@http://127.0.0.1:8888/ipgui/sc/modules/ISC_Core.js?isc_version=7.0.js:1610
    anonymous([object MouseEvent])@http://127.0.0.1:8888/ipgui/sc/modules/ISC_Core.js?isc_version=7.0.js:63
        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.invokeNativeObject(ModuleSpace.java:264)
        at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
        at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
        at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:188)
        at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
        at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
        at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
        at com.google.gwt.dev.shell.BrowserChannel.reactToMessages(BrowserChannel.java:1668)
        at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:401)
        at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:222)
        at java.lang.Thread.run(Thread.java:637)

    #2
    This is a bug introduced when we refactored the sparse update support from DataBoundComponent to DataSource, so that updates specified directly on the DataSource can be sparse. This is now fixed - thanks for the bug report.

    Comment


      #3
      Still getting this error with the 9/29 build. The only difference in the stack trace is that now it is lineNumber: 628.

      Comment


        #4
        Hmm, that doesn't make much sense - of course, the fix could have introduced some other problem that got by our testing, but I can't see any way that particular problem could still be there with the fix in place. It's possible the change didn't make it into the 9/29 nightly - can you try it with today's build and let us know?

        Comment


          #5
          I just got the 9/30 build and I'm still seeing the same error. The dev console shows that I am running the 9/30 version.

          SmartClient Version: SC_SNAPSHOT-2010-09-30/EVAL Deployment (expires 2010.11.29_11.49.40) Licensed to: Isomorphic Software (#ISC_EVAL_NIGHTLY)

          Comment


            #6
            What operation causes this error? Is it an update sent from a DataBoundComponent, or a direct update on a DataSource. And, sorry to sound like we don't believe you (we do!), but is it *definitely* the same error (same exception, mentioning the same obfuscated variable name "_7")?

            Comment


              #7
              It is caused by a call to ValuesManager.saveData(). The variable name is different. It is now _10 and the lineNumber is 628. Here is the latest stack trace.
              Code:
              14:19:18.029 [ERROR] [ipgui] Uncaught exception escaped
              com.google.gwt.core.client.JavaScriptException: (TypeError): _10 is undefined
               fileName: http://127.0.0.1:8888/ipgui/sc/modules/ISC_DataBinding.js?isc_version=7.0.js
               lineNumber: 628
               stack: isc_DataSource__applySparseAndNoNullUpdates([object Object],[object Object],"update",[object Object])@http://127.0.0.1:8888/ipgui/sc/modules/ISC_DataBinding.js?isc_version=7.0.js:628
              isc_DataSource_sendDSRequest([object Object])@http://127.0.0.1:8888/ipgui/sc/modules/ISC_DataBinding.js?isc_version=7.0.js:614
              isc_DataSource_performDSOperation("update",[object Object],[object Object],[object Object])@http://127.0.0.1:8888/ipgui/sc/modules/ISC_DataBinding.js?isc_version=7.0.js:604
              ([object Object],[object Object],(void 0),[object Object])@http://127.0.0.1:8888/ipgui/sc/modules/ISC_DataBinding.js?isc_version=7.0.js:1548
              ("isc_ValuesManager_3.$49z(dsRequest, dsResponse, data)",[object Object])@http://127.0.0.1:8888/ipgui/sc/modules/ISC_DataBinding.js?isc_version=7.0.js:1528
              ([object GWTJavaObject],[object GWTJavaObject])@http://127.0.0.1:8888:284
              @:0
              ([object GWTJavaObject],852124,[object GWTJavaObject])@http://127.0.0.1:8888/ipgui/hosted.html?ipgui:56
              ([object Object],(void 0))@http://127.0.0.1:8888:2083
              ((function () {var param = {};var event = __gwt_makeJavaInvoke(1)(null, 3604519, param);__gwt_makeJavaInvoke(1)(selfJ, 852124, event);var ret = __gwt_makeJavaInvoke(0)(event, 1048577);return !ret;}),[object Object],[object Object])@http://127.0.0.1:8888:72
              @:0
              (null,27,(function () {var param = {};var event = __gwt_makeJavaInvoke(1)(null, 3604519, param);__gwt_makeJavaInvoke(1)(selfJ, 852124, event);var ret = __gwt_makeJavaInvoke(0)(event, 1048577);return !ret;}),[object Object],[object Object])@http://127.0.0.1:8888/ipgui/hosted.html?ipgui:56
              ([object Object],(void 0))@http://127.0.0.1:8888:9
              ([object Object],(void 0))@http://127.0.0.1:8888:13
              isc_StatefulCanvas_handleActivate([object Object],(void 0))@http://127.0.0.1:8888/ipgui/sc/modules/ISC_Foundation.js?isc_version=7.0.js:321
              isc_StatefulCanvas_handleClick([object Object],(void 0))@http://127.0.0.1:8888/ipgui/sc/modules/ISC_Foundation.js?isc_version=7.0.js:323
              isc_c_EventHandler_bubbleEvent([object Object],"click")@http://127.0.0.1:8888/ipgui/sc/modules/ISC_Core.js?isc_version=7.0.js:1547
              isc_c_EventHandler_handleClick([object Object])@http://127.0.0.1:8888/ipgui/sc/modules/ISC_Core.js?isc_version=7.0.js:1398
              isc_c_EventHandler__handleMouseUp([object MouseEvent],(void 0))@http://127.0.0.1:8888/ipgui/sc/modules/ISC_Core.js?isc_version=7.0.js:1385
              isc_c_EventHandler_handleMouseUp([object MouseEvent])@http://127.0.0.1:8888/ipgui/sc/modules/ISC_Core.js?isc_version=7.0.js:1376
              isc_c_EventHandler_dispatch(isc_c_EventHandler_handleMouseUp,[object MouseEvent])@http://127.0.0.1:8888/ipgui/sc/modules/ISC_Core.js?isc_version=7.0.js:1610
              anonymous([object MouseEvent])@http://127.0.0.1:8888/ipgui/sc/modules/ISC_Core.js?isc_version=7.0.js:63
                  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.invokeNativeObject(ModuleSpace.java:264)
                  at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
                  at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
                  at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:188)
                  at sun.reflect.GeneratedMethodAccessor84.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
                  at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
                  at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
                  at com.google.gwt.dev.shell.BrowserChannel.reactToMessages(BrowserChannel.java:1668)
                  at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:401)
                  at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:222)
                  at java.lang.Thread.run(Thread.java:637)

              Comment


                #8
                I just got the 2nd 9/30 build and I'm still getting this error.

                Comment


                  #9
                  I know you believe me when I say it is still happening. :)
                  But have you been able to reproduce it?

                  Comment


                    #10
                    Yes, we think so - sorry, should have posted that here. A further fix was committed today, but probably not in time for today's build. Please try it again on Monday - or tomorrow if you're super-keen :)

                    Comment

                    Working...
                    X