JsInterop is only half implemented and not for use right now. There are several big patches that are going to land soon which change a lot about it. I would hold off using it until then.
On Fri, Jun 6, 2014 at 1:24 AM, 田传武 <i...@goodow.com> wrote: > Hello, > > I tried converted two projects we are currently using GWT Exporter to > @JsInterface for interoperate with JS. The *first project* > <https://github.com/goodow/realtime-channel/commit/e809e7cf9ee81fb4f470336212abfe113550ac8d> > only > exports three interfaces, and translated successfully. > > The second project's first migration step translated successfully, here > are the commit and compile log: > > https://github.com/goodow/realtime-store/commit/643e5efc2a92ac9cbcbadc8b7dd1d97e456bfe92 > https://travis-ci.org/goodow/realtime-store/builds/26914674 > > However, i encounter a strange NullPointerException when annotates more > @JsInterface, here are the second commit and compile log: > > https://github.com/goodow/realtime-store/commit/f9b2978c6a91d6afe9cd0d6d0ebd20adbf34480a > https://travis-ci.org/goodow/realtime-store/builds/26915260 > > Thanks for help :) > -- 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 google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.