You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2012/10/23 09:43:12 UTC

[jira] [Resolved] (CAMEL-5733) NullPointerException with SpringBatchProducer and null header value

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

Willem Jiang resolved CAMEL-5733.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 2.11.0
                   2.10.3

Applied patch with an unit test into trunk and 2.10.x branches with thanks to Johann.
                
> NullPointerException with SpringBatchProducer and null header value
> -------------------------------------------------------------------
>
>                 Key: CAMEL-5733
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5733
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-spring-batch
>    Affects Versions: 2.10.2
>            Reporter: Johann Vanackere
>            Assignee: Willem Jiang
>             Fix For: 2.10.3, 2.11.0
>
>
> A NullPointerException occurs in SpringBatchProducer line 60 when a header with a null value exists.
> Null headers should just be ignored or perhaps be added in jobParameters with a null value. I don't known what is the best strategy.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira