When Migrating JsInterop from GWT-Exporter to @JsInterface, JSORestrictionsChecker throws NullPointerException

88 views
Skip to first unread message

田传武

unread,
Jun 6, 2014, 4:24:54 AM6/6/14
to google-web-tool...@googlegroups.com, cromw...@google.com, gok...@google.com, ja...@wetheinter.net, google-we...@googlegroups.com
Hello,

I tried converted two projects we are currently using GWT Exporter to @JsInterface for interoperate with JS. The first project only exports three interfaces, and translated successfully. 

The second project's first migration step translated successfully, here are the commit and compile log:

However, i encounter a strange NullPointerException when annotates more @JsInterface, here are the second commit and compile log:

Thanks for help :)

Ray Cromwell

unread,
Jun 6, 2014, 11:58:16 AM6/6/14
to 田传武, google-web-toolkit-contributors, Goktug Gokdogan, James Nelson, google-we...@googlegroups.com

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.

田传武

unread,
Jun 14, 2014, 7:51:06 AM6/14/14
to google-web-tool...@googlegroups.com, i...@goodow.com, gok...@google.com, ja...@wetheinter.net, google-we...@googlegroups.com, t.br...@gmail.com
Will JsInterop be released in June? Can't wait for it ;-)
Reply all
Reply to author
Forward
0 new messages