GWT Designer + MGWT library = Runtime exception

245 views
Skip to first unread message

Transplant

unread,
Feb 8, 2012, 3:52:55 PM2/8/12
to Google Web Toolkit

I'm trying to use GWT Designer design mode with the mGWT mobile widget
library. I can reference the library widgets in XML and compile/run
just fine, but when I try to switch from XML Source mode to Design
mode in GWT Designer I get a runtime exception:

Internal Error
encountered unexpected internal error.
This could be caused by a bug or by a misconfiguration issue,
conflict, partial update, etc.
java.lang.RuntimeException: Deferred binding failed for
'com.google.gwt.user.client.impl.DOMImpl' (did you forget to inherit a
required module?)


The mgwt library is in the build path, and I can freely use its
classes in UIBinder XML files, but it always barfs up when I try to
enter design mode. Since mGWT defines a larger number of target
platforms than vanilla GWT, is it possible that GWT Designer is asking
the mGWT library to instantiate an implementation of DOMImpl for a
platform that base GWT doesn't have - causing the above exception?
Since most of the mobile platforms share the same or similar DOM
implementation (a la webkit) is there some way for the mGWT library to
tell GWT Designer to use a safari implementation of DOMImpl as the
default?

Thanks in advance,


iassael

unread,
Feb 8, 2012, 4:13:40 PM2/8/12
to Google Web Toolkit
Same problem here and I was just looking for a solution

Konstantin Scheglov

unread,
Feb 10, 2012, 2:26:56 PM2/10/12
to google-we...@googlegroups.com

Daniel Kurka

unread,
Feb 10, 2012, 5:14:47 PM2/10/12
to google-we...@googlegroups.com
GWT Designer not supporting custom binding properties leads to problems with mgwt.

The issue is open since Aug 11. Is this issue scheduled in any way?

Maybe one could propose a patch that would fix this?

Otherwise we would have to eliminate all deferred binding in gwt,xml files and move it into generators (which is not very nice) and remove all custom variables from css....
(and maybe a lot more..)
 


2012/2/10 Konstantin Scheglov <sche...@google.com>
http://code.google.com/p/google-web-toolkit/issues/detail?id=6693

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/HYbnsi3E9_cJ.

To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Konstantin Scheglov

unread,
Feb 11, 2012, 9:54:13 AM2/11/12
to google-we...@googlegroups.com
I'm working now on property-provider scripts support.
It works in general and allows me to open mGWT UI - RootPanel with Button.
I need some time for testing this change though.

Daniel Kurka

unread,
Feb 11, 2012, 10:56:54 AM2/11/12
to google-we...@googlegroups.com
This sounds great, please let me know if I can do anything to help / speed this up.

- Daniel

2012/2/11 Konstantin Scheglov <konstanti...@gmail.com>
I'm working now on property-provider scripts support.
It works in general and allows me to open mGWT UI - RootPanel with Button.
I need some time for testing this change though.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

Konstantin Scheglov

unread,
Feb 16, 2012, 9:35:47 AM2/16/12
to google-we...@googlegroups.com
Fixed in GWT Designer trunk.

John Gentilin

unread,
Apr 13, 2012, 5:09:28 AM4/13/12
to google-we...@googlegroups.com
Konstantin,

Has this version of truck been made available for the Eclipse updates ?
I just upgraded to the latest and the problem still exists.

Thank You
John Gentilin

On Thursday, February 16, 2012 6:35:47 AM UTC-8, Konstantin Scheglov wrote:
Fixed in GWT Designer trunk.
Reply all
Reply to author
Forward
0 new messages