Return-Path: Delivered-To: apmail-pivot-dev-archive@www.apache.org Received: (qmail 38921 invoked from network); 18 Apr 2011 12:24:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Apr 2011 12:24:49 -0000 Received: (qmail 77177 invoked by uid 500); 18 Apr 2011 12:24:49 -0000 Delivered-To: apmail-pivot-dev-archive@pivot.apache.org Received: (qmail 77156 invoked by uid 500); 18 Apr 2011 12:24:49 -0000 Mailing-List: contact dev-help@pivot.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pivot.apache.org Delivered-To: mailing list dev@pivot.apache.org Received: (qmail 77148 invoked by uid 99); 18 Apr 2011 12:24:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Apr 2011 12:24:49 +0000 X-ASF-Spam-Status: No, hits=-1998.7 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD,URI_HEX 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; Mon, 18 Apr 2011 12:24:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id BC064A64C8 for ; Mon, 18 Apr 2011 12:24:05 +0000 (UTC) Date: Mon, 18 Apr 2011 12:24:05 +0000 (UTC) From: "Sandro Martini (JIRA)" To: dev@pivot.apache.org Message-ID: <948403017.64175.1303129445766.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <775016933.7772.1297339017509.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (PIVOT-704) JSONSerializer can't deserialize to BigDecimal MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/PIVOT-704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sandro Martini updated PIVOT-704: --------------------------------- Attachment: (was: patch.patch) > JSONSerializer can't deserialize to BigDecimal > ---------------------------------------------- > > Key: PIVOT-704 > URL: https://issues.apache.org/jira/browse/PIVOT-704 > Project: Pivot > Issue Type: Bug > Components: core-beans, core-json, core-serialization > Affects Versions: 2.0 > Reporter: Augustus Thoo > Assignee: Sandro Martini > Priority: Minor > Fix For: 2.0.1 > > Attachments: BeanAdapterTest.java, TestObject.java > > > JSONSerializer would throw an IllegalArgumentException "Unable to coerce double to BigDecimal" when the object class contains at least one BigDecimal field. > Exception is traced to BeanAdapter.java , line 916, where coerce(Object, Class) has no else-if for BigDecimal class. > Re: http://apache-pivot-users.399431.n3.nabble.com/JSONSerializer-can-t-deserialize-to-BigDecimal-td2464302.html -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira