vaadin 7.1+scala: how to perform an asynchronous call?

I forgot to give you the error message:

Communication problem

Take note of any unsaved data, and click here to continue.(SyntaxError) stack: Ica@http://localhost:8080/N02:330 HR@http://localhost:8080/N02:315 _.Sc@http://localhost:8080/N02:338 _.Qc@http://localhost:8080/N02:123 hH/a.onreadystatechange<@http://localhost:8080/N02:299 pu/<@http://localhost:8080/N02:1957 fileName: http://localhost:8080/N02 lineNumber: 331 columnNumber: 0: syntax error - Original JSON-text: html>