You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2014/05/20 17:58:39 UTC
[jira] [Resolved] (CXF-5749) Nullpointer on ClientProxyImpl
[ https://issues.apache.org/jira/browse/CXF-5749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Beryozkin resolved CXF-5749.
-----------------------------------
Resolution: Fixed
Fix Version/s: 3.0.1
2.7.12
Assignee: Sergey Beryozkin
> Nullpointer on ClientProxyImpl
> ------------------------------
>
> Key: CXF-5749
> URL: https://issues.apache.org/jira/browse/CXF-5749
> Project: CXF
> Issue Type: Bug
> Components: JAX-RS
> Affects Versions: 3.0.0-milestone2
> Reporter: cédric ghanassia
> Assignee: Sergey Beryozkin
> Fix For: 2.7.12, 3.0.1
>
>
> @POST
> @Path("/method/{param1}/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()
--
This message was sent by Atlassian JIRA
(v6.2#6252)