Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

RuntimeException - Could not convertVariable 'scrollTop' in Zoomed Chrome w

James Harig
8 years ago Dec 02, 2014 8:56pm

I am using Vaadin 6.8.15, and Chrome Version 39.0.2171.71 m.

 Any help that you can provide me on this issue is greatly appreciated.

When viewing a page in chrome, and the zoom is set to something like 110%, the browser sends variable update for an integer variable, but specifies a float value.

The following is an excerpt of what Chrome posts to the server.  For simplicity, I've replaced the unicode characters with something a little more readable:

<GS> - Group Separator '/u001D'
<RS> - Record Separator '/u001E'
<US> - Unit Separator '/u001F'


I've highlighted / bolded the variable update that is causing the issue.

Here's the stack trace:

Trace: java.lang.RuntimeException: Could not convert variable "scrollTop" for com.vaadin.ui.Window (PID3394)
        at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.decodeVariable(AbstractCommunicationManager.java:1578)
        at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleVariableBurst(AbstractCommunicationManager.java:1384)
        at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleVariables(AbstractCommunicationManager.java:1329)
        at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.doHandleUidlRequest(AbstractCommunicationManager.java:761)
        at com.vaadin.terminal.gwt.server.CommunicationManager.handleUidlRequest(CommunicationManager.java:325)
        at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(AbstractApplicationServlet.java:501)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

Thank you!  Any help or advice is greatly appreciated!


James Harig
8 years ago Dec 04, 2014 3:38pm
David Eriksson
8 years ago Dec 11, 2014 2:04pm
James Harig
8 years ago Dec 11, 2014 2:15pm

Cool!  I wondered if I would have to do something like that.  Thanks!  I'm glad I'm not the only one who is facing this issue.  

David Eriksson
8 years ago Dec 11, 2014 2:20pm
James Harig
8 years ago Dec 11, 2014 2:53pm
David Eriksson
8 years ago Dec 12, 2014 7:26am
Dan Mattsson
8 years ago Dec 15, 2014 5:20pm
David Eriksson
8 years ago Dec 16, 2014 7:10am
Imants Karulis
8 years ago Mar 24, 2015 10:13am
David Eriksson
8 years ago Mar 24, 2015 11:10am
Imants Karulis
8 years ago Mar 24, 2015 12:34pm
Ryan Konkul
6 years ago Feb 15, 2017 4:20pm

This was fixed in vaadin version 6.8.18

David Eriksson
6 years ago Feb 16, 2017 11:24am