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, 田传武 <[email protected]> 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 "GWT Contributors" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAPVRV7erTDtJ9CUT40zhXg5vk193vUODcVUUfa827zThD9c0ww%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
