Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.18.0, 2.18.1
-
None
-
Unknown
Description
The camel xquery support no longer works correctly as of 2.18.x
I identified two main issues so far:
- A java.lang.NullPointerException is thrown when exchange contains any null headers or properties:
java.lang.NullPointerException: External object cannot wrap a Java null at net.sf.saxon.value.ObjectValue.<init>(ObjectValue.java:55) at org.apache.camel.component.xquery.XQueryBuilder.addParameters(XQueryBuilder.java:640)
- An error in execution whenever a header or a property are referenced in the xquery as an external variable:
java.lang.AssertionError: Unknown event at net.sf.saxon.evpull.ComplexContentProcessor.advance(ComplexContentProcessor.java:198)
Attached is a maven project with junit test illustrating the issues.
Attachments
Attachments
Issue Links
- is related to
-
CAMEL-8830 Upgrade to Saxon HE 9.7
- Resolved