Problem Update variable in client side

When I try to update variables in client side, the server side throw exception before it come to my own code

2009-12-28 23:56:29,930 ERROR [STDERR]
java.lang.NumberFormatException: For input string: “false”
2009-12-28 23:56:29,930 ERROR [STDERR]
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1224)
2009-12-28 23:56:29,930 ERROR [STDERR]
at java.lang.Double.valueOf(Double.java:475)
2009-12-28 23:56:29,930 ERROR [STDERR]
at com.vaadin.terminal.gwt.server.CommunicationManager.convertVariableValue(CommunicationManager.java:913)
2009-12-28 23:56:29,930 ERROR [STDERR]
at com.vaadin.terminal.gwt.server.CommunicationManager.handleVariables(CommunicationManager.java:725)
2009-12-28 23:56:29,930 ERROR [STDERR]
at com.vaadin.terminal.gwt.server.CommunicationManager.handleUidlRequest(CommunicationManager.java:300)
2009-12-28 23:56:29,930 ERROR [STDERR]
at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(AbstractApplicationServlet.java:432)

in client side I update following variables


					client.updateVariable(paintableId, "resolutionforzoom", eventObject.getSource().getResolutionForZoom(), false);
					client.updateVariable(paintableId, "zoom", eventObject.getSource().getZoom(), false);
					client.updateVariable(paintableId, "extent_lowerleftx", eventObject.getSource().getExtent().getLowerLeftX(), false);
					client.updateVariable(paintableId, "extent_lowerlefty", eventObject.getSource().getExtent().getLowerLeftY(), false);
					client.updateVariable(paintableId, "extent_upperrightx", eventObject.getSource().getExtent().getUpperRightX(), false);
					client.updateVariable(paintableId, "extent_upperrighty", eventObject.getSource().getExtent().getUpperRightY(), false);
					client.updateVariable(paintableId, "scale", eventObject.getSource().getScale(), false);
					client.updateVariable(paintableId, "center_lon", eventObject.getSource().getCenter().lon(), false);
					client.updateVariable(paintableId, "center_lat", eventObject.getSource().getCenter().lat(), true);

…and this is what firebug show in post action (special characters are added by manually):


100260<GS>false<US>PID17<US>resolutionforzoomd<US>5<RS>PID17<US>zoom<US>i<RS>-1609454.0672844PID17extent_lowerleftxd5PID17extent_lowerleftyd1609462.0672844PID17extent_upperrightxd5PID17extent_upperrightyd13867008.522629378PID17scaled4PID17center_lond5PID17center_latd

100260 is vaadin security key, but what is parameter false?

Hi again!

I resolved problem uncommented resolutionforzoom variable. It look like that second argument after security key is first variable value. Next arguments are variable name and variable datatype. Am I right?
Somehow resolutionforzoom of variable datatype and value was inccorrect.

After this fix I got new problem. My application show error message: Communication problem: Invalid security key.

firebug net traffic:

post reques:
2919045PID17zoomi-2546266.2857797PID17extent_lowerleftxd5PID17extent_lowerleftyd2546274.2857797PID17extent_upperrightxd5PID17extent_upperrightyd13867008.522629378PID17scaled4PID17center_lond5PID17center_latd
response:
for(;;);[{“changes”:[[“change”,{“format”: “uidl”,“pid”: “PID3”},[“accordion”,{“id”: “PID3”,“width”: “240px”,“immediate”:true,“v”:{“selected”:“2”}},[“tabs”,{},[“tab”,{“caption”: “Layers”,“key”: “1”}]
,[“tab”,{“caption”: “Query”,“key”: “2”,“selected”:true},[“verticallayout”,{“id”: “PID4”,“cached”:true}]
],[“tab”,{“caption”: “Processes”,“key”: “3”}]
]]]], “meta” : {}, “resources” : {}, “locales”:}]

so everything still work fine, but after I click accordion to page what contains one label with values of variables (zoom, extent etc.):

request:
2919043PID3selecteds
response:
for(;;);[{“changes”:
, “meta” : {“appError”: {“caption”:“Communication problem”,“message” : “Take note of any unsaved data, and click here to continue.

Invalid security key.”,“url” : null}}, “resources”: {}, “locales”:}]

in server side log I can see same message than in client side: Invalide vaadin security key.

Server side and client side should use same vaadin version. I am not pretty sure because we are using maven and we building widgetset using gwt-maven-plugin version 1.1 and there is depency to vaadin 6.1.5 (same version than server side).