commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Heger (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BEANUTILS-458) BaseLocaleConverter.checkConversionResult() fails with ConversionException when result is null when it should not
Date Mon, 03 Mar 2014 16:03:20 GMT

    [ https://issues.apache.org/jira/browse/BEANUTILS-458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13918190#comment-13918190
] 

Oliver Heger commented on BEANUTILS-458:
----------------------------------------

Could you provide a unit test which shows the problem in a real-life scenario? IIUC, the exception
is thrown if a converter returns null for a non-null input, right?

> BaseLocaleConverter.checkConversionResult() fails with ConversionException when result
is null when it should not
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: BEANUTILS-458
>                 URL: https://issues.apache.org/jira/browse/BEANUTILS-458
>             Project: Commons BeanUtils
>          Issue Type: Bug
>          Components: ConvertUtils & Converters
>    Affects Versions: 1.9.0, 1.9.1
>            Reporter: Manuel Dominguez Sarmiento
>            Priority: Critical
>             Fix For: 1.9.2
>
>
> Null is a valid result for many, if not all converters. However, since BEANUTILS-445,
this will always fail with ConversionException
> https://issues.apache.org/jira/browse/BEANUTILS-445



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message