SmartClient Version: v9.1p_2014-03-08/LGPL Development Only (built 2014-03-08)
As of the version above up until the latest nightly (from 3/11) my application can no longer start up successfully.
I get the following exception:
The point in my code that is causing the exception is a call to:
Which is trying to dynamically change the visibility of a control based upon changes in conditions in the client.
The last version that actually worked was:
SmartClient Version: v9.1p_2014-03-07/LGPL Development Only (built 2014-03-07)
As of the version above up until the latest nightly (from 3/11) my application can no longer start up successfully.
I get the following exception:
Code:
10:14:59.895 [ERROR] [com.hp.cp.pm.gwt.linker.PMLinker] Client uncaught exception
com.google.gwt.event.shared.UmbrellaException: Exception caught: Cannot change configuration property 'visibility' to hidden now that component minibarScrollLeft has been created.
at com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:129)
at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:129)
at com.hp.cp.pm.gwt.ui.client.ui.DashboardItemRibbon.fireEvent(DashboardItemRibbon.java:159)
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:571)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:279)
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:242)
at sun.reflect.GeneratedMethodAccessor39.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:571)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:279)
at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
at com.smartgwt.client.widgets.layout.HLayout.create(HLayout.java)
at com.smartgwt.client.widgets.BaseWidget.getOrCreateJsObj(BaseWidget.java:456)
at com.smartgwt.client.widgets.layout.Layout.addMember(Layout.java:1378)
at com.hp.cp.pm.gwt.ui.client.ui.BottomBarViewImpl.<init>(BottomBarViewImpl.java:95)
at com.hp.cp.pm.gwt.ui.client.ClientFactoryImpl.getBottomBarView(ClientFactoryImpl.java:255)
at com.hp.cp.pm.gwt.ui.client.activity.BottomBarPresenter.getView(BottomBarPresenter.java:279)
at com.hp.cp.pm.gwt.ui.client.ui.MainApplicationUi.<init>(MainApplicationUi.java:95)
at com.hp.cp.pm.gwt.ui.client.ProductionManager$6$1$1.onSuccess(ProductionManager.java:323)
at com.google.gwt.core.client.GWT.runAsync(GWT.java:255)
at com.hp.cp.pm.gwt.ui.client.ProductionManager$6$1.onSuccess(ProductionManager.java:319)
at com.hp.cp.pm.gwt.ui.client.ProductionManager$6$1.onSuccess(ProductionManager.java:1)
at com.hp.cp.pm.gwt.ui.client.rpc.UUIDClientImpl$1.onSuccess(UUIDClientImpl.java:61)
at com.hp.cp.pm.gwt.ui.client.rpc.UUIDClientImpl$1.onSuccess(UUIDClientImpl.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:258)
at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:412)
at sun.reflect.GeneratedMethodAccessor48.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:571)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:279)
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:242)
at sun.reflect.GeneratedMethodAccessor39.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)
Caused by: java.lang.IllegalStateException: Cannot change configuration property 'visibility' to hidden now that component minibarScrollLeft has been created.
at com.smartgwt.client.widgets.BaseWidget.error(BaseWidget.java:728)
at com.smartgwt.client.widgets.BaseWidget.error(BaseWidget.java:716)
at com.smartgwt.client.widgets.BaseWidget.setAttribute(BaseWidget.java:740)
at com.smartgwt.client.widgets.Canvas.setVisibility(Canvas.java:4859)
at com.smartgwt.client.widgets.Canvas.setVisible(Canvas.java:8537)
at com.hp.cp.pm.gwt.ui.client.ui.DashboardItemRibbon.layout(DashboardItemRibbon.java:291)
at com.hp.cp.pm.gwt.ui.client.ui.DashboardItemRibbon.layoutChildren(DashboardItemRibbon.java:283)
at com.hp.cp.pm.gwt.ui.client.ui.DashboardItemRibbon.resetChildWidgets(DashboardItemRibbon.java:209)
at com.hp.cp.pm.gwt.ui.client.ui.DashboardItemRibbon.access$0(DashboardItemRibbon.java:200)
at com.hp.cp.pm.gwt.ui.client.ui.DashboardItemRibbon$1.onResized(DashboardItemRibbon.java:55)
at com.smartgwt.client.widgets.events.ResizedEvent.dispatch(ResizedEvent.java:110)
at com.smartgwt.client.widgets.events.ResizedEvent.dispatch(ResizedEvent.java:1)
at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:1)
at com.google.web.bindery.event.shared.EventBus.dispatchEvent(EventBus.java:40)
at com.google.web.bindery.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:193)
at com.google.web.bindery.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:88)
at com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:127)
at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:129)
at com.hp.cp.pm.gwt.ui.client.ui.DashboardItemRibbon.fireEvent(DashboardItemRibbon.java:159)
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:571)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:279)
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:242)
at sun.reflect.GeneratedMethodAccessor39.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:571)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:279)
at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
at com.smartgwt.client.widgets.layout.HLayout.create(HLayout.java)
at com.smartgwt.client.widgets.BaseWidget.getOrCreateJsObj(BaseWidget.java:456)
at com.smartgwt.client.widgets.layout.Layout.addMember(Layout.java:1378)
at com.hp.cp.pm.gwt.ui.client.ui.BottomBarViewImpl.<init>(BottomBarViewImpl.java:95)
at com.hp.cp.pm.gwt.ui.client.ClientFactoryImpl.getBottomBarView(ClientFactoryImpl.java:255)
at com.hp.cp.pm.gwt.ui.client.activity.BottomBarPresenter.getView(BottomBarPresenter.java:279)
at com.hp.cp.pm.gwt.ui.client.ui.MainApplicationUi.<init>(MainApplicationUi.java:95)
at com.hp.cp.pm.gwt.ui.client.ProductionManager$6$1$1.onSuccess(ProductionManager.java:323)
at com.google.gwt.core.client.GWT.runAsync(GWT.java:255)
at com.hp.cp.pm.gwt.ui.client.ProductionManager$6$1.onSuccess(ProductionManager.java:319)
at com.hp.cp.pm.gwt.ui.client.ProductionManager$6$1.onSuccess(ProductionManager.java:1)
at com.hp.cp.pm.gwt.ui.client.rpc.UUIDClientImpl$1.onSuccess(UUIDClientImpl.java:61)
at com.hp.cp.pm.gwt.ui.client.rpc.UUIDClientImpl$1.onSuccess(UUIDClientImpl.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:258)
at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:412)
at sun.reflect.GeneratedMethodAccessor48.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:571)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:279)
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:242)
at sun.reflect.GeneratedMethodAccessor39.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:
myButton.setVisible(showShow);
The last version that actually worked was:
SmartClient Version: v9.1p_2014-03-07/LGPL Development Only (built 2014-03-07)