Finally I find the solution!
In my dto I declared a property of type class X in which I declared an enum 
in this manner:

  public enum Type {
    SHORT ("S"), 
    MEDIUM ("M"), 
    LONG ("L");
    private String code;
    private Type(String code) {
      this.code = code;
    }
    public String getCode() {
      return code;
    }
  }

When I replaced the enum with constants all the strange behaviors of the 
gwt rpc generator disappeared.
I dit not test more in depth to find the right declaration of the enum, but 
now I know that this was the cause.
I could only point out to the GWT team that maybe it would be better to 
improve the error messages to help the developer to find the right field 
not compliant to the serialization policies.

Best regards
Marcello De Marco


-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to