Mail sent on the 09/01 and apparently lost. --- Hello Vincent,
thanks a lot for your help! I've fixed the NPE and updated the svn repository. However, I will discuss this point with Jérôme. best regards, Thierry Boileau
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,