You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Dragisa Krsmanovic (JIRA)" <ji...@apache.org> on 2010/03/03 22:27:44 UTC

[jira] Updated: (CAMEL-2520) NullPointerException using xpath with MockEndpoint

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

Dragisa Krsmanovic updated CAMEL-2520:
--------------------------------------

    Attachment: MockXpathTest.patch

Unit test that demonstrates the problem.

> NullPointerException using xpath with MockEndpoint
> --------------------------------------------------
>
>                 Key: CAMEL-2520
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2520
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.3.0
>            Reporter: Dragisa Krsmanovic
>         Attachments: MockXpathTest.patch
>
>
> Getting NPE when trying to do assertion like this result.allMessages().xpath("/foo", String.class).isEqualTo("bar"); 

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