Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 38544 invoked from network); 8 Apr 2011 12:58:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Apr 2011 12:58:43 -0000 Received: (qmail 31983 invoked by uid 500); 8 Apr 2011 12:58:43 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 31959 invoked by uid 500); 8 Apr 2011 12:58:43 -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 31950 invoked by uid 99); 8 Apr 2011 12:58:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Apr 2011 12:58:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Apr 2011 12:58:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C76A6989D8 for ; Fri, 8 Apr 2011 12:58:05 +0000 (UTC) Date: Fri, 8 Apr 2011 12:58:05 +0000 (UTC) From: "Sergey Beryozkin (JIRA)" To: issues@cxf.apache.org Message-ID: <400428145.43692.1302267485813.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (CXF-2916) unmarshalling the JSON of a subclass fails when a field value is null MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-2916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Beryozkin resolved CXF-2916. ----------------------------------- Resolution: Fixed Fix Version/s: 2.3.4 2.4 Assignee: Sergey Beryozkin > unmarshalling the JSON of a subclass fails when a field value is null > --------------------------------------------------------------------- > > Key: CXF-2916 > URL: https://issues.apache.org/jira/browse/CXF-2916 > Project: CXF > Issue Type: Bug > Components: JAX-RS > Affects Versions: 2.2.9 > Environment: Windows XP, JDK 1.6.0_14 > Reporter: Chaitanya Choleti > Assignee: Sergey Beryozkin > Fix For: 2.4, 2.3.4 > > Attachments: CXF-2916-jettison.patch, CXF-2916.patch > > Original Estimate: 24h > Remaining Estimate: 24h > > Unmarshalling the JSON : > {"@xsi.type" : "subClassTest", "id" : "10000000", "name" : null } > should give an instance of SubClassTest.class and the value of the field name(which is a String) should be null, but with the current implementation the value of the field name is String "null" . > This happens only in the case of unmarshalling JSON to a subclass. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira