Maybe third time is a charm... I keep hitting tab-enter.. :(
OK. So here are my overly simplified classes. When I send these object
to the server via a basic Test.serial( Serializable s ) RCP service
the following happens:
Test.serial( new Request() ); // passes
Test.serial( new Request("kevin") ); // throws exception
Test.serial( new Query("kevin") // passes
Test.serial( new Request("kevin").getQuery() ) // passes.
Obviously, this simple case will pass for everyone so there has got to
be something else in my code that is breaking it. But I can't find a
good way to debug it. Any tips / tricks into diagnosing this issue
would be greatly appreciated. I'm debugging through the GWT code and
the http seems to be coming from the URL to the service. My guess is
that as its parsing the HTTP Post it's position is getting messed up.
class Request implements Serialiable {
Query q;
public Request() {}
public Request( Query q ) {
this.q = q;
}
public Request(String s) {
q = new Query( s );
}
public Query getQuery() { return q; }
}
class Query {
String s;
public Query() {
}
public Query(String s) {
this.s = s;
}
}
--
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.