Saturday, December 20, 2014

Re:' must be a class

Wow. Jens, thank you. Can't believe I missed that. There is no render() method for the 'starImage' because it was removed a while back, however, I guess I forgot to remove it from the the ui.xml file. Bizarre that the error showed up now and not before.

With that line removed it compiles now under SDM.

Thanks for being a fresh set of eyes.


On Saturday, December 20, 2014 11:57:05 AM UTC-8, Jens wrote:
Maybe you have not pasted it but you did not provide a method parameter on the render() method for

<ui:with field='starImage' type=''/>

Without such a method parameter GWT will probably try to call GWT.create(SafeHtml.class) to get an instance for the <ui:with> field, which fails because there are no replace-with/generate-with rules for the SafeHtml interface in GWT.

-- J.

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
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment