Hi Folks,
I recently upgraded to the GWT 1.5.2. Now, I can deploy just fine to
a war, but am having some difficulties in hosted mode. It seems to be
related with the gwt-widgets library (version 0.2.0). When I try to
create an image button, I get this:
[ERROR] Uncaught exception escaped
java.lang.AssertionError: Element may only be set once
at com.google.gwt.user.client.ui.UIObject.setElement(UIObject.java:
802)
at org.gwtwidgets.client.ui.PNGImage.<init>(PNGImage.java:48)
at org.gwtwidgets.client.ui.ImageButton.<init>(ImageButton.java:63)
at
com.intime.client.widget.PagedMiniStripWidget.<init>(PagedMiniStripWidget.java:
54)
at
com.intime.client.page.CompletedStripsPage.<init>(CompletedStripsPage.java:
81)
at com.intime.client.Controller.init(Controller.java:243)
at com.intime.client.Controller.resultConfig(Controller.java:222)
at com.intime.client.service.ConfigProvider
$ConfigCallBack.onSuccess(ConfigProvider.java:49)
at
com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:
215)
at
com.google.gwt.http.client.Request.fireOnResponseReceivedImpl(Request.java:
254)
at
com.google.gwt.http.client.Request.fireOnResponseReceivedAndCatch(Request.java:
226)
at
com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:
217)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
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.moz.MethodDispatch.invoke(MethodDispatch.java:
80)
at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native
Method)
at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:
1428)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2840)
at com.google.gwt.dev.GWTShell.pumpEventLoop(GWTShell.java:720)
at com.google.gwt.dev.GWTShell.run(GWTShell.java:593)
at com.google.gwt.dev.GWTShell.main(GWTShell.java:357)
Has anyone else come across this?
Thanks very much,
Darren
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---