Friday, December 2, 2016

Re: GWT [Error] Rebind result 'com.viktor.MyClassJSO' cannot be a JSO



On Friday, December 2, 2016 at 8:24:01 AM UTC+1, Viktor Krejčíř wrote:

Hi all,

after upgrading from GWT 2.6. to 2.8 stable version, I've started getting this error during compilation.

The MyClassJSO is just plain JSO class (extends JavaScriptObject), so I really don't know where the problem is.


Does anyone know what does this error exactly mean?


"Rebind result" means something returned from a call to GWT.create(…). This can be the result of a <replace-with> rule in your gwt.xml, what a generator returns (invoked because of a <generate-with> rule in your gwt.xml), or simply the class passed to the GWT.create(…) it no <replace-with> or <generate-with> rule matched.
 

I've managed to change logging level to more verbose one, but no further info appears.


You should at least find the place of the GWT.create() call leading to this error, and depending on the log level the replace-with or generate-with rule in use (if any).
Note that the GWT.create(…) call can itself be in some code created by a generator (such as Google GIN, or UiBinder).

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment