I'm in the process of trying to narrow this down and eliminate any
dumb mistakes on my part, but it's got me a bit baffled. In my
reproducer I've got a trivial GWTTestCase (one test method w/
assertTrue(true)) that consistently causes this error:

[INFO] [ERROR] Failed to create an instance of
'com.google.gwt.junit.client.impl.JUnitHost' via deferred binding
[...]
[INFO] Caused by: java.lang.VerifyError: (class: com/google/gwt/user/
client/rpc/core/java/util/WeakHashMap_FieldSerializer, method:
serialize signature: (Lcom/google/gwt/user/client/rpc/
SerializationStreamWriter;Ljava/util/WeakHashMap;)V) Incompatible
argument to function

This seems to be caused by something specific to my project
environment; the same GWTTestCase does not fail when executed from
within a trivial app created by webAppCreator. My project is maven-
based, and my dependencies look like this:

[INFO] +- com.google.gwt:gwt-user:jar:2.0.0:compile
[INFO] +- com.google.inject:guice:jar:2.0:compile
[INFO] |  \- aopalliance:aopalliance:jar:1.0:compile
[INFO] +- com.google.gwt.inject:gin:jar:1.0.0:compile
[INFO] +- net.customware.gwt.presenter:gwt-presenter:jar:1.0.0-
SNAPSHOT:compile
[INFO] +- org.restlet.gwt:org.restlet:jar:2.0-M6:compile
[INFO] +- junit:junit:jar:4.7:test
[INFO] \- org.easymock:easymockclassextension:jar:2.4:test
[INFO]    +- org.easymock:easymock:jar:2.4:test
[INFO]    \- cglib:cglib-nodep:jar:2.1_3:test

Has anyone run into something similar?
-- 
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