I tried the code on 1.0 and 0.22 (win7/64) both failed with the exception you got, so bug confirmed. The auto formatting crashes too. There is probably a buffer overrun intern in the IDE that cannot hold strings that are too long.
The cause is two long strings. (two not one). if these two strings are removed from the code the application compiles perfectly (not tried to run it) .
Solutions:
-
Split the strings up in shorter ones, that are client.print()-ed seperately .
You will still have problems with the restricted memory of the UNO ==> to be solved with progmem / F() -
Write these strings (all html content) to an SDcard and read it when needed to send over the internet.
imho the better solution.