Announcement

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

    isc_ListGrid_getCurrentCheckboxField error after upgrade to SmartGWT 2.2

    Hello I started getting this error after upgrading to 2.2 and not sure what might be causing it.

    Here is an explanation of what I'm doing when I get the error:
    I have a parent table with item records when I click on one I do criteria fetch data on child tables, the data is pulled then I get the error below.


    My Versions:
    SmartGWT 2.2 downloaded 5/24/2010
    GWT 2.0.3

    Error:
    Code:
    Uncaught exception escaped : com.google.gwt.core.client.JavaScriptException
    (TypeError): _1 is undefined
     fileName: http://127.0.0.1:8888/eonedashboard/sc/modules/ISC_Grids.js
     lineNumber: 1127
     stack: isc_ListGrid_getCurrentCheckboxField()@http://127.0.0.1:8888/eonedashboard/sc/modules/ISC_Grids.js:1127
    isc_ListGrid__dataArrived(0,0)@http://127.0.0.1:8888/eonedashboard/sc/modules/ISC_Grids.js:1043
    anonymous(0,0)@http://127.0.0.1:8888/eonedashboard/sc/modules/ISC_Core.js?isc_version=7.1.js:44
    isc_ResultSet__doneDataArriving(0,0)@http://127.0.0.1:8888/eonedashboard/sc/modules/ISC_DataBinding.js:1291
    isc_ResultSet_fetchRemoteDataReply([object Object],[object Array],[object Object])@http://127.0.0.1:8888/eonedashboard/sc/modules/ISC_DataBinding.js:1240
    isc_c_Class_fireCallback([object Object],"dsResponse,data,dsRequest",[object Array],[object Object],(void 0))@http://127.0.0.1:8888/eonedashboard/sc/modules/ISC_Core.js?isc_version=7.1.js:282
    isc_Class_fireCallback([object Object],"dsResponse,data,dsRequest",[object Array])@http://127.0.0.1:8888/eonedashboard/sc/modules/ISC_Core.js?isc_version=7.1.js:376
    isc_DataSource__completeResponseProcessing([object Array],[object Object],[object Object])@http://127.0.0.1:8888/eonedashboard/sc/modules/ISC_DataBinding.js:527
    isc_DataSource_processResponse("isc_ItemSKUOptionsListGridDS_0$6278",[object Object])@http://127.0.0.1:8888/eonedashboard/sc/modules/ISC_DataBinding.js:379
    ("isc_ItemSKUOptionsListGridDS_0$6278",[object GWTJavaObject])@http://127.0.0.1:8888:236
    @:0
    ([object GWTJavaObject],17629185,[object XMLHttpRequest])@http://127.0.0.1:8888/eonedashboard/hosted.html?eonedashboard:56
    ([object Event])@http://127.0.0.1:8888:10
    ((function () {__gwt_makeJavaInvoke(1)(handler, 17629185, _this);}),[object XMLHttpRequest],[object Object])@http://127.0.0.1:8888:23
    @:0
    (null,65560,(function () {__gwt_makeJavaInvoke(1)(handler, 17629185, _this);}),[object XMLHttpRequest],[object Object])@http://127.0.0.1:8888/eonedashboard/hosted.html?eonedashboard:56
    ([object Event])@http://127.0.0.1:8888:41
    
    See the Development console log for details.
    Register a GWT.setUncaughtExceptionHandler(..) for custom uncaught exception handling.
    In particular the above error seems to happen on this line in ISC_Grids.js:
    Code:
    ,isc.A.getCurrentCheckboxField=function isc_ListGrid_getCurrentCheckboxField(){var _1=this.getFields(),_2=_1.find(this.fieldIdProperty,"$63n");return!_2?null:isc.isAn.Array(_2)?_2[0]:_2}
    I also see these warnings in the SmartClient Developer Console but I'm not sure if they're causing any issues :

    Code:
    15:28:33.479:WARN:AutoObserver:Use addInterfaceProperties() to add methods to interface [Class AutoObserver]
    15:28:33.795:WARN:Log:New Class ID: 'IAutoFitButton' collides with ID of existing Class object '[Class IAutoFitButton]'.  Existing object will be replaced.
    15:28:33.796:WARN:Log:New Class ID: 'HeaderImgButton' collides with ID of existing Class object '[Class HeaderImgButton]'.  Existing object will be replaced.
    Last edited by gcstang; 24 May 2010, 13:08.

    #2
    We have added a fix that may address this issue. Please download a nightly build to determine if this issue has been fixed.

    Comment


      #3
      Originally posted by Isomorphic
      We have added a fix that may address this issue. Please download a nightly build to determine if this issue has been fixed.
      Did you have a fix in there before I posted my question or is there something wrong with the nightly builds?

      Last date of a build is 21 May.

      Comment


        #4
        I have the same issue with upgrading to 2.2. Today nightly build didn't help me.

        Code:
        com.google.gwt.core.client.JavaScriptException: (TypeError): _1 is undefined
         fileName: http://127.0.0.1:8888/monometalis/sc/modules/ISC_Grids.js
         lineNumber: 1127
         stack: isc_ListGrid_getCurrentCheckboxField()@http://127.0.0.1:8888/monometalis/sc/modules/ISC_Grids.js:1127
        isc_ListGrid__dataArrived(0,1)@http://127.0.0.1:8888/monometalis/sc/modules/ISC_Grids.js:1043
        anonymous(0,1)@http://127.0.0.1:8888/monometalis/sc/modules/ISC_Core.js:44
        isc_ResultSet__doneDataArriving(0,1)@http://127.0.0.1:8888/monometalis/sc/modules/ISC_DataBinding.js:1291
        isc_ResultSet_fetchRemoteDataReply([object Object],[object Array],[object Object])@http://127.0.0.1:8888/monometalis/sc/modules/ISC_DataBinding.js:1240
        isc_c_Class_fireCallback([object Object],"dsResponse,data,dsRequest",[object Array],[object Object],(void 0))@http://127.0.0.1:8888/monometalis/sc/modules/ISC_Core.js:282
        isc_Class_fireCallback([object Object],"dsResponse,data,dsRequest",[object Array])@http://127.0.0.1:8888/monometalis/sc/modules/ISC_Core.js:376
        isc_DataSource__completeResponseProcessing([object Array],[object Object],[object Object])@http://127.0.0.1:8888/monometalis/sc/modules/ISC_DataBinding.js:527
        isc_DataSource_processResponse("MaterialDataSource$6273",[object Object])@http://127.0.0.1:8888/monometalis/sc/modules/ISC_DataBinding.js:379
        ("MaterialDataSource$6273",[object GWTJavaObject])@http://127.0.0.1:8888:338
        @:0
        ([object GWTJavaObject],17170433,[object XMLHttpRequest])@http://127.0.0.1:8888/monometalis/hosted.html?monometalis:56
        ([object Event])@http://127.0.0.1:8888:4
        ((function () {__gwt_makeJavaInvoke(1)(handler, 17170433, _this);}),[object XMLHttpRequest],[object Object])@http://127.0.0.1:8888:18
        @:0
        (null,65560,(function () {__gwt_makeJavaInvoke(1)(handler, 17170433, _this);}),[object XMLHttpRequest],[object Object])@http://127.0.0.1:8888/monometalis/hosted.html?monometalis:56
        ([object Event])@http://127.0.0.1:8888:75
            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.GeneratedMethodAccessor27.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            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.reactToMessagesWhileWaitingForReturn(BrowserChannel.java:1713)
            at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:165)
            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.google.gwt.user.client.Window.alert(Window.java)
            at com.smartgwt.client.core.JsObject$1.onUncaughtException(JsObject.java:47)
            at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:190)
            at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            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.reactToMessagesWhileWaitingForReturn(BrowserChannel.java:1713)
            at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:165)
            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.google.gwt.user.client.Window.alert(Window.java)
            at com.smartgwt.client.core.JsObject$1.onUncaughtException(JsObject.java:47)
            at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:190)
            at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            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.reactToMessagesWhileWaitingForReturn(BrowserChannel.java:1713)
            at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:165)
            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.google.gwt.user.client.Window.alert(Window.java)
            at com.smartgwt.client.core.JsObject$1.onUncaughtException(JsObject.java:47)
            at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:190)
            at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            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(Unknown Source)
        Last edited by jojky; 28 May 2010, 23:33.

        Comment


          #5
          I'm still getting the same error after pulling the nightly but I noted in an earlier reply that the nightlies haven't been updated since the 21st, not sure but maybe something is wrong?

          Code:
          Uncaught exception escaped : com.google.gwt.core.client.JavaScriptException
          (TypeError): _1 is undefined
           fileName: http://127.0.0.1:8888/eonedashboard/sc/modules/ISC_Grids.js
           lineNumber: 1127
           stack: isc_ListGrid_getCurrentCheckboxField()@http://127.0.0.1:8888/eonedashboard/sc/modules/ISC_Grids.js:1127
          isc_ListGrid__dataArrived(0,0)@http://127.0.0.1:8888/eonedashboard/sc/modules/ISC_Grids.js:1043
          anonymous(0,0)@http://127.0.0.1:8888/eonedashboard/sc/modules/ISC_Core.js?isc_version=7.1.js:44
          isc_ResultSet__doneDataArriving(0,0)@http://127.0.0.1:8888/eonedashboard/sc/modules/ISC_DataBinding.js:1291
          isc_ResultSet_fetchRemoteDataReply([object Object],[object Array],[object Object])@http://127.0.0.1:8888/eonedashboard/sc/modules/ISC_DataBinding.js:1240
          isc_c_Class_fireCallback([object Object],"dsResponse,data,dsRequest",[object Array],[object Object],(void 0))@http://127.0.0.1:8888/eonedashboard/sc/modules/ISC_Core.js?isc_version=7.1.js:282
          isc_Class_fireCallback([object Object],"dsResponse,data,dsRequest",[object Array])@http://127.0.0.1:8888/eonedashboard/sc/modules/ISC_Core.js?isc_version=7.1.js:376
          isc_DataSource__completeResponseProcessing([object Array],[object Object],[object Object])@http://127.0.0.1:8888/eonedashboard/sc/modules/ISC_DataBinding.js:527
          isc_DataSource_processResponse("isc_ItemSKUOptionsListGridDS_0$62711",[object Object])@http://127.0.0.1:8888/eonedashboard/sc/modules/ISC_DataBinding.js:379
          ("isc_ItemSKUOptionsListGridDS_0$62711",[object GWTJavaObject])@http://127.0.0.1:8888:137
          @:0
          ([object GWTJavaObject],17629185,[object XMLHttpRequest])@http://127.0.0.1:8888/eonedashboard/hosted.html?eonedashboard:56
          ([object Event])@http://127.0.0.1:8888:10
          ((function () {__gwt_makeJavaInvoke(1)(handler, 17629185, _this);}),[object XMLHttpRequest],[object Object])@http://127.0.0.1:8888:45
          @:0
          (null,24,(function () {__gwt_makeJavaInvoke(1)(handler, 17629185, _this);}),[object XMLHttpRequest],[object Object])@http://127.0.0.1:8888/eonedashboard/hosted.html?eonedashboard:56
          ([object Event])@http://127.0.0.1:8888:63
          
          See the Development console log for details.
          Register a GWT.setUncaughtExceptionHandler(..) for custom uncaught exception handling.

          Comment


            #6
            The build file was not updated to point to the trunk version. I've made the change so try grabbing tomorrows build.

            Sanjiv

            Comment


              #7
              Thank you, now it works!

              Comment


                #8
                This is working now in the nightly from 5/29.

                Thank you,

                Comment

                Working...
                X