gwt something other than an int was returned from jsni method

依然范特西╮ 提交于 2019-12-21 05:06:10

问题


since today i get an this error message for the same code like yesterday, but i changed nothing. i get this error message

[WARN] [perchsearch] - Something other than an int was returned from JSNI method '@com.google.gwt.dom.client.DOMImplStandardBase$ClientRect::getTop()': Rounding double (178.40000915527344) to int for int

and when i run the project on the browser a strange grafic object appears on the chrome browser (for firefox doesnt exists a gwt plugin for my version) , but i dont know how and from where.here is the pic of this grafic.

is there any solution how i can remove this thing? its really anoying.


回答1:


I get that error when changing the zooming in Chrome. Just reset it to 100%.




回答2:


That window is a popupHandler for logging purposes, see. You need to disable it in you module.gwt.xml:

<set-property name="gwt.logging.popupHandler" value="DISABLED" />


来源:https://stackoverflow.com/questions/9984298/gwt-something-other-than-an-int-was-returned-from-jsni-method

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!