Details
Description
@POST
@Path("/method/
/param2}")
@Consumes(MediaType.APPLICATION_JSON)
public void method(@PathParam("param1") String param1, @PathParam("param2") String param2, MyPojo myPojo)
if myPojo is null, i got a NullPointerException :
java.lang.NullPointerException
at org.apache.cxf.jaxrs.client.ClientProxyImpl.invoke(ClientProxyImpl.java:207)
because : params[bodyIndex] is null and the method ask : params[bodyIndex].getClass()