pombreda / gwt-google-apis

Automatically exported from code.google.com/p/gwt-google-apis
0 stars 0 forks source link

MapWidget won't initialize in GWT 2.2.0, api broken? #447

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Found in Release: GWT 2.2.0 

Platform information (OS, Browser, GWT version).  Does the issue exist on
other platforms? mac os x dev mode

Give a Detailed description of the problem.  If possible, please include
some code that reproduces the problem and a verbatim copy of any error
messages you can find.

 This will no longer work in 2.2.0. Error below.
 private void drawMap1() {

    Maps.loadMapsApi("ABQIAAAAoVxd5Qo5vFe3MnANAR_5IhTsnTtAAfrUs4dc6txt7LngSeIOABT2apOqWksuaeJ7GLIgJB8juKlH8g", "2", false, new Runnable() {
      public void run() {
        drawMap2();
      }
    });
  }

 private void drawMap2() {

    LatLng center = LatLng.newInstance(39.509, -98.434);

    map = new MapWidget(center, 4);
    map.setUIToDefault();
    map.addMapType(MapType.getHybridMap());
    map.setCurrentMapType(MapType.getHybridMap());
    map.setSize("100%", "100%");

    vpMap.clear();
    vpMap.add(map);
    mapListLeft.setMap(map);
  }

Workaround if you have one: None found yet for 2.2.0. Drop back to 2.1. It 
would be nice to have the api upgraded for maps v3.

Links to the relevant Google Group posts:
http://gwt-examples.googlecode.com

Error:
java.lang.ExceptionInInitializerError: null
    at com.google.gwt.maps.client.MapWidget.<init>(MapWidget.java:253)
    at com.google.gwt.maps.client.MapWidget.<init>(MapWidget.java:284)
    at com.google.gwt.maps.client.MapWidget.<init>(MapWidget.java:235)
    at com.gawkat.client.layout.Home_Maps.drawMap2(Home_Maps.java:147)
    at com.gawkat.client.layout.Home_Maps.access$0(Home_Maps.java:143)
    at com.gawkat.client.layout.Home_Maps$2.run(Home_Maps.java:138)
    at com.google.gwt.ajaxloader.client.ExceptionHelper.runProtected(ExceptionHelper.java:36)
    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)
    at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:281)
    at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:531)
    at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352)
    at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.RuntimeException: Deferred binding failed for 
'com.google.gwt.maps.client.impl.MapImpl' (did you forget to inherit a required 
module?)
    at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:53)
    at com.google.gwt.core.client.GWT.create(GWT.java:98)
    at com.google.gwt.maps.client.impl.MapImpl.<clinit>(MapImpl.java:45)
    at com.google.gwt.maps.client.MapWidget.<init>(MapWidget.java:253)
    at com.google.gwt.maps.client.MapWidget.<init>(MapWidget.java:284)
    at com.google.gwt.maps.client.MapWidget.<init>(MapWidget.java:235)
    at com.gawkat.client.layout.Home_Maps.drawMap2(Home_Maps.java:147)
    at com.gawkat.client.layout.Home_Maps.access$0(Home_Maps.java:143)
    at com.gawkat.client.layout.Home_Maps$2.run(Home_Maps.java:138)
    at com.google.gwt.ajaxloader.client.ExceptionHelper.runProtected(ExceptionHelper.java:36)
    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)
    at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:281)
    at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:531)
    at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352)
    at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.IncompatibleClassChangeError: Found interface 
com.google.gwt.core.ext.typeinfo.JClassType, but class was expected
    at com.google.gwt.maps.jsio.rebind.JSWrapperGenerator.generate(JSWrapperGenerator.java:277)
    at com.google.gwt.core.ext.GeneratorExtWrapper.generate(GeneratorExtWrapper.java:48)
    at com.google.gwt.core.ext.GeneratorExtWrapper.generateIncrementally(GeneratorExtWrapper.java:60)
    at com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:662)
    at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:41)
    at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:74)
    at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:259)
    at com.google.gwt.dev.shell.ShellModuleSpaceHost.rebind(ShellModuleSpaceHost.java:141)
    at com.google.gwt.dev.shell.ModuleSpace.rebind(ModuleSpace.java:585)
    at com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:455)
    at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:49)
    at com.google.gwt.core.client.GWT.create(GWT.java:98)
    at com.google.gwt.maps.client.impl.MapImpl.<clinit>(MapImpl.java:45)
    at com.google.gwt.maps.client.MapWidget.<init>(MapWidget.java:253)
    at com.google.gwt.maps.client.MapWidget.<init>(MapWidget.java:284)
    at com.google.gwt.maps.client.MapWidget.<init>(MapWidget.java:235)
    at com.gawkat.client.layout.Home_Maps.drawMap2(Home_Maps.java:147)
    at com.gawkat.client.layout.Home_Maps.access$0(Home_Maps.java:143)
    at com.gawkat.client.layout.Home_Maps$2.run(Home_Maps.java:138)
    at com.google.gwt.ajaxloader.client.ExceptionHelper.runProtected(ExceptionHelper.java:36)
    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)
    at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:281)
    at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:531)
    at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352)
    at java.lang.Thread.run(Thread.java:680)

