Hi Isomorphic,
I noted that my code does not work any more with today's (v9.1p_2014-06-17/EVAL Deployment) version and tried to create a simple standalone Testcase, but did not succeed.
I tried then to find out at which day the change that broke my code was introduced and tracked it down to the change from v9.1p_2014-06-12 to v9.1p_2014-06-13.
The error I get in FF26 Dev Mode in Eclipse Development Mode Tab (using GWT 2.6.1) is the following (note that it only happens in dev mode, not deployed and that I can't see it in SmartGWT's Developer Console as it pops up right at start before I can open the console):
	The line triggering the error is:
	I know that this is not a report as you like it, bit right now I can't provide more. Perhaps you can find the root cause easily because of the date it broke.
It might be related to this thread because of the date, the dev-mode-only and problem area ("JavaScriptObject").
Thank you & Best regards,
Blama
					I noted that my code does not work any more with today's (v9.1p_2014-06-17/EVAL Deployment) version and tried to create a simple standalone Testcase, but did not succeed.
I tried then to find out at which day the change that broke my code was introduced and tracked it down to the change from v9.1p_2014-06-12 to v9.1p_2014-06-13.
The error I get in FF26 Dev Mode in Eclipse Development Mode Tab (using GWT 2.6.1) is the following (note that it only happens in dev mode, not deployed and that I can't see it in SmartGWT's Developer Console as it pops up right at start before I can open the console):
Code:
	
	[ERROR] [lms] - Uncaught exception escaped
19:42:21.462 [ERROR] [lms] Uncaught exception escaped
[B]java.lang.ClassCastException: Cannot cast com.google.gwt.core.client.JavaScriptObject$ to [Lcom.google.gwt.core.client.JavaScriptObject;
[/B]    at java.lang.Class.cast(Unknown Source)
    at com.google.gwt.dev.shell.JsValueGlue.get(JsValueGlue.java:169)
    at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:65)
    at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
    at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:338)
    at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:219)
    at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:576)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:304)
    at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107)
    at [B]com.smartgwt.client.widgets.grid.ListGrid.setSort(ListGrid.java)[/B]
    at com.lmscompany.lms.client.list.LeadlistManagement.configure(LeadlistManagement.java:231)
    at com.lmscompany.lms.client.list.LeadlistManagement.<init>(LeadlistManagement.java:195)
    at com.lmscompany.lms.client.menu.toptabs.LeadMangementVLayout.<init>(LeadMangementVLayout.java:72)
    at com.lmscompany.lms.client.menu.navigation.MainArea.openModule(MainArea.java:142)
    at com.lmscompany.lms.client.ui.button.NavigationButtonField.click(NavigationButtonField.java:122)
    at com.lmscompany.lms.client.menu.navigation.NavigationVLayout.createStandardButtons(NavigationVLayout.java:88)
    at com.lmscompany.lms.client.menu.navigation.NavigationVLayout.<init>(NavigationVLayout.java:65)
    at com.lmscompany.lms.client.Lms$MainLayout.<init>(Lms.java:102)
    at com.lmscompany.lms.client.Lms$3.execute(Lms.java:64)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.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:172)
    at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:338)
    at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:219)
    at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:576)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:284)
    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:356)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.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:172)
    at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:293)
    at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:547)
    at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)
    at java.lang.Thread.run(Unknown Source)
Code:
	
	[B]setSort(new SortSpecifier[] { new SortSpecifier("CAMPAIGN_ID", SortDirection.ASCENDING) });[/B]
It might be related to this thread because of the date, the dev-mode-only and problem area ("JavaScriptObject").
Thank you & Best regards,
Blama

Comment