Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 01AC0110CC for ; Mon, 19 May 2014 13:53:39 +0000 (UTC) Received: (qmail 59780 invoked by uid 500); 19 May 2014 13:53:38 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 59684 invoked by uid 500); 19 May 2014 13:53:38 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 59565 invoked by uid 99); 19 May 2014 13:53:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 May 2014 13:53:38 +0000 Date: Mon, 19 May 2014 13:53:38 +0000 (UTC) From: =?utf-8?Q?c=C3=A9dric_ghanassia_=28JIRA=29?= To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CXF-5749) Nullpointer on ClientProxyImpl MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 c=C3=A9dric ghanassia created CXF-5749: ------------------------------------- Summary: 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=C3=A9dric ghanassia Priority: Blocker @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 =09at org.apache.cxf.jaxrs.client.ClientProxyImpl.invoke(ClientProxyImpl.ja= va:207) because : params[bodyIndex] is null and the method ask : params[bodyIndex].= getClass() -- This message was sent by Atlassian JIRA (v6.2#6252)