[ 
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.<init>(BigInteger.java:275)
>       at java.math.BigInteger.<init>(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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to