Original issue reported on code.google.com by branflak...@gmail.com on 12 Feb 2011 at 9:43

GoogleCodeExporter commented 9 years ago
Found in Release: GWT 2.2.0 

Platform: Windows 7

MapWidget won't initialize... Error: 

java.lang.RuntimeException: Deferred binding failed for 
'com.google.gwt.maps.client.impl.MapImpl' (did you forget to inherit a required 
module?)    at 
com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:53)    at 
com.google.gwt.core.client.GWT.create(GWT.java:98)  at 
com.google.gwt.maps.client.impl.MapImpl.<clinit>(MapImpl.java:45)   at 
com.google.gwt.maps.client.MapWidget.<init>(MapWidget.java:253)     at 
samar.clientserver.webapps.portal.client.pages.vehicles.MakeDealers.<init>(MakeD
ealers.java:403)    at 
samar.clientserver.webapps.portal.client.pages.vehicles.MakeDealers.wrap(MakeDea
lers.java:356)  at 
samar.clientserver.webapps.portal.client.PortalEntryPoint.wrap(PortalEntryPoint.
java:109)   at 
samar.clientserver.webapps.portal.client.PortalEntryPointPro.wrap(PortalEntryPoi
ntPro.java:36)  at commons.gwt.client.ui.WidgetUtils.wrap(WidgetUtils.java:52) 
    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:157
)   at 
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForRetu
rn(BrowserChannelServer.java:326)   at 
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelSer
ver.java:207)   at 
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:129) 
    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 
samar.clientserver.webapps.portal.client.PortalEntryPoint.wrapWidgets(PortalEntr
yPoint.java)    at 
samar.clientserver.webapps.portal.client.PortalEntryPoint.onModuleLoad(PortalEnt
ryPoint.java:48)    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.ModuleSpace.onLoad(ModuleSpace.java:396)   at 
com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java
:183)   at 
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelSe
rver.java:510)  at 
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352)
    at java.lang.Thread.run(Unknown Source) Caused by: 
java.lang.IncompatibleClassChangeError: Found interface 
com.google.gwt.core.ext.typeinfo.JClassType, but class was expected     at 
com.google.gwt.maps.jsio.rebind.JSWrapperGenerator.generate(JSWrapperGenerator.j
ava:277)    at 
com.google.gwt.core.ext.GeneratorExtWrapper.generate(GeneratorExtWrapper.java:48
)   at 
com.google.gwt.core.ext.GeneratorExtWrapper.generateIncrementally(GeneratorExtWr
apper.java:60)  at 
com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(Stan
dardGeneratorContext.java:662)  at 
com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:41)   at 
com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOrac
le.java:74)     at 
com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:2
59)     at 
com.google.gwt.dev.shell.ShellModuleSpaceHost.rebind(ShellModuleSpaceHost.java:1
41)     at com.google.gwt.dev.shell.ModuleSpace.rebind(ModuleSpace.java:585)    at 
com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:455)  at 
com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:49)    at 
com.google.gwt.core.client.GWT.create(GWT.java:98)  at 
com.google.gwt.maps.client.impl.MapImpl.<clinit>(MapImpl.java:45)   at 
com.google.gwt.maps.client.MapWidget.<init>(MapWidget.java:253)     at 
samar.clientserver.webapps.portal.client.pages.vehicles.MakeDealers.<init>(MakeD
ealers.java:403)    at 
samar.clientserver.webapps.portal.client.pages.vehicles.MakeDealers.wrap(MakeDea
lers.java:356)  at 
samar.clientserver.webapps.portal.client.PortalEntryPoint.wrap(PortalEntryPoint.
java:109)   at 
samar.clientserver.webapps.portal.client.PortalEntryPointPro.wrap(PortalEntryPoi
ntPro.java:36)  at commons.gwt.client.ui.WidgetUtils.wrap(WidgetUtils.java:52) 
    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:157
)   at 
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForRetu
rn(BrowserChannelServer.java:326)   at 
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelSer
ver.java:207)   at 
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:129) 
    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 
samar.clientserver.webapps.portal.client.PortalEntryPoint.wrapWidgets(PortalEntr
yPoint.java)    at 
samar.clientserver.webapps.portal.client.PortalEntryPoint.onModuleLoad(PortalEnt
ryPoint.java:48)    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.ModuleSpace.onLoad(ModuleSpace.java:396)   at 
com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java
:183)   at 
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelSe
rver.java:510)  at 
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352)
    at java.lang.Thread.run(Unknown Source)

