Skip to content
This repository has been archived by the owner on Dec 8, 2017. It is now read-only.

Error when coverting to GWT 2.2.0 #54

Closed
GoogleCodeExporter opened this issue Mar 13, 2015 · 1 comment
Closed

Error when coverting to GWT 2.2.0 #54

GoogleCodeExporter opened this issue Mar 13, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Does the issue occur in "quirks mode", "standards mode" or both? If you
don't know, does your HTML page contains a DOCTYPE declaration?
n/a

What version of GWT are you using? 1.4.60? 2.0.4? Other?
2.2.0

What version of the gwt-log jar file or library file are you using?
3.0.4

What operating system(s) are you using? Windows? Linux? Mac?
Mac

Does the issue occur in web mode, development mode (formerly "hosted
mode"), both or don't know?
hosted mode

What browser(s) do you use? Chrome, Firefox, IE, Safari, other?
chrome

What is the browser version (if you know) from Help->About?
10.0.648.45 dev (mac)

What steps will reproduce the problem? Please attach sample code if you
can.
Just ran an existing app that used to work

What is the expected output? What do you see instead?
n/a

Do you have a workaround?
n/a

Please provide any additional information below.

I just upgraded to GWT 2.2.0, but make no changes to the app itself --- just 
installed the new GWT ver.

My app is now failing with the following Exception:


12:29:30.583 [ERROR] [todo.app] Failed to create an instance of 
'com.allen_sauer.gwt.log.client.RemoteLogger' via deferred binding 

java.lang.RuntimeException: Deferred binding failed for 
'com.allen_sauer.gwt.log.client.RemoteLoggerConfig' (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.allen_sauer.gwt.log.client.RemoteLoggerImpl.<clinit>(RemoteLoggerImpl.java:33)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at com.google.gwt.dev.shell.ModuleSpace.loadClassFromSourceName(ModuleSpace.java:654)
    at com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:458)
    at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:49)
    at com.google.gwt.core.client.GWT.create(GWT.java:98)
    at com.allen_sauer.gwt.log.client.impl.LogImplBase.init(LogImplBase.java:207)
    at com.allen_sauer.gwt.log.client.Log.<clinit>(Log.java:69)
    at com.holub.todo.client.ToDoLists.<init>(ToDoLists.java:90)
    at com.holub.todo.client.Session.getSampleToDoLists(Session.java:540)
    at com.holub.todo.client.User.noListsAvaialableForThisUser(User.java:97)
    at com.holub.todo.client.User.<init>(User.java:63)
    at com.holub.todo.client.ToDoApp$3.logout(ToDoApp.java:140)
    at com.holub.login.client.LoginPanelConnector.relayLogout(LoginPanelConnector.java:96)
    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.allen_sauer.gwt.log.rebind.RemoteLoggerConfigGenerator.generate(RemoteLoggerConfigGenerator.java:53)
    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.allen_sauer.gwt.log.client.RemoteLoggerImpl.<clinit>(RemoteLoggerImpl.java:33)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at com.google.gwt.dev.shell.ModuleSpace.loadClassFromSourceName(ModuleSpace.java:654)
    at com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:458)
    at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:49)
    at com.google.gwt.core.client.GWT.create(GWT.java:98)
    at com.allen_sauer.gwt.log.client.impl.LogImplBase.init(LogImplBase.java:207)
    at com.allen_sauer.gwt.log.client.Log.<clinit>(Log.java:69)
    at com.holub.todo.client.ToDoLists.<init>(ToDoLists.java:90)
    at com.holub.todo.client.Session.getSampleToDoLists(Session.java:540)
    at com.holub.todo.client.User.noListsAvaialableForThisUser(User.java:97)
    at com.holub.todo.client.User.<init>(User.java:63)
    at com.holub.todo.client.ToDoApp$3.logout(ToDoApp.java:140)
    at com.holub.login.client.LoginPanelConnector.relayLogout(LoginPanelConnector.java:96)
    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 al...@holub.com on 14 Feb 2011 at 8:37

@GoogleCodeExporter
Copy link
Author

This error message is due an incompatible binary change which was made in GWT 
2.2, which affects libraries which use generators, which includes gwt-log.

Please upgrade to a compatible version of gwt-log.

For an up to date version matrix, see:
  http://code.google.com/p/gwt-log/wiki/GettingStarted

Original comment by fredsa@google.com on 15 Feb 2011 at 7:15

  • Changed state: Fixed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant