Hi,
We are experiencing JavaScriptException in GWT 2.0 development mode (using SmartGWT 2.0) when trying to save a form containing an array of Records (initialized via DynamicForm.setValue(String fieldName, Record[] value). Something wrong happens in DataSource.transformRequest() method, here is the stack trace:
The same code did work in SmartGWT 1.3 and GWT 1.7. If we compile the code and run in in the production mode, the code does not throw any exception.
Best,
Predrag
We are experiencing JavaScriptException in GWT 2.0 development mode (using SmartGWT 2.0) when trying to save a form containing an array of Records (initialized via DynamicForm.setValue(String fieldName, Record[] value). Something wrong happens in DataSource.transformRequest() method, here is the stack trace:
Code:
com.google.gwt.core.client.JavaScriptException: (null): null 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.smartgwt.client.data.DataSource.transformRequest(DataSource.java) at sun.reflect.GeneratedMethodAccessor88.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.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.smartgwt.client.widgets.form.DynamicForm.saveData(DynamicForm.java)
Best,
Predrag
Comment