Hi,
I am using SmartGWT built from HEAD of trunk (http://smartgwt.googlecode.com/svn/trunk/) two days ago on 10/31/10. For my browser, I'm using Firefox 3.6.12 on Fedora 13.
When I attempt to call:
rightGrid.transferSelectedData(leftGrid);
where leftGrid is a ListGrid with an associated DataSource, and rightGrid is a ListGrid with no associated DataSource (i.e. DataSource field is null), I get the following exception on the dev console:
[ERROR] --- UNCAUGHT EXCEPTION ---
[ERROR] com.google.gwt.core.client.JavaScriptException: (TypeError): _6 is undefined
[ERROR] fileName: http://127.0.0.1:8888/org.example.Application/sc/modules/ISC_Core.js
[ERROR] lineNumber: 3449
[ERROR] stack: isc_Canvas_transferRecords([object Array],(void 0),(void 0),[object Object],(void 0))@http://127.0.0.1:8888/org.example.Application/sc/modules/ISC_Core.js:3449
[ERROR] isc_Canvas_transferSelectedData([object Object])@http://127.0.0.1:8888/org.example.Application/sc/modules/ISC_Core.js:3502
[ERROR] ([object GWTJavaObject])@http://127.0.0.1:8888:2660
[ERROR] @:0
[ERROR] ([object GWTJavaObject],852124,[object GWTJavaObject])@http://127.0.0.1:8888/org.example.Application/hosted.html?org_example_Application:56
[ERROR] ([object Object],(void 0))@http://127.0.0.1:8888:1779
[ERROR] ((function () {var param = {};var event = __gwt_makeJavaInvoke(1)(null, 3604519, param);__gwt_makeJavaInvoke(1)(selfJ, 852124, event);var ret = __gwt_makeJavaInvoke(0)(event, 983042);return !ret;}),[object Object],[object Object])@http://127.0.0.1:8888:30
[ERROR] @:0
[ERROR] (null,65563,(function () {var param = {};var event = __gwt_makeJavaInvoke(1)(null, 3604519, param);__gwt_makeJavaInvoke(1)(selfJ, 852124, event);var ret = __gwt_makeJavaInvoke(0)(event, 983042);return !ret;}),[object Object],[object Object])@http://127.0.0.1:8888/org.example.Application/hosted.html?org_example_Application:56
[ERROR] ([object Object],(void 0))@http://127.0.0.1:8888:59
[ERROR] ([object Object],(void 0))@http://127.0.0.1:8888:13
[ERROR] isc_StatefulCanvas_handleActivate([object Object],(void 0))@http://127.0.0.1:8888/org.example.Application/sc/modules/ISC_Foundation.js:296
[ERROR] isc_StatefulCanvas_handleClick([object Object],(void 0))@http://127.0.0.1:8888/org.example.Application/sc/modules/ISC_Foundation.js:298
[ERROR] isc_c_EventHandler_bubbleEvent([object Object],"click")@http://127.0.0.1:8888/org.example.Application/sc/modules/ISC_Core.js:1487
[ERROR] isc_c_EventHandler_handleClick([object Object])@http://127.0.0.1:8888/org.example.Application/sc/modules/ISC_Core.js:1340
[ERROR] isc_c_EventHandler__handleMouseUp([object MouseEvent],(void 0))@http://127.0.0.1:8888/org.example.Application/sc/modules/ISC_Core.js:1327
[ERROR] isc_c_EventHandler_handleMouseUp([object MouseEvent])@http://127.0.0.1:8888/org.example.Application/sc/modules/ISC_Core.js:1318
[ERROR] isc_c_EventHandler_dispatch(isc_c_EventHandler_handleMouseUp,[object MouseEvent])@http://127.0.0.1:8888/org.example.Application/sc/modules/ISC_Core.js:1550
[ERROR] anonymous([object MouseEvent])@http://127.0.0.1:8888/org.example.Application/sc/modules/ISC_Core.js:38
[ERROR]
[ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:195)
[ERROR] at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:120)
[ERROR] at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:507)
[ERROR] at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:264)
[ERROR] at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
[ERROR] at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
[ERROR] at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:188)
[ERROR] at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
[ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[ERROR] at java.lang.reflect.Method.invoke(Method.java:597)
[ERROR] at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
[ERROR] at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
[ERROR] at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
[ERROR] at com.google.gwt.dev.shell.BrowserChannel.reactToMessages(BrowserChannel.java:1669)
[ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:401)
[ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:222)
[ERROR] at java.lang.Thread.run(Thread.java:619)
An entry point that demonstrates the issue is attached. To reproduce, click one of the Move Right buttons to try to move one or more items from the left grid to the right grid. The move will fail, and you will see the above error logged to the dev console.
Note, the same code works fine with SmartGWT 2.2 LGPL, so this is a regression that occurred some time since that was released.
I am using SmartGWT built from HEAD of trunk (http://smartgwt.googlecode.com/svn/trunk/) two days ago on 10/31/10. For my browser, I'm using Firefox 3.6.12 on Fedora 13.
When I attempt to call:
rightGrid.transferSelectedData(leftGrid);
where leftGrid is a ListGrid with an associated DataSource, and rightGrid is a ListGrid with no associated DataSource (i.e. DataSource field is null), I get the following exception on the dev console:
[ERROR] --- UNCAUGHT EXCEPTION ---
[ERROR] com.google.gwt.core.client.JavaScriptException: (TypeError): _6 is undefined
[ERROR] fileName: http://127.0.0.1:8888/org.example.Application/sc/modules/ISC_Core.js
[ERROR] lineNumber: 3449
[ERROR] stack: isc_Canvas_transferRecords([object Array],(void 0),(void 0),[object Object],(void 0))@http://127.0.0.1:8888/org.example.Application/sc/modules/ISC_Core.js:3449
[ERROR] isc_Canvas_transferSelectedData([object Object])@http://127.0.0.1:8888/org.example.Application/sc/modules/ISC_Core.js:3502
[ERROR] ([object GWTJavaObject])@http://127.0.0.1:8888:2660
[ERROR] @:0
[ERROR] ([object GWTJavaObject],852124,[object GWTJavaObject])@http://127.0.0.1:8888/org.example.Application/hosted.html?org_example_Application:56
[ERROR] ([object Object],(void 0))@http://127.0.0.1:8888:1779
[ERROR] ((function () {var param = {};var event = __gwt_makeJavaInvoke(1)(null, 3604519, param);__gwt_makeJavaInvoke(1)(selfJ, 852124, event);var ret = __gwt_makeJavaInvoke(0)(event, 983042);return !ret;}),[object Object],[object Object])@http://127.0.0.1:8888:30
[ERROR] @:0
[ERROR] (null,65563,(function () {var param = {};var event = __gwt_makeJavaInvoke(1)(null, 3604519, param);__gwt_makeJavaInvoke(1)(selfJ, 852124, event);var ret = __gwt_makeJavaInvoke(0)(event, 983042);return !ret;}),[object Object],[object Object])@http://127.0.0.1:8888/org.example.Application/hosted.html?org_example_Application:56
[ERROR] ([object Object],(void 0))@http://127.0.0.1:8888:59
[ERROR] ([object Object],(void 0))@http://127.0.0.1:8888:13
[ERROR] isc_StatefulCanvas_handleActivate([object Object],(void 0))@http://127.0.0.1:8888/org.example.Application/sc/modules/ISC_Foundation.js:296
[ERROR] isc_StatefulCanvas_handleClick([object Object],(void 0))@http://127.0.0.1:8888/org.example.Application/sc/modules/ISC_Foundation.js:298
[ERROR] isc_c_EventHandler_bubbleEvent([object Object],"click")@http://127.0.0.1:8888/org.example.Application/sc/modules/ISC_Core.js:1487
[ERROR] isc_c_EventHandler_handleClick([object Object])@http://127.0.0.1:8888/org.example.Application/sc/modules/ISC_Core.js:1340
[ERROR] isc_c_EventHandler__handleMouseUp([object MouseEvent],(void 0))@http://127.0.0.1:8888/org.example.Application/sc/modules/ISC_Core.js:1327
[ERROR] isc_c_EventHandler_handleMouseUp([object MouseEvent])@http://127.0.0.1:8888/org.example.Application/sc/modules/ISC_Core.js:1318
[ERROR] isc_c_EventHandler_dispatch(isc_c_EventHandler_handleMouseUp,[object MouseEvent])@http://127.0.0.1:8888/org.example.Application/sc/modules/ISC_Core.js:1550
[ERROR] anonymous([object MouseEvent])@http://127.0.0.1:8888/org.example.Application/sc/modules/ISC_Core.js:38
[ERROR]
[ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:195)
[ERROR] at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:120)
[ERROR] at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:507)
[ERROR] at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:264)
[ERROR] at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
[ERROR] at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
[ERROR] at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:188)
[ERROR] at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
[ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[ERROR] at java.lang.reflect.Method.invoke(Method.java:597)
[ERROR] at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
[ERROR] at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
[ERROR] at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
[ERROR] at com.google.gwt.dev.shell.BrowserChannel.reactToMessages(BrowserChannel.java:1669)
[ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:401)
[ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:222)
[ERROR] at java.lang.Thread.run(Thread.java:619)
An entry point that demonstrates the issue is attached. To reproduce, click one of the Move Right buttons to try to move one or more items from the left grid to the right grid. The move will fail, and you will see the above error logged to the dev console.
Note, the same code works fine with SmartGWT 2.2 LGPL, so this is a regression that occurred some time since that was released.
Comment