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

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

Johann Vanackere created CAMEL-5733:
---------------------------------------

             Summary: 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
    Affects Versions: 2.10.2
            Reporter: Johann Vanackere


A NullPointerException occurs in SpringBatchProducer line 60 when a header with a null value exists.



--
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

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

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang reassigned CAMEL-5733:
-----------------------------------

    Assignee: Willem Jiang
    
> NullPointerException with SpringBatchProducer and null header value
> -------------------------------------------------------------------
>
>                 Key: CAMEL-5733
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5733
>             Project: Camel
>          Issue Type: Bug
>    Affects Versions: 2.10.2
>            Reporter: Johann Vanackere
>            Assignee: Willem Jiang
>
> 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

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

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang updated CAMEL-5733:
--------------------------------

    Component/s: camel-spring-batch
    
> 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
>
> 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

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

Posted by "Johann Vanackere (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Johann Vanackere updated CAMEL-5733:
------------------------------------

    Component/s:     (was: camel-spring)
    Description: 
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.

  was:
A NullPointerException occurs in SpringBatchProducer line 60 when a header with a null value exists.




By the way : camel-spring-batch component does not exists in JIRA, you should add it.
                
> NullPointerException with SpringBatchProducer and null header value
> -------------------------------------------------------------------
>
>                 Key: CAMEL-5733
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5733
>             Project: Camel
>          Issue Type: Bug
>    Affects Versions: 2.10.2
>            Reporter: Johann Vanackere
>
> 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

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

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
     [ 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