Hi,
I can get a NPE when i perform a HTTP OPTIONS request with a bad accept
header ("text/xml" in my case):
curl -v -X OPTIONS -H "Accept: text/xml"
"http://localhost:8080/my-webapp/restlet/service/0"The line 170 throws the exception (variant is null): if (MediaType.APPLICATION_WADL_XML.equals(variant.getMediaType())) I dont know what you prefer to do: returns null or handles the right http status (or both :)) Cheers, -- Vincent Ricard

