This is interesting, at least it gives some warning. It seems that DescendantSelfAxisQuery throws this exception when node is not found.There is on jira issue noted due to this error. I am not sure whether this is the case for you. Please check the following linkhttps://issues.apache.org/jira/brows...