Announcement

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

    Error using exportClientData() in release 2.3

    I just upgraded to the 2.3 Pro release and am trying out some of the great new features. Keep up the good work!

    I have a ListGrid on which I call exportData(req) which continues to work as before, but changing it to exportClientData(req) gets me the following error.
    Code:
    13:28:52.865 [ERROR] [ipgui] Uncaught exception escaped
    com.google.gwt.core.client.JavaScriptException: (TypeError): this.getSpecificFieldValue is not a function
     fileName: http://127.0.0.1:8888/ipgui/sc/modules/ISC_Core.js?isc_version=7.0.js
     lineNumber: 3563
     stack: isc_Canvas_getExportFieldValue([object Object],"IPPK",1)@http://127.0.0.1:8888/ipgui/sc/modules/ISC_Core.js?isc_version=7.0.js:3563
    isc_c_Class_invokeSuper(null,"getExportFieldValue")@http://127.0.0.1:8888/ipgui/sc/modules/ISC_Core.js?isc_version=7.0.js:301
    isc_c_Class_Super("getExportFieldValue",[object Object])@http://127.0.0.1:8888/ipgui/sc/modules/ISC_Core.js?isc_version=7.0.js:293
    isc_ListGrid_getExportFieldValue([object Object],"IPPK",1)@http://127.0.0.1:8888/ipgui/sc/modules/ISC_Grids.js?isc_version=7.0.js:2631
    isc_Canvas_getRecordExportObject([object Object],[object Array],(void 0),(void 0),(void 0))@http://127.0.0.1:8888/ipgui/sc/modules/ISC_Core.js?isc_version=7.0.js:3573
    isc_Canvas_getClientExportData([object Object])@http://127.0.0.1:8888/ipgui/sc/modules/ISC_Core.js?isc_version=7.0.js:3566
    isc_Canvas_exportClientData([object Object])@http://127.0.0.1:8888/ipgui/sc/modules/ISC_Core.js?isc_version=7.0.js:3584
    ([object GWTJavaObject])@http://127.0.0.1:8888:2910
    @:0
    ([object GWTJavaObject],4784183,[object GWTJavaObject])@http://127.0.0.1:8888/ipgui/hosted.html?ipgui:56
    ([object Object],[object Object],[object Object],1)@http://127.0.0.1:8888:87
    ((function () {var param = {target: arguments[0], item: arguments[1], menu: arguments[2], colNum: arguments[3]};var event = __gwt_makeJavaInvoke(1)(null, 9502749, param);__gwt_makeJavaInvoke(1)(selfJ, 4784183, event);}),[object Object],[object Object])@http://127.0.0.1:8888:72
    @:0
    (null,27,(function () {var param = {target: arguments[0], item: arguments[1], menu: arguments[2], colNum: arguments[3]};var event = __gwt_makeJavaInvoke(1)(null, 9502749, param);__gwt_makeJavaInvoke(1)(selfJ, 4784183, event);}),[object Object],[object Object])@http://127.0.0.1:8888/ipgui/hosted.html?ipgui:56
    ([object Object],[object Object],[object Object],1)@http://127.0.0.1:8888:38
    isc_Menu_selectMenuItem([object Object],1)@http://127.0.0.1:8888/ipgui/sc/modules/ISC_Grids.js?isc_version=7.0.js:2933
    isc_Menu_rowClick([object Object],14,1)@http://127.0.0.1:8888/ipgui/sc/modules/ISC_Grids.js?isc_version=7.0.js:2925
    anonymous([object Object],14,1)@http://127.0.0.1:8888/ipgui/sc/modules/ISC_Grids.js?isc_version=7.0.js:892
    isc_GridRenderer__rowClick(14,1)@http://127.0.0.1:8888/ipgui/sc/modules/ISC_Grids.js?isc_version=7.0.js:751
    isc_GridRenderer_click([object Object],(void 0))@http://127.0.0.1:8888/ipgui/sc/modules/ISC_Grids.js?isc_version=7.0.js:748
    isc_Canvas_handleClick([object Object],(void 0))@http://127.0.0.1:8888/ipgui/sc/modules/ISC_Core.js?isc_version=7.0.js:3027
    isc_c_EventHandler_bubbleEvent([object Object],"click")@http://127.0.0.1:8888/ipgui/sc/modules/ISC_Core.js?isc_version=7.0.js:1528
    isc_c_EventHandler_handleClick([object Object])@http://127.0.0.1:8888/ipgui/sc/modules/ISC_Core.js?isc_version=7.0.js:1384
    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:1371
    isc_c_EventHandler_handleMouseUp([object MouseEvent])@http://127.0.0.1:8888/ipgui/sc/modules/ISC_Core.js?isc_version=7.0.js:1362
    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:1589
    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.GeneratedMethodAccessor176.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 appears to be because of mixed versions in your browser cache. That (internal) API does not exist anymore, at all.

    Comment


      #3
      I've tried clearing the cache (Firefox) and trying another browser I don't normally use (Safari), after clearing the cache on that one too. I've also tried "cleaning" the project in Eclipse and rebuilding. ?

      Comment


        #4
        Maybe try the trick of switching JDK and switch back (that worked before).

        Comment


          #5
          Thanks for the reminder. That did it. The new feature looks great by the way. Users were already asking for an export that includes their custom formula columns and now it's there. Thanks!

          Comment

          Working...
          X