Original comment by piotr.go...@gmail.com on 14 Feb 2011 at 9:45

GoogleCodeExporter commented 9 years ago
There is a binary incompatibility introduced in GWT 2.2 which causes problems 
when linking against binary jars compiled with older GWT distributions.

http://code.google.com/p/google-web-toolkit/source/detail?spec=svn9733&r=9400

The workarounds are to use an older version of GWT or to re-compile 
gwt-maps.jar from source.  

http://code.google.com/p/gwt-google-apis/wiki/GettingStartedSource

Original comment by zundel@google.com on 14 Feb 2011 at 3:16

GoogleCodeExporter commented 9 years ago
Attached new jar created with GWT 2.2, solves the problem.

Original comment by parvez.c...@gmail.com on 15 Feb 2011 at 1:12

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Attached new search.jar created with GWT 2.2 (solves the similar search problem)

Original comment by nick%nil...@gtempaccount.com on 18 Feb 2011 at 10:09

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Thanks for posting the Jar, but someone should really update the standard 
gwt-maps.jar since it no longer works with GWT.  I think this issue should be 
marked with "Priority-High" given that it completely breaks Maps in GWT 2.2.

Original comment by scott@selikoff.net on 8 Mar 2011 at 6:29

GoogleCodeExporter commented 9 years ago
I realize this is a big problem for those using GWT 2.2.  Due to this binary 
incompatibility, The next release of gwt-maps will only support GWT 2.2+.

Original comment by zundel@google.com on 8 Mar 2011 at 7:13

GoogleCodeExporter commented 9 years ago
Hello,

I guess there are a lot of applications built with GWT versions prior to 
2.2. Such applications would benefit from any bugfix releases of gwt-maps or 
other google api libraries.

Besides if newer release of gwt-maps don't directly depend on features provided 
by GWT 2.2+ I can't see any reason why you should drop support for prior 
versions of GWT.

I suggest you at least follow the path taken by google-gin (2 jars, one for 
each version). This seems like the best option for now, till the dust from the 
binary incompatibility settles down.

Otherwise you 'll make the upgrade path for the rest of us, time consuming, 
error prone (as we 'll have to upgrade a lot more artifacts at once instead of 
incrementally) and thus painful.

Hopefully I voice the opinion of other developers as well and that you are 
willing to consider this option as well.

-fotos

Original comment by gfo...@gmail.com on 8 Mar 2011 at 8:59

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Thank you  branflak.... the attached "gwt-maps" working for me...

Original comment by saikrris...@gmail.com on 9 Mar 2011 at 8:20

GoogleCodeExporter commented 9 years ago
I have to agree, it is unrealistic to make the maps 2.2 + only.

Original comment by john.d.r...@gmail.com on 9 Mar 2011 at 8:51

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I think this brings to light a greater flaw in the GWT 2.2 update.  If you 
upgrade to GWT 2.2, your plug-ins must *all* be updated to newer versions.  
Alternatively, if you choose not to upgrade to GWT 2.2 at this time, you can no 
longer download *any* new plug-in releases.

Granted, there are exceptions, such as plug-in developers who will release 
multiple binary files, etc.  Overall, this makes GWT 2.2 a bigger impact 
release on existing code bases than the upgrade from GWT 1 to GWT 2.  I 
sincerely hope Google takes backwards compatibility into consideration in 
future GWT releases and reduces the occurrence of such large impact upgrades.

Original comment by scott@selikoff.net on 9 Mar 2011 at 10:10

GoogleCodeExporter commented 9 years ago
Issue 456 has been merged into this issue.

Original comment by zundel@google.com on 11 Mar 2011 at 1:15

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
gwt-search.jar for(gwt 2.2.0, compiled in this post) is not working...

Error:
java.lang.RuntimeException: Deferred binding failed for 
'com.google.gwt.search.client.impl.GdrawOptions' (did you forget to inherit a 
required module?)
    at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:53)
    at com.google.gwt.core.client.GWT.create(GWT.java:98)
    at com.google.gwt.search.client.SearchControlOptions.<init>(SearchControlOptions.java:32)
    at com.pwigo.client.Pwigo.onModuleLoad(Pwigo.java:30)
    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.ModuleSpace.onLoad(ModuleSpace.java:396)
    at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:183)
    at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:510)
    at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352)
    at java.lang.Thread.run(Unknown Source)
Caused by: com.google.gwt.core.ext.UnableToCompleteException: (see previous log 
entries)
    at com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:503)
    at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:49)
    ... 12 more

