If you try to specify that a method doesn't produce anything:
public Response putObject()
return Response.create(new URI(....)).build();
You end with an array out of bounds error HttpHeaderReader.readQualitySourceMediaType when building up the WADL.
I have supplied a proposed patch and a unit test. The change means that in the above case an empty response element is created in the WADL as not representations are specified.