|
From: Ted J. <te...@re...> - 2011-04-14 15:57:20
|
I have a method to handle DELETE requests that looks like this:
@DELETE
@Path("{isbn}")
@Produces("application/xml")
public String deleteBook(@PathParam("isbn") String isbn) {
...
}
This results in a 400 error with the message: The request sent by the client was syntactically incorrect (Failed processing arguments of public java.lang.String org.teiid.rest.services.BookResource.deleteBook(java.lang.String)).
The underlying exception is this:
Caused by: java.lang.NullPointerException
10:36:20,468 ERROR [STDERR] at org.jboss.resteasy.core.PathParamInjector.inject(PathParamInjector.java:74)
My URL passed in is this: http://localhost:8080/simple/teiid-rest/book/1
I have a GET operation with the same signature that works as expected.
Any thoughts on why I might be getting this error?
Thanks,
Ted
|