From commons-dev-return-101247-apmail-jakarta-commons-dev-archive=jakarta.apache.org@jakarta.apache.org Fri May 04 09:29:48 2007 Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 86215 invoked from network); 4 May 2007 09:29:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 May 2007 09:29:44 -0000 Received: (qmail 64912 invoked by uid 500); 4 May 2007 09:29:43 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 64880 invoked by uid 500); 4 May 2007 09:29:43 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 64857 invoked by uid 99); 4 May 2007 09:29:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 May 2007 02:29:43 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 May 2007 02:29:36 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9DF55714058 for ; Fri, 4 May 2007 02:29:15 -0700 (PDT) Message-ID: <11478339.1178270955644.JavaMail.jira@brutus> Date: Fri, 4 May 2007 02:29:15 -0700 (PDT) From: "Sergey Vladimirov (JIRA)" To: commons-dev@jakarta.apache.org Subject: [jira] Closed: (JXPATH-82) ConversionException: Zero length BigInteger In-Reply-To: <15071067.1178268375514.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JXPATH-82?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Vladimirov closed JXPATH-82. ----------------------------------- Resolution: Invalid Closed as invalid. > ConversionException: Zero length BigInteger > ------------------------------------------- > > Key: JXPATH-82 > URL: https://issues.apache.org/jira/browse/JXPATH-82 > Project: Commons JXPath > Issue Type: Bug > Affects Versions: 1.2 Final > Reporter: Sergey Vladimirov > Priority: Minor > > When JXPath is lenient and asked to return typized value by > ...getValue(..., BigInteger.class) > it should return NULL value, instead of throwing > Caused by: org.apache.commons.beanutils.ConversionException: Zero length BigInteger > at org.apache.commons.beanutils.converters.BigIntegerConverter.convert(BigIntegerConverter.java:117) > at org.apache.commons.jxpath.util.BasicTypeConverter.convert(BasicTypeConverter.java:299) > at org.apache.commons.jxpath.util.TypeUtils.convert(TypeUtils.java:54) > at org.apache.commons.jxpath.ri.JXPathContextReferenceImpl.getValue(JXPathContextReferenceImpl.java:373) > at org.apache.commons.jxpath.ri.JXPathContextReferenceImpl.getValue(JXPathContextReferenceImpl.java:358) > ... 12 more > Caused by: java.lang.NumberFormatException: Zero length BigInteger > at java.math.BigInteger.(BigInteger.java:275) > at java.math.BigInteger.(BigInteger.java:447) > at org.apache.commons.beanutils.converters.BigIntegerConverter.convert(BigIntegerConverter.java:112) > ... 16 more -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org