I've just downloaded the lastest nightly build of the Enterprise Edition 2012-07-24.
SmartClient Version: SNAPSHOT_v8.3d_2012-07-24/Enterprise Deployment (built 2012-07-24)
My code is now throwing ClassCastExceptions when I attempt to call removeMembers() like so:
We do this in several places in our code, and they all now break. It was working fine in Enterprise Edition 3.0. Here is a stack trace from when it occurs:
Any ideas what maybe causing the issue?
Thanks,
Chris
SmartClient Version: SNAPSHOT_v8.3d_2012-07-24/Enterprise Deployment (built 2012-07-24)
My code is now throwing ClassCastExceptions when I attempt to call removeMembers() like so:
Code:
imageLayout.removeMembers(imageLayout.getMembers());
Code:
java.lang.ClassCastException at java.lang.Class.cast(Class.java:2990) at com.google.gwt.dev.shell.JsValueGlue.get(JsValueGlue.java:169) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:57) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:337) at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:218) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:289) at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107) at com.smartgwt.client.widgets.layout.Layout.removeMembers(Layout.java) at com.jeppesen.smartgwt.common.client.component.breadcrumb.BreadCrumbSet.clear(BreadCrumbSet.java:427) at com.jeppesen.fpo.client.MainPageCrumbs$22.execute(MainPageCrumbs.java:938) at com.jeppesen.smartgwt.common.client.component.breadcrumb.BreadCrumbSet.canClose(BreadCrumbSet.java:270) at com.jeppesen.fpo.client.MainPageCrumbs.closeScreenCaptureBreadCrumbSet(MainPageCrumbs.java:928) at com.jeppesen.fpo.client.MainPageCrumbs.access$27(MainPageCrumbs.java:925) at com.jeppesen.fpo.client.MainPageCrumbs$21.onSuccess(MainPageCrumbs.java:914) at com.jeppesen.fpo.client.MainPageCrumbs$21.onSuccess(MainPageCrumbs.java:1) at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:232) at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:287) at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:395) at sun.reflect.GeneratedMethodAccessor41.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:172) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:337) at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:218) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269) 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:213) at sun.reflect.GeneratedMethodAccessor40.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:172) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:292) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:546) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363) at java.lang.Thread.run(Thread.java:680)
Thanks,
Chris
Comment