camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikolay Voskresenskiy (JIRA)" <>
Subject [jira] [Created] (CAMEL-10653) XQuery support broken in Camel 2.18.x
Date Fri, 23 Dec 2016 17:37:58 GMT
Nikolay Voskresenskiy created CAMEL-10653:

             Summary: XQuery support broken in Camel 2.18.x
                 Key: CAMEL-10653
             Project: Camel
          Issue Type: Bug
          Components: camel-saxon
    Affects Versions: 2.18.1, 2.18.0
            Reporter: Nikolay Voskresenskiy

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>(
	at org.apache.camel.component.xquery.XQueryBuilder.addParameters(
# 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(

Attached is a maven project with junit test illustrating the issues.

This message was sent by Atlassian JIRA

View raw message