Hi. I found next problem with my gwt-maps based project.
I use several map components on one page. The both components are in
pop-up windows. The both components should provide handler for on map
click event.
When the first map component initialized - everything works ok. But
when the second tries to add onclick handler - the runtime error
occurs:

Deferred binding failed for
'com.google.gwt.maps.client.impl.EventImpl' (did you forget to inherit
a required module?)

Stack trace:

com.google.gwt.maps.jsio.client.MultipleWrapperException: null
    at
com.google.gwt.maps.jsio.client.impl.JSONWrapperUtil.throwMultipleWrapperException
(JSONWrapperUtil.java:169)
    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.MethodDispatch.invoke
(MethodDispatch.java:71)
    at com.google.gwt.dev.shell.OophmSessionHandler.invoke
(OophmSessionHandler.java:157)
...

My code is:

...
Grid grid = new Grid(4, 2);
Marker marker = new Marker(point);
map.addOverlay(marker);
InfoWindow info = map.getInfoWindow();
info.open(marker, new InfoWindowContent(grid));
...

The program crashes on line "info.open(marker, new InfoWindowContent
(grid));". The interesting thing is that if I change the order of
initialization of first and second map components in pop-up windows,
the problem occurs only on those component which was initialized last.

Has anybody seen such problem?
Thanks.
-- 
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.


Reply via email to