Original comment by dto...@gmail.com on 21 Mar 2011 at 1:08

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Today I've uploaded a new set of release candidate downloads for all 7
libraries.   The Maps library is unchanged (just renamed it) The
visualization library rolls in a pending fix for issue 446 in the
issue tracker (NPE in OnMouseOver events on charts)

http://code.google.com/p/gwt-google-apis/downloads/detail?name=gwt-ajaxloader-1.
1.1-rc1.zip
http://code.google.com/p/gwt-google-apis/downloads/detail?name=gwt-gadgets-1.2.1
-rc1.zip
http://code.google.com/p/gwt-google-apis/downloads/detail?name=gwt-gears-1.3.1-r
c1.zip
http://code.google.com/p/gwt-google-apis/downloads/detail?name=gwt-language-1.1.
1-rc1.zip
http://code.google.com/p/gwt-google-apis/downloads/detail?name=gwt-maps-1.1.1-rc
1.zip
http://code.google.com/p/gwt-google-apis/downloads/detail?name=gwt-search-1.1.1-
rc1.zip
http://code.google.com/p/gwt-google-apis/downloads/detail?name=gwt-visualization
-1.1.2-rc2.zip

There have only been a few downloads and I haven't had much feedback.
 I'm going to leave these up for a week or so, and if no one reports
problems, I'll  promote them to full release status.

There is unlikely to be another release of gwt-maps(v2), gwt-gears and
gwt-search because the underlying JS APIs are now deprecated.

Original comment by zundel@google.com on 14 May 2011 at 3:20

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I've downloaded gwt-gadgets-1.2.1-rc1.zip and tried it against GWT 2.3. I still 
get the same error:

java.lang.IncompatibleClassChangeError: Found interface 
com.google.gwt.core.ext.typeinfo.JClassType, but class was expected
    at com.google.gwt.gadgets.rebind.GadgetGenerator.validateType(GadgetGenerator.java:475)
    at com.google.gwt.gadgets.rebind.GadgetGenerator.generate(GadgetGenerator.java:93)
    at com.google.gwt.core.ext.GeneratorExtWrapper.generate(GeneratorExtWrapper.java:48)
    at com.google.gwt.core.ext.GeneratorExtWrapper.generateIncrementally(GeneratorExtWrapper.java:60)
    at com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:681)
    at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:41)
    at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:74)
    at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:285)
    at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:274)
    at com.google.gwt.dev.DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(DistillerRebindPermutationOracle.java:91)
    at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:513)
    at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:35)
    at com.google.gwt.dev.Precompile.precompile(Precompile.java:538)
    at com.google.gwt.dev.Precompile.precompile(Precompile.java:492)
    at com.google.gwt.dev.Precompile.precompile(Precompile.java:405)
    at com.google.gwt.dev.Compiler.run(Compiler.java:215)
    at com.google.gwt.dev.Compiler.run(Compiler.java:187)
    at com.google.gwt.dev.Compiler$1.run(Compiler.java:159)
    at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:87)
    at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:81)
    at com.google.gwt.dev.Compiler.main(Compiler.java:166)

Original comment by fabrice....@gmail.com on 25 May 2011 at 9:01

GoogleCodeExporter commented 9 years ago
If you have any other jar files on your class path that were compiled against 
an old version of GWT, you'll have the same issue.  I had to go in and make 
sure that 'gwt-servlet.jar' was cleaned and re-populated from war/WEB-INF/lib 
in the BUILD files.

Let us know if that helps.

Original comment by zundel@google.com on 25 May 2011 at 9:09

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Sorry for the delay.  I want to promote them all at the same time.  I don't 
think the maps API will change but the gadgets API has a fatal flaw.  I need to 
add script tag support back or document a workaround.

Original comment by zundel@google.com on 31 May 2011 at 12:40

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi all,

Any news ? When can we expect having the gadgets API working with GWT 2.3 ?

Thanks

Original comment by fabrice....@gmail.com on 29 Jun 2011 at 10:48

GoogleCodeExporter commented 9 years ago
The script injector patch just landed yesterday in GWT 2.4.

Original comment by zundel@google.com on 29 Jun 2011 at 11:13

GoogleCodeExporter commented 9 years ago
Means the gadgets API will "only" be compatible with GWT 2.4 ? Not really a big 
problem if the release date is not too far from now...

Original comment by fabrice....@gmail.com on 29 Jun 2011 at 11:59

GoogleCodeExporter commented 9 years ago
The latest RC1 release of google-maps.jar works with GWT 2.3.0.

Original comment by sunitkat...@gmail.com on 18 Jul 2011 at 11:17

GoogleCodeExporter commented 9 years ago
I was also having same problem while working with GWT 2.3.x. 

gwt-maps.jar attached here in the thread works fine.

Thanks a lot.

Original comment by ashishmt...@gmail.com on 20 Sep 2011 at 12:50