users@jersey.java.net

[Jersey] Re: Strange Exception on Linux java.lang.IllegalArgumentException: java.net.URISyntaxException: Expected hostname at index 8: https://:443/

From: <mbuesch_at_gmail.com>
Date: Fri, 11 May 2012 09:34:16 +0000 (GMT)

I did found the Problems Source. It was an get request for '/' and an
empty Host Header, which is not a correct host as I can see: GET /
HTTP/1.1\r\nHost: \r\nConnection: close\r\n\r\n

The Details can be found here:
http://stackoverflow.com/questions/10487594/jersey-grizzly-restful-serv
er-throws-a-strange-urisyntaxexception-on-linux

I agree, that this Exception should not be thrown like this. This case
should throw an Exception which helps with more information about the
case. Also the LoggingFilter is bypassed by the Exception.