Actions
Bug #3961
closedcheckException() method sometimes returns NULL
Start date:
2018-10-10
Due date:
% Done:
100%
Estimated time:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Found in version:
1.1.0
Fixed in version:
1.1.2
SaxonC Languages:
SaxonC Platforms:
SaxonC Architecture:
Description
Reported by user:
The checkException() method sometimes returns NULL for the different processors such as XsltProcessor, SchemaValidator, XQueryProcessor and XPathProcessor.
Investigating the code for the checkException()
method it calls the method checkForException()
in the file SaxonCGlue.c. Internally it is looking for the net.sf.saxon.s9api.SaxonApiException exception. Therefore it ignores other exceptions unless the DEBUG option is on (We should review if this is the right thing to do).
The design is to catch all kinds of exceptions on Java and wrap them as SaxonApiException. But it looks like there are a few places where we are not doing that.
Related issues
Please register to edit this issue
Actions