You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2011/04/22 05:55:06 UTC

[jira] [Resolved] (CAMEL-3891) Avoiding to process the bean which value is null in CamelBeanPostProcessor

     [ https://issues.apache.org/jira/browse/CAMEL-3891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang resolved CAMEL-3891.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 2.8.0

Applied patch into trunk.

> Avoiding to process the bean which value is null in CamelBeanPostProcessor
> --------------------------------------------------------------------------
>
>                 Key: CAMEL-3891
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3891
>             Project: Camel
>          Issue Type: Improvement
>    Affects Versions: 2.8.0
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>            Priority: Minor
>             Fix For: 2.8.0
>
>
> When user use the FactoryBean to return a null object within Spring 2.x, the CamelBeanPostProcessor will throw a NPE exception.
> Although this issue can't be reproduced within Spring 3.x, we should consider to put the NP check in the CamelBeanPostProcessor as an enhancement.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira