You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Achim Nierbeck (Created) (JIRA)" <ji...@apache.org> on 2012/02/14 16:09:59 UTC

[jira] [Created] (CAMEL-5005) simple without embedded text results in an NPE

simple without embedded text results in an NPE
----------------------------------------------

                 Key: CAMEL-5005
                 URL: https://issues.apache.org/jira/browse/CAMEL-5005
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.9.0
            Reporter: Achim Nierbeck


After switching to 2.9 

the following results in a NPE

{code}
<camel:setBody>
	<camel:simple></camel:simple>
</camel:setBody>
{code}

I'm not sure if it is now required to have something in the content of the simple element. 
I used it for setting the body element to an empty string before (worked with 2.8.1)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (CAMEL-5005) simple without embedded text results in an NPE

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

Claus Ibsen reassigned CAMEL-5005:
----------------------------------

    Assignee: Claus Ibsen
    
> simple without embedded text results in an NPE
> ----------------------------------------------
>
>                 Key: CAMEL-5005
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5005
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.9.0
>            Reporter: Achim Nierbeck
>            Assignee: Claus Ibsen
>             Fix For: 2.9.1, 2.10.0
>
>
> After switching to 2.9 
> the following results in a NPE
> {code}
> <camel:setBody>
> 	<camel:simple></camel:simple>
> </camel:setBody>
> {code}
> I'm not sure if it is now required to have something in the content of the simple element. 
> I used it for setting the body element to an empty string before (worked with 2.8.1)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CAMEL-5005) simple without embedded text results in an NPE

Posted by "Claus Ibsen (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-5005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13208486#comment-13208486 ] 

Claus Ibsen commented on CAMEL-5005:
------------------------------------

Using <camel:constant/> ought to set an empty string as well.
                
> simple without embedded text results in an NPE
> ----------------------------------------------
>
>                 Key: CAMEL-5005
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5005
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.9.0
>            Reporter: Achim Nierbeck
>             Fix For: 2.9.1, 2.10.0
>
>
> After switching to 2.9 
> the following results in a NPE
> {code}
> <camel:setBody>
> 	<camel:simple></camel:simple>
> </camel:setBody>
> {code}
> I'm not sure if it is now required to have something in the content of the simple element. 
> I used it for setting the body element to an empty string before (worked with 2.8.1)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CAMEL-5005) simple without embedded text results in an NPE

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

Claus Ibsen resolved CAMEL-5005.
--------------------------------

    Resolution: Fixed
    
> simple without embedded text results in an NPE
> ----------------------------------------------
>
>                 Key: CAMEL-5005
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5005
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.9.0
>            Reporter: Achim Nierbeck
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.9.1, 2.10.0
>
>
> After switching to 2.9 
> the following results in a NPE
> {code}
> <camel:setBody>
> 	<camel:simple></camel:simple>
> </camel:setBody>
> {code}
> I'm not sure if it is now required to have something in the content of the simple element. 
> I used it for setting the body element to an empty string before (worked with 2.8.1)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CAMEL-5005) simple without embedded text results in an NPE

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

Claus Ibsen updated CAMEL-5005:
-------------------------------

         Priority: Minor  (was: Major)
    Fix Version/s: 2.10.0
                   2.9.1
    
> simple without embedded text results in an NPE
> ----------------------------------------------
>
>                 Key: CAMEL-5005
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5005
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.9.0
>            Reporter: Achim Nierbeck
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.9.1, 2.10.0
>
>
> After switching to 2.9 
> the following results in a NPE
> {code}
> <camel:setBody>
> 	<camel:simple></camel:simple>
> </camel:setBody>
> {code}
> I'm not sure if it is now required to have something in the content of the simple element. 
> I used it for setting the body element to an empty string before (worked with 2.8.1)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira