#28334

IllegalStateException: getOutputStream() has already been called is a known issue:
pdf-generation-troubleshooting-f4/getoutputstream-has-already-been-called-exception-t14.html

IllegalStateException: http: //localhost/test.html: tried to write Y bytes with content-length Y is something new for us, but could also be caused by new line and whitespace characters lead tag