So, did you recompile gwt-maps with GWT 2.2.0? http://code.google.com/p/gwt-google-apis/issues/detail?id=447
I wonder if the jsio libraries were excluded from your .jar file for some reason? On Wed, Apr 6, 2011 at 7:42 AM, Alberto <[email protected]> wrote: > Hi everybody, I've bought a mac (macbook pro i7) and I must use Google > Maps 1.1 Library to develop an application. > > The problem is that if I try to run the library tutorial (http:// > code.google.com/p/gwt-google-apis/wiki/MapsGettingStarted) I have this > problem during execution: > > > 13:25:29.654 [ERROR] [provamaps] Uncaught exception escaped > > 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 dominio.sito.provaMaps.client.ProvaMaps.buildUi(ProvaMaps.java: > 39) > at dominio.sito.provaMaps.client.ProvaMaps.access$0(ProvaMaps.java: > 35) > at dominio.sito.provaMaps.client.ProvaMaps$1.run(ProvaMaps.java: > 30) > 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 dominio.sito.provaMaps.client.ProvaMaps.buildUi(ProvaMaps.java: > 39) > at dominio.sito.provaMaps.client.ProvaMaps.access$0(ProvaMaps.java: > 35) > at dominio.sito.provaMaps.client.ProvaMaps$1.run(ProvaMaps.java: > 30) > 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 dominio.sito.provaMaps.client.ProvaMaps.buildUi(ProvaMaps.java: > 39) > at dominio.sito.provaMaps.client.ProvaMaps.access$0(ProvaMaps.java: > 35) > at dominio.sito.provaMaps.client.ProvaMaps$1.run(ProvaMaps.java: > 30) > 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) > > > > It works fine on linux or windows, but doesn't work on snow leopard. > > This is my xml: > > <?xml version="1.0" encoding="UTF-8"?> > <module rename-to='provamaps'> > <!-- Inherit the core Web Toolkit stuff. --> > <inherits name='com.google.gwt.user.User'/> > > <inherits name='com.google.gwt.maps.GoogleMaps'/> > <!-- Inherit the default GWT style sheet. You can change --> > <!-- the theme of your GWT application by uncommenting --> > <!-- any one of the following lines. --> > <inherits name='com.google.gwt.user.theme.standard.Standard'/> > <!-- <inherits name='com.google.gwt.user.theme.chrome.Chrome'/> --> > <!-- <inherits name='com.google.gwt.user.theme.dark.Dark'/> --> > > <!-- Other module inherits --> > > <!-- Specify the app entry point class. --> > <entry-point class='dominio.sito.provaMaps.client.ProvaMaps'/> > > <!-- Specify the paths for translatable code --> > <source path='client'/> > <source path='shared'/> > > </module> > > > Can you help me please? 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. > > -- Eric Z. Ayers Google Web Toolkit, Atlanta, GA USA -- 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.
