There is an erroneous behavior in 'initCause' method of XPathException class: If XPathException is created with 'XPathException(String )' constructor and then the cause is initialized with 'initCause' method. And after this a cause is retrieved by 'getCause()' method: this call returns incorrect cause = 'null', but It should return the same cause as was used in 'initCause'.
|