I have a very simple TicTacToe game using PlayN and Tomcat that works fine in Java. However, the html version on Chrome keeps getting:
[FATAL] Uncaught JavaScript exception [Uncaught RangeError: ArrayBufferView size is not a small enough positive integer.]
as soon as the server writes some stuff on the socket.
On Firefox, the exception is:
[FATAL] Uncaught JavaScript exception [Error: invalid arguments] in...
How can a buffer be "not small enough"?