|
From: Ted J. <te...@re...> - 2011-04-14 18:54:34
|
Upgrading RESTEasy solved my issue.
----- Original Message -----
From: "Ted Jones" <te...@re...>
To: res...@li...
Sent: Thursday, April 14, 2011 10:57:13 AM
Subject: [Resteasy-users] Failed processing arguments for DELETE
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
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Resteasy-users mailing list
Res...@li...
https://lists.sourceforge.net/lists/listinfo/resteasy-users
|