Pero
Pero

Reputation: 794

gwt something other than an int was returned from jsni method

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.

strange grafic object appears on the browser while running the gwt project

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

Upvotes: 5

Views: 2671

Answers (2)

Christian
Christian

Reputation: 305

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" />

Upvotes: 0

Felix Lechner
Felix Lechner

Reputation: 468

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

Upvotes: 6

Related Questions