On Tuesday, June 7, 2011 9:56:10 PM UTC+2, Ryan McFall wrote: > > For others who might see this message, I quickly discovered my > problem. In the TagRequest class (which extends RequestContext), the > method getTags is declared to return a List<Tag>. That should have > been List<ITag>, as ITag is the interface which extends EntityProxy. > The error message seems to indicate to me there is something wrong > with the Tag class, rather than the true source of the error. Perhaps > the error message could have been different, but I place at least 90% > of the blame squarely on my own shoulders :-)
Searching for the error message in GWT's code [1] which lead to this method [2], where you can see what types are checked: "Simple values, like Integer and String", "EntityProxy and ValueProxy return types", Collection, or Map. But well, I an't find a way to make this message clearer without making it too long: "invalid Request parameterization" clearly means the type parameter is wrong, not what's *in* that type, but the type itself (i.e. the classes or interfaces it extends) [1] http://www.google.com/codesearch?q=%22Invalid+Request+parameterization%22+package%3Ahttp%3A%2F%2Fgoogle-web-toolkit%5C.googlecode%5C.com [2] http://www.google.com/codesearch/p#A1edwVHBClQ/user/src/com/google/web/bindery/requestfactory/gwt/rebind/model/RequestFactoryModel.java&q=%22Invalid%20Request%20parameterization%22%20package:http://google-web-toolkit%5C.googlecode%5C.com&l=397 -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/aTcwQ0d0eGRCZjBK. 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.
