I am using Vaadin 8.0.6 running using jetty and trying to use push a UI update to the client using the following code:
getUI().access(()->{
saveBtn.setCaption("evaS");
getUI().push();
});
However, when I add @Push to the launcher class and try and view the page A Session Expired message comes up.
From the javascript console I get the following Errors:
com.vaadin.client.communication.MessageHandler
SEVERE: Response didn't contain a server id. Please verify that the server is up-to-date
and that the response data has not been modified in transmission.
com.vaadin.client.communication.MessageHandler
WARNING: Ignored received message because application has already been stopped
The server appears to be running without any problems and doesn’t display any exceptions.
Any help would be greatly appreciated. Thanks