This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push: new 5ed1272 Update xquery-component.adoc 5ed1272 is described below commit 5ed12728ebcbddc7de1ffdfb1a1dda8ede029c1b Author: Cato Aune <cato.a...@aunenett.st.no> AuthorDate: Tue Jan 30 23:00:42 2018 +0100 Update xquery-component.adoc It took me quite a while to figure out that custom functions in Camel 2.18, 2.19 and 2.20 could result in a NullPointerException, so I think it could save others some time and frustration if there is a note like the one i propose in the documentation. I can not for sure promise that this will work in 2.21, but based on the discussions in PR CAMEL-12081, it looks like it will be fixed there. --- components/camel-saxon/src/main/docs/xquery-component.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/camel-saxon/src/main/docs/xquery-component.adoc b/components/camel-saxon/src/main/docs/xquery-component.adoc index e5e37a7..d89b441 100644 --- a/components/camel-saxon/src/main/docs/xquery-component.adoc +++ b/components/camel-saxon/src/main/docs/xquery-component.adoc @@ -218,6 +218,8 @@ The following example shows how to take a message of an ActiveMQ queue </camelContext> ------------------------------------------------------------------------- +Currently custom functions in XQuery might result in a NullPointerException (Camel 2.18, 2.19 and 2.20). This is expected to be fixed in Camel 2.21 + ### Examples Here is a simple -- To stop receiving notification emails like this one, please contact acosent...@apache.org.