Error 500: java.lang.IllegalArgumentException: Invalid LF not followed by whitespace