You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Art Gramlich (JIRA)" <ji...@apache.org> on 2008/04/04 21:50:32 UTC

[jira] Created: (CAMEL-439) JXPath does not handle null results from an evaluation

JXPath does not handle null results from an evaluation
------------------------------------------------------

                 Key: CAMEL-439
                 URL: https://issues.apache.org/activemq/browse/CAMEL-439
             Project: Apache Camel
          Issue Type: Bug
    Affects Versions: 1.3.0
            Reporter: Art Gramlich
            Priority: Minor


The assertResultType method In org.apache.camel.language.jxpath.JXPathExpression throws a null pointer exception if the result parameter is null.  A null test in that method or in the evaluate method in that class is needed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (CAMEL-439) JXPath does not handle null results from an evaluation

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

Willem Jiang closed CAMEL-439.
------------------------------


> JXPath does not handle null results from an evaluation
> ------------------------------------------------------
>
>                 Key: CAMEL-439
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-439
>             Project: Apache Camel
>          Issue Type: Bug
>    Affects Versions: 1.3.0
>            Reporter: Art Gramlich
>            Assignee: Willem Jiang
>            Priority: Minor
>             Fix For: 1.4.0
>
>         Attachments: CAMEL-439.diff
>
>
> The assertResultType method In org.apache.camel.language.jxpath.JXPathExpression throws a null pointer exception if the result parameter is null.  A null test in that method or in the evaluate method in that class is needed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CAMEL-439) JXPath does not handle null results from an evaluation

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

Willem Jiang resolved CAMEL-439.
--------------------------------

    Fix Version/s: 1.4.0
       Resolution: Fixed

patch applied with thanks to Art.

> JXPath does not handle null results from an evaluation
> ------------------------------------------------------
>
>                 Key: CAMEL-439
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-439
>             Project: Apache Camel
>          Issue Type: Bug
>    Affects Versions: 1.3.0
>            Reporter: Art Gramlich
>            Assignee: Willem Jiang
>            Priority: Minor
>             Fix For: 1.4.0
>
>         Attachments: CAMEL-439.diff
>
>
> The assertResultType method In org.apache.camel.language.jxpath.JXPathExpression throws a null pointer exception if the result parameter is null.  A null test in that method or in the evaluate method in that class is needed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (CAMEL-439) JXPath does not handle null results from an evaluation

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

Willem Jiang reassigned CAMEL-439:
----------------------------------

    Assignee: Willem Jiang

> JXPath does not handle null results from an evaluation
> ------------------------------------------------------
>
>                 Key: CAMEL-439
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-439
>             Project: Apache Camel
>          Issue Type: Bug
>    Affects Versions: 1.3.0
>            Reporter: Art Gramlich
>            Assignee: Willem Jiang
>            Priority: Minor
>         Attachments: CAMEL-439.diff
>
>
> The assertResultType method In org.apache.camel.language.jxpath.JXPathExpression throws a null pointer exception if the result parameter is null.  A null test in that method or in the evaluate method in that class is needed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CAMEL-439) JXPath does not handle null results from an evaluation

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

Gert Vanthienen updated CAMEL-439:
----------------------------------

    Patch Info: [Patch Available]

> JXPath does not handle null results from an evaluation
> ------------------------------------------------------
>
>                 Key: CAMEL-439
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-439
>             Project: Apache Camel
>          Issue Type: Bug
>    Affects Versions: 1.3.0
>            Reporter: Art Gramlich
>            Priority: Minor
>         Attachments: CAMEL-439.diff
>
>
> The assertResultType method In org.apache.camel.language.jxpath.JXPathExpression throws a null pointer exception if the result parameter is null.  A null test in that method or in the evaluate method in that class is needed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CAMEL-439) JXPath does not handle null results from an evaluation

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

Gert Vanthienen updated CAMEL-439:
----------------------------------

    Attachment: CAMEL-439.diff

Added a unit test and the check to assertResultType.

> JXPath does not handle null results from an evaluation
> ------------------------------------------------------
>
>                 Key: CAMEL-439
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-439
>             Project: Apache Camel
>          Issue Type: Bug
>    Affects Versions: 1.3.0
>            Reporter: Art Gramlich
>            Priority: Minor
>         Attachments: CAMEL-439.diff
>
>
> The assertResultType method In org.apache.camel.language.jxpath.JXPathExpression throws a null pointer exception if the result parameter is null.  A null test in that method or in the evaluate method in that class is needed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.